Category: CSS
-
Understanding the Cascade layer in CSS: Resolving Specificity Issues
The CSS Styling Hierarchy: Understanding How Styles are Applied Before we dive into the magic of Cascade Layers, let’s break down how styles are traditionally loaded and applied in web…
-
Why You Should Use REM Over Pixels for Font Sizes in CSS
When it comes to styling font sizes in CSS, the choice between pixels (px) and REM (root em) can significantly impact your website’s accessibility, maintainability, and responsiveness. In this article,…
-
DropShadow and Box Shadow
When you work with transparent images you can use the drop-shadow filter function to create a shadow on the image’s content, instead of box-shadow property which creates a rectangular shadow…
-
TAKE CONTROL OF CSS
CSS is stands for Cascading Style Sheets, and it controls what the content of the site looks like. The key to understand how CSS works is to imagine that there…
-
currentColor CSS
The currentColor uses the current text color value. It works something like this : You can use this value for other properties that accept color values like border, box-shadow, outline,…