0 votes
416 views
in Tailwind by (98.9k points)
edited

What are Grouping and Nesting in CSS?

1 Answer

0 votes
by (98.9k points)
selected by
 
Best answer
Grouping is used for giving the same properties to different selectors without repeating them. It is useful for reducing code by grouping selectors that have the same properties or values. You can separate them with a comma for grouping them.Nesting can be used for nesting elements inside other elements.

Related questions

0 votes
1 answer 424 views
asked Oct 1, 2022 in Tailwind by Doubtly (98.9k points)
0 votes
1 answer 416 views
asked Oct 1, 2022 in Tailwind by Doubtly (98.9k points)
0 votes
1 answer 390 views
asked Oct 1, 2022 in Tailwind by Doubtly (98.9k points)
0 votes
1 answer 475 views
asked Oct 1, 2022 in Tailwind by Doubtly (98.9k points)
0 votes
1 answer 477 views
asked Oct 1, 2022 in Tailwind by Doubtly (98.9k points)
0 votes
1 answer 401 views
asked Oct 1, 2022 in Tailwind by Doubtly (98.9k points)

Doubtly is an online community for engineering students, offering:

  • Free viva questions PDFs
  • Previous year question papers (PYQs)
  • Academic doubt solutions
  • Expert-guided solutions

Get the pro version for free by logging in!

Recent Badges

kyptec.lifestyle Earned a badge
kyptec.lifestyle Earned a badge
kyptec.lifestyle Earned a badge

5.7k questions

5.1k answers

108 comments

649 users

...