📜  具有两个类的 css 选择 - CSS 代码示例

📅  最后修改于: 2022-03-11 14:47:29.732000             🧑  作者: Mango

代码示例1
/*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;
}