Tech Blog

Viewing Category - CSS

Web development tips, tricks and tutorials for web developers of all levels.

1 to 7 of 7 results

The CSS masonry syntax wars

The CSS masonry syntax wars

As of November, 2025, the CSS Working Group announced a new CSS display property keyword called grid-lanes, which replaces the Firefox and Chromium/Webkit approach to masonry layouts. Continue reading
Creating a "Masonry-lite" Layout with Tailwind CSS Columns

Creating a "Masonry-lite" Layout with Tailwind CSS Columns

While the 'true' Masonry layout is currently being drafted for the CSS Grid Level 3 specification, you can achieve a 'Masonry-lite' effect using CSS Columns, and if you are using Tailwind CSS, you can do it with just two different classes. Continue reading
Handling hover states on mobile and touch devices in Tailwind CSS 4

Handling hover states on mobile and touch devices in Tailwind CSS 4

Tailwind CSS v4 has been updated so that the hover variant only applies when the primary input device supports hover. Options on how to solve the issues this presents. Continue reading
Tailwind CSS 4 - Overriding or replacing screen sizes (breakpoints)

Tailwind CSS 4 - Overriding or replacing screen sizes (breakpoints)

Learn how to override and customize screen sizes (breakpoints) in Tailwind CSS 4's new CSS-first configuration system. Includes migration tips, practical examples, and troubleshooting guide. Continue reading
Tailwind CSS - Using subgrid to align child content

Tailwind CSS - Using subgrid to align child content

As of Tailwind CSS 3.4, CSS subgrids are now available. In this article, we will look at how we can use the new subgrid option to fix a very common layout alignment issue. Continue reading
Tailwind CSS - How to make a grid with different width columns

Tailwind CSS - How to make a grid with different width columns

Explore how to create a two-column grid as an example using Tailwind CSS, where the first column takes up 20% of the width, and the second column occupies the remaining 80% using 3 different methods to accomplish this. Continue reading
Owl Carousel CLS (Cumulative Layout Shift) fix

Owl Carousel CLS (Cumulative Layout Shift) fix

In this article, we will look at CLS (Cumulative Layout Shift) and how sliders/carousels such as Owl Carousel negatively impact CLS scores and provide a fix. Continue reading

1 to 7 of 7 results