DEV Community

loading...

Discussion on: CSS Selectors: Let's talk basics

Collapse
waylonwalker profile image
Waylon Walker

I often forget about the * selector. Thanks for sharing.

Love your images!!!


Not sure that this fits in basics (just adding to the discussion), but similar to the grouping selector are this (no idea what its called). Here is an example that selects all paragraphs with a class of circle.

p.circle {
  background-color: magenta;
}
Collapse
misslorsx profile image
Laura Jane Author

Yes it does - I just wanted to share the literal basics of selectors, I’m hoping to go in to more advanced selectors etc soon, but honestly this selectors thing is crippling me every time. 😅

Collapse
waylonwalker profile image
Waylon Walker

They get complicated and hard to wrap your head around after the basics

Thread Thread
misslorsx profile image
Laura Jane Author

Exactly - so with that one il have to take my sweet little time! 😅🙌🏻

Forem Open with the Forem app