Posts about: CSS & Design | Page 4

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 [...]

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