View Single Post
Old 08-10-2017, 09:44 PM   #2
crackersguru
Registered User
 
Join Date: Aug 2017
Posts: 93
Grouping in CSS is a technique used to reduce code redundancy and write clean, concise easy to follow code. There are going to be many instances in which multiple CSS selectors will have the same declarations. In these cases, you can group all the selectors together and write the declarations only one time. For example, if you want to apply the exact same font size and color to three different headings you can write it as shown below.

h1{

font-size: 10px;

color: green;

}

h2{

font-size: 10px;

color: green;

}

h3{

font-size: 10px;

color: green;

}
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
crackersguru is offline   Reply With Quote