:checked deep dive

Hello everyone.
I am a first year front end student that is getting used to html and css before moving on to js etc. Does anyone have tips about using custom variables to set display, etc and then changing those custom variables inside of a :checked declaration? I have a codepen with a very simple version (no custom variables to alter display) of what I'm thinking. https://codepen.io/kJAHsin/pen/PodoJBj
9 Replies
skinnyK
skinnyK•16mo ago
Can i just make a new CP declaration inside of the input[type="checkbox"]:checked {} ? @Kevin come on my canadian god. Help me out here
Myndi
Myndi•16mo ago
Don't tag Kevin like that 😅
Unknown User
Unknown User•16mo ago
Message Not Public
Sign In & Join Server To View
skinnyK
skinnyK•16mo ago
Custom property
Unknown User
Unknown User•16mo ago
Message Not Public
Sign In & Join Server To View
skinnyK
skinnyK•16mo ago
Wanted to be respectful He is the css god. Who else should i ask? 🤣 I want to re-declare custom properties within a :checked declaration
Unknown User
Unknown User•16mo ago
Message Not Public
Sign In & Join Server To View
Myndi
Myndi•16mo ago
It's rather disrespectful to tag people for answers. You're supposed to wait for somebody to give you their free time. Or else everyone would be tagging Kevin to answer their questions.
skinnyK
skinnyK•16mo ago
Ok. I disagree, but i see your point. #noted