html - Applying a css style to several patterns -
How can I apply a CSS style block to many different classes? For example, I have
& lt; Div class = "foo" & gt; ... & lt; / Div & gt; & Lt; Div class = "bar" & gt; ... & lt; / Div & gt; ... .foo .bar ??? // This selector should be applied to both classes (font size: 50%; ...}
.foo, .bar {font-size: 50%; ...}
source:
Comments
Post a Comment