Combining Selectors

Estimated reading: 1 minute 56 views

You can combine elements within one selector in the following fashion.

				
					 h1, h2, h3, h4, h5, h6 {
 color: #009900;
 font-family: Georgia, sans-serif;
 }
				
			

Comment tags

				
					 /* This is a comment */

				
			
Share this Doc

Combining Selectors

Or copy link