Created
October 29, 2018 12:28
-
-
Save mrzarkovic/a7dcfa98e1fc1f74c1b9e21dd9341ff3 to your computer and use it in GitHub Desktop.
CSS nesting
This file contains 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
.parent { | |
background: yellow; | |
} | |
.parent .childOne { | |
color: red; | |
} | |
/* This is child two */ | |
.parent .childTwo { | |
color: blue; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment