Posts about: CSS & Design | Page 4

Separator Line with a Middle Element in CSS

This is a short post describing how to create a separator line with an element in the middle, like a kind of divider with text or an image when there is the same separator line to the left and right [...]

Flex-wrap in CSS: A Practical Guide for Developers

flex-wrap controls whether items in a flex container stay on one line or wrap onto new lines when they run out of room. You set it on the flex container, and the default value is nowrap. .container { display: flex; [...]

Exciting CSS4 Selectors Coming Soon: What to Expect

The current status of CSS Selectors Level 4 is a kind of draft; however, modern browsers have already started implementing certain parts of the new specifications. In essence, there will never be CSS4 just as there will never be HTML6, [...]

CSS Flexbox Gap Explained with Examples

In this post, we'll see how to add spacing between flex items using the CSS property called gap, which is the shorthand for the properties row-gap & column-gap.

Adding CSS Scroll Animations using AOS

You’ve probably encountered websites with various animations happening as you scroll down (On Scroll Animations). I’ll share with you a library called AOS (Animate On Scroll), which allows you to easily add these animations with full CSS control over them. [...]

CSS Variables: What They Are and How to Use Them

CSS Variables, also known as CSS Custom Properties, are now supported in all modern browsers, fulfilling the anticipation of frontend developers for quite some time. They bring the power of usage

How to Use the CSS @supports Property for Feature Detection

Almost a decade of developing WordPress has taught me that detecting certain supported features in a browser is primarily done using JavaScript and libraries like Modernizr. Over the years, I've noticed that identifying specific features that are supported by a [...]