Login form
- Source
- Uiverse ↗
- Author
- MikeAndrewDesigner
- Licence
- MIT
Loading…
Code
<div class="login wrap">
<div class="h1">Login</div>
<input pattern="^([a-zA-Z0-9_\-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([a-zA-Z0-9\-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$" placeholder="Email" id="email" name="email" type="text">
<input placeholder="Password" id="password" name="password" type="password">
<input value="Login" class="btn" type="submit">
</div>Prompt
Build "Login form", a input animation. Write it as plain HTML and CSS: one container element and a stylesheet, no JavaScript unless it is essential. Technique: CSS keyframes. It sits on a light background, in a 16:10 frame. Respect prefers-reduced-motion with a still state, pause work when the element is off screen, and keep it accessible. Original: https://uiverse.io/MikeAndrewDesigner/pink-duck-8 (MikeAndrewDesigner, MIT).