odin-default-css-exercises/foundations/05-descendant-combinator/solution/solution.css

16 lines
208 B
CSS

.container .text {
background-color: yellow;
color: #E00000;
font-size: 20px;
text-align: center;
}
/* Below are some other possible descendant combinators:
div p
div > p
div .text
.container p
*/