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

Popular posts from this blog

php - multilevel menu with multilevel array -

c# - TypeConverter in propertygrid only converts from string, not to -

jQuery UI: Datepicker month format -