Answers for "css only if both classes"

CSS
0

css only if both classes

/*By writing both the classes this way this style will be applied on the
element which will be containing both the classes */
.class1.class2{
/*style property goes here */
color:red;
}
Posted by: Guest on June-30-2021

Browse Popular Code Answers by Language