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
.box { | |
height: 100px; | |
} | |
.box-a { | |
margin-bottom: 20px; | |
background-color: palegreen; | |
} | |
.box-b { | |
margin-top: 20px; | |
background-color: skyblue; |
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
div { | |
background-color: palegreen; | |
display: inline; | |
width: 100px; | |
height: 100px; | |
margin: 20px; | |
padding: 10px; | |
} | |
span { |
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
.sidebar .widget { | |
border: 1px solid skyblue; | |
} | |
/* Child selector | |
.sidebar > .widget { | |
border: 1px solid skyblue; | |
} | |
*/ |
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
body { | |
padding: 100px; | |
font-size: 18px; | |
} | |
.widget { | |
padding: 1em; | |
} | |
.sidebar > .widget { | |
border: 1px solid skyblue; |
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
.box { | |
height: 100px; | |
} | |
.box-a { | |
margin-bottom: 40px; | |
background-color: palegreen; | |
} | |
.box-b { | |
margin-top: 20px; | |
background-color: skyblue; |
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
body { | |
padding: 100px; | |
} | |
p { | |
background: palegreen; | |
} | |
a { | |
display: block; |
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
.widget { | |
border: 1px solid skyblue; | |
} | |
.widget h2 { | |
background-color: skyblue; | |
} | |
.widget p { | |
padding: 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
.widget { | |
border: 1px solid skyblue; | |
margin-bottom: 20px; | |
} | |
.widget h2, | |
.widget h3 { | |
padding: 10px; | |
background-color: skyblue; | |
} | |
.widget p, |
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
.widget { | |
border: 1px solid skyblue; | |
margin-bottom: 20px; | |
} | |
.widget h2, | |
.widget h3 { | |
padding: 10px; | |
background-color: skyblue; | |
} | |
.widget p, |
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
.widget { | |
border: 1px solid skyblue; | |
margin-bottom: 20px; | |
} | |
.widget-title { | |
padding: 10px; | |
background-color: skyblue; | |
} | |
.widget-body { | |
padding: 10px; |