Juha-Matti Santala
Community Builder. Dreamer. Adventurer.

Blog posts in category “CSS”

Style is all. I occasionally write about CSS topics.

  • Apr 8th, 2024
    I can :has() cheeseburger

    CSS got a new :has() pseudo-class recently and it’s one of my favourite additions to the language in a long time. For this post, I collected a bunch of great resources by brilliant developers out in the web.

  • Mar 4th, 2024
    Display full URL after a link when a page is printed

    I recently worked on the print specific CSS on my blog posts and learned how to add full URLs after each link.

  • Feb 7th, 2024
    Highlight Mastodon posts by hashtag with Stylus and :has

    You can follow hashtags in Mastodon but all UIs don’t make it clear which are hashtag posts and which are from people you follow. I solved it with CSS and :has() pseudo-class.

  • Dec 4th, 2021
    Customizing liiga.fi experience

    When I visit a sports website, I want to see scores, standings and how the league/tournament is run. Usually you see ads, news, content pieces and all the good info is hidden somewhere. With custom CSS, that's not a concern anymore.

  • Jan 20th, 2021
    Project: card-print-css

    The smallest CSS library I've ever written: card-print-css resizes images for printing, cutting and sleeving so you can play test and prototype faster.