Created
December 30, 2011 01:16
-
-
Save valhead/1537065 to your computer and use it in GitHub Desktop.
Ease - pixel snapping?
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
/* Ease - pixel snapping? */ | |
body{background:#F7F8F8;} | |
div {background: #C10280; width: 200px; height:30px; padding: 10px;margin: 30px 0;color: white;} | |
div:nth-child(1):hover { width: 208px; } | |
div:nth-child(2):hover {width:220px;} | |
div:nth-child(3):hover {height:40px;} | |
div:nth-child(4):hover {opacity:.2;} | |
div { transition: 0.4s ease; } | |
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
<div>1. Ease - Tiny bit of width</div> | |
<div>2. Ease - Just a bit more width </div> | |
<div>3. Ease - Height</div> | |
<div>4.Ease - Opacity</div> | |
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
{"view":"split-vertical","prefixfree":"1","page":"css"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment