Skip to content

Instantly share code, notes, and snippets.

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!

A Pen by Andrew Tunnecliffe on CodePen.

License.

Fill-'er-Up Loading Animation

This is a 100% CSS animated loading screen that takes up the entire viewport and looks really nifty.

Lots of magic numbers, but I am confident this can be just put wholesale into a project.

A Pen by Daniel "Orangestar" O'Day on CodePen.

License.

CSS transform border button hover effects

Use of transform on before and after pseudo elements to create border effects on hover. no js.

A Pen by Les on CodePen.

License.

@CodeMyUI
CodeMyUI / css
Created July 20, 2015 12:47
Sign In/Up Transition By Fabrizio Bianchi : http://codepen.io/fbrz/pen/pvZRNK
@import url(http://fonts.googleapis.com/css?family=Raleway:700,800);
html, body { margin: 0; }
:focus { outline: none; }
::-webkit-input-placeholder { color: #DEDFDF; }
::-moz-placeholder { color: #DEDFDF; }
:-moz-placeholder { color: #DEDFDF; }
::-ms-input-placeholder { color: #DEDFDF; }
@CodeMyUI
CodeMyUI / index.html
Created July 21, 2015 09:55
Material Design Register Login Form
<div class="materialContainer">
<div class="box">
<div class="title">LOGIN</div>
<div class="input">
<label for="name">Username</label>
<input type="text" name="name" id="name">