CSS

Mastering CSS Selectors To Target Specific HTML Elements: A Beginner’s Guide

1)- The most common CSS selectors: How to Target Specific HTML Elements CSS selectors are patterns used to select HTML elements that you want to style. The following are some of the most common CSS selectors: a)- Element Selector This selector targets HTML element tags. It is represented by the name of the HTML element …

Mastering CSS Selectors To Target Specific HTML Elements: A Beginner’s Guide Read More »

absolute and relative positions: What’s the difference?

absolute and relative position properties are used a lot in CSS and seem to be doing the same work, which is positioning an element in the page. But in reality, they’re different. In this tutorial we’ll see how each one of these properties work. 1)-First difference a)- absolute position Let’s just take a simple html …

absolute and relative positions: What’s the difference? Read More »