This file contains hidden or 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
/** | |
* :hover overlay effect with using :after instead of additional element | |
**/ | |
body > div { | |
width: 100px; | |
height: 100px; | |
background: #eee; | |
margin: 100px; | |
} |
This file contains hidden or 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
/** | |
* Button with background for left and right side. | |
*/ | |
div { | |
height: 32px; | |
line-height: 32px; | |
background: #c00; | |
float:left; | |
padding: 0 10px; |
This file contains hidden or 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
/** | |
* Layout with the two lines at both sides without using additional elements (only :after and :before) | |
*/ | |
div { | |
background: #fff; | |
width:100%; | |
height:30px; | |
text-align: center; | |
position: relative; |
This file contains hidden or 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
/** | |
* Animated dots for pagination | |
*/ | |
ol { | |
list-style-type:none; | |
padding:0; | |
} | |
ol li { |
This file contains hidden or 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
/** | |
* Animated dots for pagination - with links | |
*/ | |
/* this implementation uses links instead of the :before pseudoelement */ | |
ol { | |
list-style-type:none; | |
padding:0; | |
} |
This file contains hidden or 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
/** | |
* Method to place visual separator between table cell's without using additional HTML elements | |
*/ | |
body > div { | |
display:table; | |
width: 600px; | |
} | |
body > div > div { |
This file contains hidden or 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
/** | |
* Rotating elements :) | |
*/ | |
body > div { | |
background: #eee; | |
} | |
div > div { | |
width: 100px; |
This file contains hidden or 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
/** | |
* Rotating elements - list :) | |
*/ | |
ul { | |
margin:0; | |
padding:0; | |
} | |
ul li { | |
float:left; |
This file contains hidden or 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
/** | |
* Simple CSS UI Kit | |
*/ | |
body { | |
font-family: Arial, sans-serif; | |
margin: 0; | |
padding: 0; | |
} |
This file contains hidden or 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
/** | |
* Simple CSS UI Kit | |
*/ | |
body { | |
font-family: Arial, sans-serif; | |
margin: 0; | |
padding: 0; | |
} |
OlderNewer