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

Classes are case sensitive

Classes are case sensitive Bad Practice
Classes are case sensitive Best Practice

Similar to id values, class values are also case sensitive. If your attribute starts with a capital letter, the selector referring to that class should also start with the capital letter and vice versa. This means that if you set the class attribute to class=" example" and try to set a rule for it using the selector .Example, it simply won't work.

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