Posts about: CSS & Design | Page 3

Responsive Table with HTML & CSS: 4 Methods

A responsive table is an HTML table that stays readable on a small screen. A plain table doesn’t. It either squeezes its columns until every word wraps onto its own line, or pushes the page wider than the screen. There [...]

Exploring the CSS ::marker Pseudo-Element

The ::marker pseudo-element in CSS lets you style the markers of list items – bullets, numbers, or anything you set via content. No extra HTML or JavaScript needed. I use it regularly when the default bullet doesn’t fit the design, [...]

How to Style Scrollbars Using CSS: A Quick Guide

Designing the scrollbars of the browser has become popular lately, and I encounter many websites styling it differently, fitting their overall design and branding. There are several ways to design these scrollbars, and in this post, we’ll see how to [...]

How the CSS repeat() Function Works

Among the various features CSS offers, the repeat function stands out as a valuable tool for efficiently managing repetitive patterns in layouts and design elements.

Customization of Underlines using text-decoration

The CSS Text Decoration Module Level 3 gives us several ways to style text decoration beyond the basic underline / line-through toggle. Browser support today sits above 94% globally, so these properties are safe to use in production. Properties like [...]

CSS Gradient Transitions: 5 Methods

You can’t transition one CSS gradient into another with transition: background-image. The browser treats a gradient as an image, and it swaps images instantly instead of blending them. There are still five reliable ways to get a smooth gradient transition [...]

Troubleshooting position: sticky: Quick Fixes and Solutions

If you are experiencing issues with the position: sticky feature in CSS, meaning it’s not working for you, the cause is usually one of the following. 1. The feature is not supported by your browser Before proceeding, make sure position: [...]

Use CSS Containment & Improve Website’s Performance

CSS Containment is a module that describes a CSS property called contain. This property allows developers to isolate a specific element’s subtree in the DOM and treat it as independent and separate from the rest of the elements in the [...]

A Glance at CSS Mix Blend Modes

If you’ve ever used Photoshop, you already know what blending modes do – they control how two layers combine their colors. CSS brings the same concept to the browser with two properties: mix-blend-mode and background-blend-mode. The mix-blend-mode property blends an [...]

Playing with the background-clip CSS Property

The background-clip property allows us to control how far the background image (or background color) extends beyond the Padding or the content itself of an element. I assume that this explanation is challenging to understand without some examples and a [...]