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

15 lines
196 B
CSS
Raw Normal View History

2021-08-29 23:22:54 +00:00
.container .text {
background-color: yellow;
color: red;
font-size: 20px;
text-align: center;
2022-03-24 05:21:58 +00:00
}
2022-03-24 12:34:17 +00:00
/* Below are some other possible descendant combinators:
2022-03-24 05:21:58 +00:00
div p
div .text
.container p
2022-03-24 12:34:17 +00:00
*/