search ]

Posts about: CSS & Design | Page 3

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 is a specific property that exists as part of the CSS flexbox module. Using this property, you can determine how flex items will be displayed and behave within a flex container when they don’t have enough space. The flex-wrap [...]

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

Styling the First Letter with CSS ::first-letter Property

::first-letter is another useful pseudo-element that allows you to style the first letter of text within any element without the need to modify the HTML or add any specific tags like span. The method works similarly to a scenario in [...]

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). So, I’ll share with you a library I came across called AOS, which allows you to easily add these animations with full CSS control over [...]

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

Savvy WordPress Development official logo