Answers for "css if element has two classes"

CSS
1

css two classes in one element

.social.first {}
Posted by: Guest on December-11-2021
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

Code answers related to "css if element has two classes"

Browse Popular Code Answers by Language