On Writing CSS(philipcdavis.com)

over 5 years ago from Philip Davis, Designer and Developer

  • Philip DavisPhilip Davis, over 5 years ago

    Hi Evan, i don't avoid nesting entirely, but the danger is that you have a lot of specificity variance which makes it difficult to quickly understand how styles are being applied and overridden. This is documented in Harry Robert's CSS Guidelines: https://cssguidelin.es/#specificity

    1 point