INPUT TEXT
Input text material with gradient.
Links
Made with
- HTML / CSS (SCSS)
INPUT GROUP
Input group :focus-within
.
Links
Made with
- HTML / CSS (SCSS) / JS
MATERIAL INPUT TEXT FIELDS
Links
Made with
- HTML / CSS
JUMPING INPUT TEXT
Links
Made with
- HTML / CSS
FORM LABEL SHOW AFTER INPUT TEXT
Form label show after input text only CSS.
Links
Made with
- HTML / CSS
NOTIFY ME
Form validation using HTML required
and pattern
attributes together with CSS :required
and :valid
selectors.
Links
Made with
- HTML / CSS (SCSS)
ELASTIC VALIDATION
Links
Made with
- HTML / CSS (Stylus)
INPUT:NOT(:PLACEHOLDER-SHOWN)
It looks kinda similar to the text inputs of the framework Materialize.
Links
Made with
- HTML / CSS (Stylus)
FORM INPUT DESIGN
Form input designs with hover and focus.
Links
Made with
- HTML
- CSS (bootstrap.css)
INPUT FIELD GRADIENT BORDER FOCUS FUN
A gradient border on an input field that feathers out when focussed.
Links
Made with
- HTML
- CSS/SCSS
CSS ONLY FLOATED LABELS
A CSS only approach to the floated labels UI pattern.
Links
Made with
- HTML
- CSS/SCSS
CSS FIELDS
Fields with CSS custom properties.
Links
Made with
- HTML
- CSS
INPUT FIELD WITH UNDERLINE UNDER EACH CHARACTER
Try deleting and writing something else in the input field. It uses the
ch
unit whose width is the width of the0
character. It also assumes the font in theinput
field is a monospace one so that all characters have the same width. So the width for every character is always1ch
. The gap between the characters is taken to be.5ch
. This is the value we set forletter-spacing
. Thewidth
of theinput
is the number of characters times the sum between the letter width (1ch
) and the gap width (.5ch
). So that’s7*(1ch + .5ch) = 7*1.5ch = 10.5ch
. We remove the actualborder
of theinput
and we set a fake one using arepeating-linear-gradient
. The dash (dimgrey) goes from0
to1ch
and the gap (transparent
) starts immediately after the dash and goes to1.5ch
. It’s attached to the left and the bottom of the input – this is thebackground-position
component (0%
horizontally and100%
vertically). It spreads across the entire input horizontally (100%
in the ideal case, the input width minus the gap to take care of rendering issue in Chrome and Firefox) and is2px
tall – this is thebackground-size
component of thebackground
.
Links
Made with
- HTML / CSS (SCSS)
EMAIL INPUT FIELD
Just a nice little input field.
Links
Made with
- HTML / CSS (SCSS)
INPUT TEXT/PASSWORD ANIMATION
Only CSS input text/password animation.
Links
Made with
- HTML / CSS (SCSS)
MINIMAL MATERIAL DESIGN FORM INPUT
Super easy and fully scalable Material Design form input. Change one variable to change the size of everything.
Links
Made with
- HTML (Pug) / CSS (SCSS)
CSS-ONLY MATERIAL INPUTS
Inspired by Google’s Material Design guidelines for text fields.
Links
Made with
- HTML (Pug) / CSS (SCSS)
WEBFLOW-STYLE EMAIL INPUT
Based on the input on https://webflow.com/cms. Changed to make use of pseudo elements and flexbox layout.
Links
Made with
- HTML / CSS (SCSS)
NICE, COMPLIANT INPUT BOXES
Nice input box with a lot of styling based on sibling selectors and psuedo classes. CSS only, and WCAG 2.0 AA compliant!
Links
Made with
- HTML / CSS
MATERIAL DESIGN INPUT TEXT
Links
Made with
- HTML / CSS (SCSS)
GOOGLE MATERIAL DESIGN INPUT BOXES
A CSS experiment to recreate the Google Material Design Polymer input boxes in CSS.
Links
Made with
- HTML / CSS
FANCY TEXT INPUTS
Links
Made with
- HTML / CSS (Sass)
ADAPTIVE PLACEHOLDER
Once activated, the input placeholders become input labels.
Links
Made with
- HTML (Haml) / CSS (Less)
TEXT INPUT
I wanted to play with some
input
styles that don’t rely on hover, don’t add clutter, show thelabel
at all times, and showplaceholder
text when it is actually relevant.
Links
Made with
- HTML / CSS (SCSS)