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

15 lines
196 B
CSS

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