Me
sebdd

thoughts and inspiration on designing, programming, and writing for the web

  • Blog
  • About
  • Speaking
  • Uses
  • Reads
  • Blogroll
  • Now
  • Newsletter
  • Twitter
  • Mastodon
  • Pinboard
  • Literal
  • Telegram
  • RSS
  • #css
  • #html
  • #javascript
  • #laravel
  • #livewire
  • #misc
  • #mysql
  • #programming
  • #tech
  • #writing

Empty states with CSS and the `:only-child` selector

28 Sep 2023

  • #css
  • #tailwind
  • #laravel
  • #blade

Here's a quick trick with the :only-child selector to display an empty state in a list.

Read more

Why we use `!important` with Tailwind

21 Apr 2021

  • #tailwind
  • #css

Tl;dr: We use !important because it solves annoying specificity issues. Despite being overkill in most situations, we haven't come across any practical drawbacks from globally enabling it.

If you want to learn more about how we came to that conclusion and how CSS specificity works, read on!

Read more

Vite with Laravel: Using Tailwind CSS

22 Mar 2021

  • #laravel
  • #vite-with-laravel
  • #frontend
  • #build-tools
  • #tailwind

How to set up Tailwind CSS in Vite with Laravel.

Read more

blogging since 2015!
syntax highlighting with Torchlight