Can several selectors with class names be grouped together? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can several selectors with class names be grouped together?

Selectors

5th May 2019, 10:44 AM
Edison
Edison - avatar
4 Answers
+ 8
Seems like you know the answer. Why do you need to post the post?
5th May 2019, 11:29 AM
JTLZ
+ 6
oh I see...
5th May 2019, 9:22 PM
JTLZ
+ 2
⚜️JTLZ⚜️[#Never Give Up!] its a Badge named Self-learner. Checkout
5th May 2019, 7:07 PM
Edison
Edison - avatar
0
There are several reasons why the grouping of selectors benefits a page. First off, your stylesheet is smaller and loads more quickly. Admittedly, style sheets are not one of the main culprits when it comes to slow loading sites. CSS files are text files, so even really long CSS sheets are tiny, file-size wise when compared to unoptimized images. Still, every little bit counts, and if you can shave some size off your CSS and load the pages that much faster, that is always a good thing. Source:https://www.lifewire.com
5th May 2019, 10:54 AM
Edison
Edison - avatar