Log in
Log into community
Join the Webstudio community
View all posts
Related posts
Was this helpful?
π
π
π
Powered by
Hall
Active
Updated 4 weeks ago
0
Follow
Variables and sticky
Variables and sticky
Active
0
Follow
J
John Siciliano
3 months ago
Β·
Ah man variables are so nice. Now I can set a nav height var so when I make things sticky, they use this one var to ensure it doesnt overlap with my fixed nav. And I can change this by breakpoint π₯
Attachment
B
J
6 comments
Share
Open in Discord
B
Bogdan
3 months ago
What if there was "is-sticky" breakpoint?
J
John Siciliano
3 months ago
wdym?
B
Bogdan
3 months ago
Would it be more useful? Like set variable whether an element is sticky within scroll or not
B
Bogdan
3 months ago
https://lilles.github.io/explainers/state_container_queries.html
J
John Siciliano
3 months ago
I dont think for this particular use case, though having an is-sticky is something I've wanted in the past. Can't recall what it was though
B
Bogdan
3 months ago
Soon π
Add a reply
Sign up and join the conversation on Discord
Join on Discord