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 253 #TIL posts.
  • Newsletter
Stefan on LinkedIn Stefan on Mastodon Stefan on Bluesky RSS

Snippets โ€“ Page 6

Make magical things happen with a few lines
  1. How to navigate to the git root directory

    Published May 20 2022 in git

    A quick one-liner to navigate to the git root directory.

  2. Different background animations on mouseenter and leave

    Published Jan 09 2022 in CSS

    Learn how to transition in a background from one side and make it disappear at another using CSS pseudo-elements.

  3. Filter and map Array values with a flatMap one-liner

    Published Jan 05 2022 in JavaScript

    Use the flatMap array method to filter and map elements in a single iteration.

  4. Recursive directory creation with shell brace expansion

    Published Dec 30 2021 in Bash

    A shell command to create multiple directories recursively.

  5. How to hide Microsoft Edge's password reveal button

    Published Dec 28 2021 in CSS

    Use ::-ms-reveal to hide Microsoft Edge's "password reveal" button.

More articles

  1. Previous page
  2. Page 6 of 14
  3. Next page

Most popular posts

  • How to split JavaScript strings into sentences, words or graphemes with "Intl.Segmenter"
  • On being a "JavaScript framework developer"...
  • Can we have custom media queries, please?
  • Web content, the social contract and copyrights
  • Web Weekly #172
Read popular posts

Weekly newsletter

Weekly newsletter all around web development

Get weekly news

TIL: Today I learned in Web Dev

  • How to "officially" deprecate methods with Node.js utilities
  • pathLength makes makes SVG path animations easier to manage
  • field-sizing isn't only about growing textareas
Learn something new

Blogroll

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

  • Hidde de Vries
  • Mayank
  • Adrian Roselli
  • Ryan Mulligan
  • Jim Nielsen
Discover more blogs

Other stuff

Topics

  • JavaScript (128 posts)
  • CSS (103 posts)
  • Tools (61 posts)
  • HTML (55 posts)
  • Bash (45 posts)
  • NodeJS (41 posts)
  • Accessibility (36 posts)
  • Web (30 posts)
  • git (23 posts)
  • VSCode (21 posts)
  • Performance (20 posts)

Random Web Dev Learnings

  • Why custom properties don't work with the url() CSS function
  • CSS defines functions to repeat gradients
  • How to define your relationship to sites you link to
  • Size container queries can detect landscape / portrait orientation
  • The NPM_CONFIG_PRODUCTION flag sets the NOVE_ENV variable to production in npm scripts
  • CSS grid is the shortest way to center elements

Popular articles

  • How to split JavaScript strings into sentences, words or graphemes with "Intl.Segmenter"
  • On being a "JavaScript framework developer"...
  • Can we have custom media queries, please?

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.

โ™ฅ๏ธ