-
What is the use of grouping in CSS3? |
Beta Was this translation helpful? Give feedback.
Answered by
Bunny77K9
Jun 18, 2022
Replies: 1 comment
-
Grouping is used in CSS3 to give users the ability to reuse and apply the same CSS style element to multiple HTML entities, using just one single declaration statement. A simple example of grouping is as shown below: #grouped g, ul { padding-top: 20px; margin: 1; } |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
DuajDiaz
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Grouping is used in CSS3 to give users the ability to reuse and apply the same CSS style element to multiple HTML entities, using just one single declaration statement.
A simple example of grouping is as shown below:
#grouped g, ul { padding-top: 20px; margin: 1; }