CSS Weekly
  • YouTube Channel
  • Archives
  • Supporters
  • Submit a link
  • Advertise
  • Contact

Issue #549

May 17, 2023

Conditional CSS with :has and :nth-last-child

Conditional CSS with :has and :nth-last-child

Ahmad Shadeed highlights a few examples of where you can combine a CSS selector with :has() to create conditional component/layout states.

Read more

Solving Media Object Float Issues With CSS Block Formatting Contexts

Solving Media Object Float Issues With CSS Block Formatting Contexts

Gabriel Shoyombo covers common problems with CSS floats and how to solve them using a block formatting context (BFC).

Read more

From Our Sponsor

Connect your teams in ClickUp

Connect your teams in ClickUp

One tool does it all—ClickUp offers all the features you need in one platform: Tasks, Docs, Whiteboards, Dashboards, Goals… and more!

Switch today to explore our 100% customizable features!

CSS Weekly on YouTube

▶ Baseline: A NEW Way To Think About Browser Support

▶ Baseline: A NEW Way To Think About Browser Support

Baseline is a new initiative that brings clarity to information about browser support for web platform features; it will help you determine which browser features are safe to use in production. In this short overview, you’ll find out everything you need to know about it.

Watch video

▶ Chrome DevTools Tips - How to easily revert all CSS changes in Styles Pane

Find out how you can easily view and revert all CSS changes you’ve made in Chrome DevTools Styles Pane using the “Changes” drawer.

Watch video

Articles & Tutorials

Spinning Diagrams with CSS

Harold Cooper demonstrates how to create spinning diagrams using just HTML and CSS.

Read more

CSS Art: Drawing a Coffee Stain

Alvaro Montoro explains how he created a stunning CSS illustration.

Read more

What’s New in Web Animations

Bramus Van Damme gives an overview of new web animation APIs: view transitions, scroll-driven animations, the linear easing function, and individual transform properties.

Read more

When is :focus-visible Visible?

Ire Aderinokun explores in detail how :focus-visible works.

Read more

Semantics and the popover Attribute: What To Use When?

Hidde de Vries covers some of the most common semantics you could use with the popover behavior: menu, dialog and listbox, and more.

Read more

What Have I Been Up To

Integrating Prettier Into Your Workflow

Integrating Prettier Into Your Workflow

For the past few weeks, I’ve been working diligently on Module 4 of my Mastering Prettier & Stylelint course.

I’ll show you how to fully integrate Prettier into your workflow, from sharing configurations, setting it up with pre-commit hooks, and using it within testing frameworks, task runners, and Continous Integration. I’m quite certain you’ll find it interesting and helpful.

Pre-launch price is still active, and you can use the coupon code SUBSCRIBER20 to get an additional 20% off on the Masterclass package as a CSS Weekly subscriber.

Level Up Your Front-End Tooling Expertise

Tools

Squircle CSS Houdini

A tiny CSS Houdini module that allows to add a squircle shape to HTML elements.

Check it out

Make Bookmarklets

An online bookmarklet generator that is clean and easy to use.

Check it out

Inspiration

Ideas for Grid to Slideshow Switch Animations

Ideas for Grid to Slideshow Switch Animations

Manoela Ilic shares some ideas and inspiration for layout animations where we go from an irregular grid to a slideshow or alternative view.

Get inspired

Until Next Week

I’ve been publishing many (short and long) videos on YouTube recently.

It would mean a lot if you subscribed to my channel because it signals to YouTube that my content is ok, and thus helps me reach more people encouraging me to create even more content. And it doesn’t cost you anything. :)

CSS Weekly on YouTube →

Happy coding,
Zoran Jambor

Issue #548 Issue #550

CSS Stickers!

CSS Stickers set.

A set of beautiful, cute, and funny CSS stickers to showcase your love for CSS.

Get Your Set Today »

Course Mastering Linting

Get proficient with the best linting tools, Prettier & Stylelint.

Enroll Now »

Follow CSS Weekly

YouTube 11,000 Subscribers X / Twitter 16,700 Followers Bluesky 3,900 Followers TikTok 1,600 Followers Facebook 2,400 Likes Codepen 150 Followers RSS 8,500 Subscribers
YouTube 11,000 Subscribers X / Twitter 16,700 Followers Bluesky 3,900 Followers TikTok 1,600 Followers Facebook 2,400 Likes Codepen 150 Followers RSS 8,500 Subscribers

CSS Weekly is curated, edited,
published and created by Zoran Jambor.