March 13, 2024, 11:53 a.m. | Mike Varenek

DEV Community dev.to

CSS (Cascading Style Sheets) is the language used to style and format the appearance of your web pages.





Selectors, Properties, and Values


CSS works by targeting specific elements in your HTML document and applying styles to them. This targeting is achieved through selectors. Selectors point to the HTML elements you want to style. Once you've selected the element, you define the styles using properties and values.


Here's an example to illustrate this:


/* Selector */
p {
/* Property: font-size …

beginners cheatsheet css document element format html language style targeting them through values web webdev

Senior Data Engineer

@ Displate | Warsaw

Principal Software Engineer

@ Microsoft | Prague, Prague, Czech Republic

Sr. Global Reg. Affairs Manager

@ BASF | Research Triangle Park, NC, US, 27709-3528

Senior Robot Software Developer

@ OTTO Motors by Rockwell Automation | Kitchener, Ontario, Canada

Coop - Technical Service Hub Intern

@ Teradyne | Santiago de Queretaro, MX

Coop - Technical - Service Inside Sales Intern

@ Teradyne | Santiago de Queretaro, MX