Colors & Units

CSS Colors In CSS, colors are specified by using a predefined color name, or with a RGB, HEX, HSL, RGBA, HSLA value. CSS Background Color You can set the background color for HTML elements: Example

CSS Text Color You can set the color of text: Example

CSS Border Color You can set the […]

CSS Selectors

CSS Selectors CSS selectors are used to “find” (or select) the HTML elements you want to style. We can divide CSS selectors into five categories: Simple selectors (select elements based on name, id, class) Combinator selectors (select elements based on a specific relationship between them) Pseudo-class selectors (select elements based on a certain state) Pseudo-elements selectors (select and […]

Introduction to CSS

What is CSS? CSS is the language we use to style a Web page. CSS stands for Cascading Style Sheets CSS describes how HTML elements are to be displayed on screen, paper, or in other media CSS saves a lot of work. It can control the layout of multiple web pages all at once External […]