#CSSQuestions

westbrookwestbrook
2025-01-23

Case in point: codepen.io/Westbrook/pen/mybzo

I'd expect ALL OF THE `<span>`s to be positioned relative to the document. HOWEVER, only the one with `content-visibility: auto;` (even resolve to `visible` like it is) resets the containing block.

🤷‍♂️

westbrookwestbrook
2024-07-09

I should be able to make codepen.io/Westbrook/pen/wvLBw look like codepen.io/Westbrook/pen/QWXwW even though the earlier uses `position: fixed` and the later does not, right? :thinkhappy:

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst