odin-css-foundations/03-grouping-selectors/style.css

14 lines
224 B
CSS
Raw Normal View History

body > *:nth-child(1) {
background-color: black;
color: white;
}
body > *:nth-child(2) {
background-color: yellow;
}
body > * {
font-size: 28px;
font-family: Helvetica, "Times New Roman", sans-serif;
}