Skip to content
  • Home
  • Articles
  • Screencasts
  • 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 249 #TIL posts.
  • Newsletter
Stefan on LinkedIn Stefan on Mastodon Stefan on Bluesky RSS

Topic: CSS โ€“ Page 2

  1. 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.

  2. 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.

  3. Fading out text with CSS

    Published Jan 24 2024 in CSS

    A snippet to fade out text with mask-image.

  4. CSS only "scroll-to-top"

    Published Dec 08 2023 in CSS

    Use position: sticky to create a CSS-only scroll-top link.

  5. oklch() retains perceived lightness for different hue angles

    Published Nov 26 2023 in CSS

    The oklch() color function enables using the P3 color space but more importantly allows color manipulations that retain perceived lightness.

More CSS content

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

Most popular posts

  • Can we have custom media queries, please?
  • How to import JSON files in ES modules (Node.js)
  • The difference between @ts-ignore and @ts-expect-error
  • Web content, the social contract and copyrights
  • On being a "JavaScript framework developer"...
Read popular posts

Weekly newsletter

Weekly newsletter all around web development

Get weekly news

TIL: Today I learned in Web Dev

  • Node.js includes a native glob utility
  • Keyframe animations have a special role in the CSS cascade
  • Node.js supports import maps
Learn something new

Blogroll

5 random Sites I'm subscribed to via RSS. ๐Ÿ‘‡

  • Eric Bailey
  • Hidde de Vries
  • browsers.fyi
  • Mayank
  • Chris Coyier
Discover more blogs

Other stuff

Topics

  • JavaScript (128 posts)
  • CSS (100 posts)
  • Tools (61 posts)
  • HTML (54 posts)
  • Bash (44 posts)
  • NodeJS (40 posts)
  • Accessibility (35 posts)
  • Web (30 posts)
  • git (23 posts)
  • Performance (20 posts)
  • VSCode (20 posts)

Random Web Dev Learnings

  • Non-capturing groups in JavaScript regular expressions
  • A preceding space prevents dangerous commands from going into history
  • How to override your dependency's dependencies (Node.js)
  • The hr element is more than a horizontal line
  • The surprising behavior of "important CSS custom properties"
  • Suffix aliases (-s) in Zsh

Popular articles

  • Can we have custom media queries, please?
  • How to import JSON files in ES modules (Node.js)
  • The difference between @ts-ignore and @ts-expect-error

Recently updated resources

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

stefanjudis.com ยฉ 2025 by Stefan Judis is licensed under CC BY-NC-SA 4.0

All rights reserved and content created without AI.

โ™ฅ๏ธ