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 { | |
height: 50px; | |
width: 50px; | |
border-radius: 50%; | |
position: absolute; | |
top: 200px; | |
left: 400px; | |
background: black; | |
} |
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
.layout { | |
display: grid; | |
grid-template-columns: 100px 1fr 100px 2fr 100px; | |
grid-template-rows: auto 50px 100px auto; | |
grid-template-areas: "a a a a a" | |
"c b b b d" | |
"e b b b d" | |
"f f f g g"; | |
} |
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
p { | |
color: green; | |
} |
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
a { color: red } | |
span { color: blue } | |
p { color: purple } | |
p p { color: green } | |
* { color: yellow } |
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 { | |
font-size: 100px; | |
font-family: ComicSans, | |
Yandex Sans Logotype; | |
color: black; | |
bem: true; | |
.yandex { | |
color: yellow; | |
} |
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
span { | |
color: red !important; | |
} |
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
.cube { | |
position: absolute; | |
top: 50px; | |
left: 50px; | |
width: 20px; | |
height: 20px; | |
background: red; | |
transition: .3s opacity; | |
} |
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
.outer { | |
position: relative; | |
width: 500px; | |
height: 500px; | |
background: red; | |
} | |
.inner { | |
position: absolute; |
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
<span>aaa | |
<div>text</div>bbbb</span> |
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
a { | |
border: 1px solid red; | |
} |
NewerOlder