Answers for "css if class"

CSS
0

css if child has class

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

css check if class as color white

if( $(this).css("background-color").match(/^(?:white|#fff(?:fff)?|rgba?(s*255s*,s*255s*,s*255s*(?:,s*1s*)?))$/i))
    this.style.backgroundColor = "#000";
Posted by: Guest on November-07-2021

Browse Popular Code Answers by Language