Reference Guide for CSS

CSS (Cascading Style Sheet) CSS is nothing but the collection of selectors, their properties and values that help in styling the website in a way that is desired. Rules of CSS Rules are the order in which the CSS is applied on a web page. Rule 1: Specificity The more specific the rule, the higher is the priority h, a { y color: green; /*Type selectors (Lowest Specifity)*/ } .text-block{ background-color: yellow; /* class selector, denote by "....

June 15, 2024 · 1 min · 166 words · Kaushal Bundel