Salesqueen Software Solution

Download Free Estimation Now Click Here
Notifications
Clear all

What is the use of grouping in CSS3?

3 Posts
3 Users
0 Reactions
120 Views
Posts: 461
Topic starter
(@dinesha-g)
Reputable Member
Joined: 2 years ago

grouping in CSS3

2 Replies
Posts: 52
(@chitravarsha15)
Trusted Member
Joined: 2 years ago

In CSS, grouping is a strategy for writing code that is clear, short, and simple to understand. Numerous occasions will arise where different CSS selectors will share the same declarations. In these circumstances, you can combine all the selectors into a single declaration and write it once.

Reply
Posts: 173
(@princy)
Estimable Member
Joined: 2 years ago

When styling numerous items together, the CSS grouping selector is used to choose the elements. By doing so, the extra work and code required to declare common styles for each element are reduced. Each selector is separated from the others by a space.

 

Reply
Share: