i

Learn HTML and CSS in 10 Days

Use Proper Class Names

Class values (or names) need to be modular and ought to relate to the content inside a component, not appearance, however much as could be expected. These values should be written down in such a manner that they denote the syntax of the CSS language. In like manner, class names ought to be all lowercase and should utilize hyphen delimiters.

Bar Code

.Red_Box { ... }

 

Good Code

.alert-message { ... }