CSS: Style applied to a combination of classes?

前端 未结 4 2026
没有蜡笔的小新
没有蜡笔的小新 2021-01-31 15:43

I\'m not sure this is possible, but is there a syntax to be used in CSS when you want to style an element based on the combination of classes applied to it?

I understand

4条回答
  •  借酒劲吻你
    2021-01-31 16:24

    You don't need anything special, just

    .bold_green.bold_blue { color:pink; font-style:italic; }
    

提交回复
热议问题