::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 [...]
Posts about: CSS | Page 3
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.
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, 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
There's a very useful feature called "flex-grow" that can be helpful when creating a grid like this or another. Let me provide a brief introduction before we continue - in almost every website I develop, there is a usage of [...]
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 [...]
One of the useful features introduced along with the CSS Grid specifications is the 'minmax()' function. This function opens a door for us and enables writing stronger and more concise CSS by doing..
Adopting the flexibility of CSS Grid provides us with the ability to create resilient and robust websites (Frontend Wise), where instead of using specific and fixed sizes, we stretch elements...
In CSS Grid-based layouts – The default in placing elements in the grid itself is by defining the rows, or in fact, defining the grid lines according to which elements will start and end. The Grid Area feature is an [...]
CSS Grid introduced a new measurement unit to the world. It's essentially a new type of flexible unit called the Fr unit. The meaning of Fr is Fractional Unit, where 1fr represents a fraction of the available space.