So, as the title says, I got stuck on how to use attribute selectors to style elements. I just couldn’t figure it out. Can anyone explain or share a link to learn more about this? I’d really appreciate it. Thank you!
The CSS basics go like this
h1 { <–Styles by tags
.classname { <–the . indicates styles by classes
#idname { <-- the # indicates styles by id
1 Like
It wasn’t my question exactly, I guess I didn’t make myself clear, as usual… Thank you for your reply
Can you clarify then what is causing you to be stuck?
Now that I see it, me being sleepy was causing it because I didn’t check the code properly. I’m not trying to be rude, honestly. Thanks for help.
Wasn’t trying to imply that you were. Get some rest. Helps a lot.