Skip to content
  • Home
  • Articles
  • Projects
  • About
  • Resources
  • Screencasts
  • Today I learned
  • Things I use
  • Talks
  • Newsletter
  • Home Home
  • Articles Articles
  • Screencasts Screencasts
  • Projects Projects
  • About About
  • Other Stuff
    • Blogroll People blogging great stuff.
    • Resources Bookmarks I want to keep for later.
    • Show some love Support my blog and newsletter.
    • Talks Talks I've given at conferences.
    • Things I use My hardware and software setup.
    • Today I learned 261 #TIL posts.
  • Newsletter
Stefan on LinkedIn Stefan on Mastodon Stefan on Bluesky RSS

Topic: CSS – Page 3

  1. Safari 18 — what web features are usable across browsers?

    Published Jun 15 2024 in CSS , JavaScript

    The new Safari 18 beta dropped and it's packed with new web features. I collected browser compat information and checked what features are safe to use today.

  2. Reveal an image with smart padding

    Published Apr 20 2024 in CSS

    A CSS trick using padding, object-fit and object-position to show / hide img content.

  3. Auto-margin works with absolute positioned elements

    Published Mar 18 2024 in CSS

    If you're defining absolute width or height for an absolute positioned element, you can use auto margin to lay out these elements.

  4. The death of custom media queries

    Published Mar 10 2024 in CSS

    Style queries for custom properties will eliminate the need for custom media queries.

  5. Fading out text with CSS

    Published Jan 24 2024 in CSS

    A snippet to fade out text with mask-image.

More CSS content

  1. Previous page
  2. Page 3 of 22
  3. Next page

Weekly Frontend News

6468 readers received the last Web Weekly 18 days ago. Join the fun!

Most popular posts

  • Can we have custom media queries, please?
  • Intl can localize units, too!
  • The short version of 'git status' and the close but different '--porcelain' mode
  • em and strong are not announced by screen readers
  • The scope of type guards and assertion functions
Read popular posts

TIL: Today I learned in Web Dev

  • Intl can localize units, too!
  • The scope of type guards and assertion functions
  • New lines are removed from WHATWG URLs
Learn something new

Other stuff

Topics

  • JavaScript (131 posts)
  • CSS (107 posts)
  • Tools (64 posts)
  • HTML (56 posts)
  • Bash (45 posts)
  • NodeJS (42 posts)
  • Accessibility (38 posts)
  • Web (30 posts)
  • git (23 posts)
  • VSCode (21 posts)
  • macOS (20 posts)

Random Web Dev Learnings

  • Header & footer elements change their roles when they're inside of sectioning content
  • How to split JavaScript strings into sentences, words or graphemes with "Intl.Segmenter"
  • Earlier function parameters are available to default parameters
  • You can't override !important user agent CSS declarations
  • Configure the logged JavaScript error stack trace length in certain environments
  • overflow hidden only hides elements going over the padding-box

Popular articles

  • Can we have custom media queries, please?
  • Intl can localize units, too!
  • The short version of 'git status' and the close but different '--porcelain' mode

Recently updated resources

  • Staying up to date
  • Writing good docs, blogs and technical articles
  • Public speaking

stefanjudis.com © 2026 by Stefan Judis is licensed under CC BY-NC-SA 4.0

All rights reserved and content created without AI.

♥️