CSS: Style applied to a combination of classes?

前端 未结 4 2040
没有蜡笔的小新
没有蜡笔的小新 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:11

    In visual studio 2013 the CSS setting is applied to multiple classes by a "Comma" as follows:

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

提交回复
热议问题