Hey Cathy, I really liked the article, it’s what I need to do clean up my CSS.
Patrick Smith
11

Hi Patrick

Thanks for your feedback. Your right not all points have improved example code.

In relation to the last column example, I would avoid having a different margin property on the last column, removing the need to add a class and avoiding any layout issues as the columns stack.

In personal projects I have applied percentage margins to the left and right instead of just to the right. This way I avoid using last-column { margin: 0} or :last-child {margin: 0}

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.