CSS(CASCADING STYLE SHEET)
CSS CSS is the language we use to style a Web page. What is CSS? 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 stylesheets are stored in CSS files. CSS Selectors CSS selectors are used to "find" (or select) the HTML elements you want to style. Basic Selectors Type selector : targets elements by tag name css p { color : red; } Universal selector : matches any element css * { margin : 0 ; } ``` :contentReference[oaicite: 5 ]{index= 5 } Class selector : targets elements by class css .myClass { text-decoration : underline; } ``` :contentReference[oaicite: 7 ]{index= 7 } ID selector : targets a unique element by id css #myId { font-family : monospace; } ``` :contentReference[oaicite: 9 ]{index= 9 } 🔗 Combinators (show relationships between selectors) Descendant ( ) : matches...