+ 1

Tell me please; how to group elements in css

9th Feb 2022, 11:14 AM
Science and Logic
1 Answer
+ 2
I Googled 'How to group elements in CSS' and found these examples. W3Schools says to separate grouped elements with a comma: https://www.w3schools.com/css/css_selectors.asp#:~:text=The%20CSS%20Grouping%20Selector,with%20the%20same%20style%20definitions.&text=It%20will%20be%20better%20to,each%20selector%20with%20a%20comma. Tutorialspoint says to separate them using a space, I think they meant comma separated values with spaces: https://www.tutorialspoint.com/grouping-selectors-in-css
12th Feb 2022, 8:06 PM
boneSpider
boneSpider - avatar