DEV Community


Discussion on: Learning about CSS architecture

wick3drose profile image
wick3dr0se • Edited

I would use sass and I prefer very obvious-basic names. If it's a menu I like it to be called menu. Also my scss is scoped on each page so I can use .menu on every page if I want to with no conflicts. Its cascaded in a way that ul and li will be inside of .menu and very easy for me to visually see that I have a menu in my css/scss. My code is very readable and I can change my whole theme in a second.