Answers for "how to select element with 2 classes"

CSS
0

how to select element with 2 classes

.a.b {
     color: #666;
}
Posted by: Guest on June-16-2021
0

javascript select element with two classes

var element = document.querySelector(".class1.class2");
Posted by: Guest on July-01-2020

Code answers related to "how to select element with 2 classes"

Browse Popular Code Answers by Language