Toot

Written by Christopher Kirk-Nielsen on 2024-12-06 at 16:42

@a It's a layering thing. If you add position: relative on your h1 or its container, it will allow it to be layered and since it's later in the DOM, it will be above the image. Alternatively, add to your masked image position: relative; z-index: -1; for the same result. Basically, using a mask automatically promotes the masked element to a layer, so it is above any unlayered content.

This is a (v.gross) simplification, and I don't want to spec-dive, but that's the gist of it. Hope it helps!

=> More informations about this toot | View the thread | More toots from chriskirknielsen@front-end.social

Mentions

=> View a@pdx.social profile

Tags

Proxy Information
Original URL
gemini://mastogem.picasoft.net/toot/113606876303325287
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
201.556658 milliseconds
Gemini-to-HTML Time
0.602061 milliseconds

This content has been proxied by September (ba2dc).