Generally, I recommend avoiding selector names that signify position, order, or version. Websites tend to get rearranged a lot and then the names stop making sense and need to be changed. I could see left used if the styling it applied made an element go left, but in this case, it just affects the size. A name like .container-lg and .container-sm might make more sense.
Generally, I recommend avoiding selector names that signify position, order, or version. Websites tend to get rearranged a lot and then the names stop making sense and need to be changed. I could see
left
used if the styling it applied made an element go left, but in this case, it just affects the size. A name like.container-lg
and.container-sm
might make more sense.https://github.com/nicoledag/Colmaracademy/blob/master/resources/css/style.css#L25-L31