Created
July 11, 2012 09:49
-
-
Save arturkot/3089356 to your computer and use it in GitHub Desktop.
CSS snippets
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Reset spaces between display inline-block els | |
.el { | |
letter-spacing: -.31em; | |
word-spacing: -.43em; | |
} | |
// Hide text | |
.el { | |
font: 0/0 a; | |
text-shadow: none; | |
color: transparent; | |
} | |
// Styling placeholders | |
.el::-webkit-input-placeholder { | |
} | |
.el:-moz-placeholder { | |
} | |
// Transitions | |
.transition-fast { | |
-webkit-transition: all .2s; | |
-moz-transition: all .2s; | |
-o-transition: all .2s; | |
-ms-trnasition: all .2s; | |
transition: all .2s; | |
} | |
.transition-normal { | |
-webkit-transition: all .5s; | |
-moz-transition: all .5s; | |
-o-transition: all .5s; | |
-ms-trnasition: all .5s; | |
transition: all .5s; | |
} | |
.transition-slow { | |
-webkit-transition: all 1s; | |
-moz-transition: all 1s; | |
-o-transition: all 1s; | |
-ms-trnasition: all 1s; | |
transition: all 1s; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment