How To Use Grouping In CSS?

Grouping in CSS

Grouping is mainly used for applying CSS style for multiple HTML elements and this can be done with a single declaration. Example given below is the example of the grouping –

h2, h3 ,.any_class,#any_id
{ 
 color: #FFFFFF; 
}        

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *