Streaming live at 10am (PST)

Targeting ID's for styling or interactions


#1

Weeee neeeeeed deeeeees smile Classes are fun but let's get some pseudo classes and ID's as well smile


"Affect other elements" does not work for targeting ID's, only Class Names
#2

Haha. You can actually add ID's at the bottom of the element's settings.

Or do you mean targeting ID's for styling?


#3

ID's for styling, yes. I imagine that they would exist in the class input field at the top of the inspector, they would just be a different color.

Classes = blue
Pseudo classes = green
ID selectors = yellow?

All existing in the class input field in order.


#4

WHy don't you just add another class that will overwrite current class with another color?


#5

strange. i added a class to a div i thought would only effect that one div, but the class was copied to the other divs with the same first class. so i thought we needed id's. then i tried it again right now and it did not copy over to the other divs with the same first class. prolly a glitch or other non issue. would still like another color for one time tags, such as id's.


#6