Posts tagged: tailwindcss

All posts with the tag "tailwindcss"

7 posts latest post 2026-01-08
Publishing rhythm
Jan 2026 | 1 posts

Extract text from MDX files, removing J…

Damn this one is getting some reach, I’ve seen it from Simon Willison and Justin Searls and t3.gg. I feel for Adam, He has built a fantastic product that the world is running with, something we all needed. Something that everyone laughs at turns their nose up “ppft I don’t need that” the first time they see it, but once they try people get it, and a lot of them like it...

...

I’ve been back to putting some images on my blog lately and thinking about making them a bit thinner through the use of aspect ratio for simplicity. I’m leaning pretty heavy on tailwindcss these days due to some weird quirks of markdown-it-attrs I cannot have slashes in classes from markdown so I made a .cinematic class to achieve this.

.cinematic { @apply aspect-[2.39/1]; }

Example

screenshot-2025-01-31T14-50-00-094Z.png

hover z-index and positioning

I broke my sick wikilink hover recently in a refactor, today I did some diving in to figure out what happened.

As you can see in the screenshot below, the link is in a list of links, and when the hover image pops up it sits behind all of the other text. The z-index of the list-item is supposed to be raised above the others on hover.

Manually setting z-index to 20 in the inspector I noticed this message from devtools, “The position: static property prevents z-index from having an effect. Try setting position to something other than...

...