Name class in css | Sololearn: Learn to code for FREE!

+1

Name class in css

Excuse me, I have a question about naming classes How should I name classes in css to make it more understandable?

4/27/2021 1:20:38 AM

Hadital

1 Answer

New Answer

+1

Use a full word instead of any abbreviation. This is a pretty simple tip that applies to variable names, function names, and CSS class names. Here are a few tips for naming CSS classes: http://bdavidxyz.com/blog/how-to-name-css-classes/