0 votes
in CSS by
What is Grouping in CSS3.

1 Answer

0 votes
by

We can group the selector with the same values of property and the development code will be reduced. Now if they are having the same property then we can use commas to avoid rewriting.

Example:

h1 {
color: pink;
}
h2 {
color: pink;
}
p {
color: pink;
}
...