Ranter
Join devRant
Do all the things like
				++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
				Sign Up
			Pipeless API
 
				From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
				Learn More
			Comments
		
- 
				
				 monnef3109yThere are approaches to naming CSS classes where it is commonly used - e.g. BEM https://toptal.com/css/.... monnef3109yThere are approaches to naming CSS classes where it is commonly used - e.g. BEM https://toptal.com/css/....
- 
				
				 shizpi959ycomponentName shizpi959ycomponentName
 
 componentName-desdendentName
 
 componentName--variationName
 
 I name mine like this. There's a very valid reason for it though.
- 
				
				@monnef that was a nice read. But I assure you these guys don't know what a naming convention is.








Dear fellow frontend devs: either name your classes like-this or like_this, but don't mix the two, because I will punch you.
undefined