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
/** | |
* CSS Secret | |
*/ | |
.est{ | |
background: yellow; | |
width: 100px; | |
height: 100px; | |
} |
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{ | |
width: 20em; | |
height: 10em; | |
margin: 2em auto; | |
padding: 1em; | |
border: 1em solid transparent; | |
background: linear-gradient(white, white) padding-box, | |
repeating-linear-gradient(-45deg, red 0, red 12.5%, transparent 0, transparent 25%, #58a 0, #58a 37.5%, transparent 0, transparent 50%) 0 / 3em 3em; | |
} |
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
.btn{ | |
position: relative; | |
width: 150px; | |
height: 30px; | |
text-align: center; | |
line-height: 30px; | |
} |
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
.btn{ | |
position: relative; | |
width: 100px; | |
text-align: center; | |
line-height: 30px; | |
color: #fff; | |
margin: 150px auto; | |
background: #58a; | |
} | |
.btn:before, |
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
.btn{ | |
position: relative; | |
width: 100px; | |
text-align: center; | |
line-height: 30px; | |
color: #fff; | |
margin: 150px auto; | |
background: #58a; | |
} | |
.btn:before, |
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
.btn{ | |
position: relative; | |
width: 100px; | |
height:30px; | |
text-align: center; | |
line-height: 30px; | |
color: #fff; | |
margin: 150px auto; | |
background: #58a; | |
} |
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
.container{ | |
overflow: hidden; | |
/*overflow:scroll;*/ | |
float: left; | |
/*float: right;*/ | |
position: absolute; | |
display: inline-block; | |
/*display: table-cell;*/ | |
/*display: table-caption;*/ | |
} |
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
.container { | |
width: 160px; | |
height: 90px; | |
margin: 100px auto; | |
background: linear-gradient(-45deg, transparent 15px, lightblue 0) | |
} |
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
.container { | |
width: 160px; | |
height: 90px; | |
margin: 100px auto; | |
background: #58a; | |
background: linear-gradient(135deg, transparent 15px, #58a 0) top left, | |
linear-gradient(-135deg, transparent 15px, #58a 0) top right, | |
linear-gradient(-45deg, transparent 15px, #58a 0) bottom right, | |
linear-gradient(45deg, transparent 15px, #58a 0) bottom left; | |
background-size: 50% 50%; |
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
.container { | |
width: 160px; | |
height: 90px; | |
margin: 100px auto; | |
background: #58a; | |
background: linear-gradient(135deg, transparent 15px, #58a 0) top left, | |
linear-gradient(-135deg, transparent 15px, #58a 0) top right, | |
linear-gradient(-45deg, transparent 15px, #58a 0) bottom right, | |
linear-gradient(45deg, transparent 15px, #58a 0) bottom left; | |
background-size: 50% 50%; |
OlderNewer