<?xml version="1.0" encoding="utf-8"?>

Use . to access class selectors

Use . to access class selectors

Selectors are one of the most important aspects of CSS as they allow you to identify the elements that you are styling. The class selector is defined with a period sign (.) immediately followed by the class value. Of course, you need first to assign the class to elements using the class attribute.

Improve your UX & Product skills with interactive courses that actually work