Jean-Charles Le Tousey

Overflow/scrollbar detection using modern CSS

@jcletousey

#css, #overflow, #scroll

Do you want to detect if an element is having an overflow or if it's scrollable? It's possible with scroll-driven animation! You can also store this information within a variable at :root level and do whatever you want (like styling any elements on the page)

https://css-tip.com/overflow-detection/

  • Likes
  • Reposts
  • Mentions