Having an understanding of CSS feels like such a superpower. I have two elements...
Gardiner Bryant @gardiner_bryant@mastodon.online
Having an understanding of CSS feels like such a superpower. I have two elements that need to layer on top of each other. An <img> tag and an <h1> tag. I could absolutely position them within a relative container... but that *sucks*. Especially for mobile.
Instead, I set the container to `display: grid` with a 1fr column and row. Then I set the img and h1 tag's grid-column and grid-row to 1.
I set the h1 tag's `backdrop-filter` to `brightnes(.9)` and now the white text is legible...