Answers for "if child has a class then do this otherwise do this"

CSS
0

css if child has class

.parent>.child-class {
	/* Styling goes here */
}
Posted by: Guest on March-18-2021

Code answers related to "if child has a class then do this otherwise do this"

Browse Popular Code Answers by Language