ThreadSky
About ThreadSky
Log In
coopercarrasco.bsky.social
•
73 days ago
what is this
&[shadow]
is that regular css?
Comments
Log in
with your Bluesky account to leave a comment
[–]
coopercarrasco.bsky.social
•
73 days ago
that is so nice though, I just took it for a spin
I already started just using custom DIV names but didnt know about that nested @media query or about this &[] thing
1
reply
[–]
rebane2001.bsky.social
•
73 days ago
yes, it's the nested attribute selector:
will match
cool-thing[foo="bar"] { ... }
and & is just how you use nesting, so
cool-thing { &[foo="bar"] { ... } }
and if you don't care about the value then you don't need to check for it
cool-thing { &[foo] { ... } }
2
1
reply
[–]
coopercarrasco.bsky.social
•
73 days ago
I see , like input[type="checkbox"]
I make chaotic stylesheets and swear im gonna go back and clean them up when I'm done but then I'm never really done and so I never do it
1
reply
Posting Rules
Be respectful to others
No spam or self-promotion
Stay on topic
Follow Bluesky's terms of service
×
Reply
Post Reply
Comments
I already started just using custom DIV names but didnt know about that nested @media query or about this &[] thing
will match
cool-thing[foo="bar"] { ... }
and & is just how you use nesting, so
cool-thing { &[foo="bar"] { ... } }
and if you don't care about the value then you don't need to check for it
cool-thing { &[foo] { ... } }
I make chaotic stylesheets and swear im gonna go back and clean them up when I'm done but then I'm never really done and so I never do it