Answers for "check has class in css"

0

css if child has class

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

how to check has class name in js?

element.classList.contains(className);Code language: CSS (css)
Posted by: Guest on February-20-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language