I'm the first to admit, I'm guilty of taking short cuts and writing sloppy CSS. Usually coding sloppy CSS is because of strict deadlines, budget limitations, or putting a band aid on something (Meaning quick fixes without rebuilding entire pages or sections). And of course you could say what about planning and time management?
Cascading Style Sheets, CSS is a style sheet to describe the presentation of a file usually, HTML or XHTML, but can also be applied to other document types. It is used to aid in the separation of document content from document presentation.

CSS Specificity
CSS Specificity is one of those things that you might assume you already have a firm grasp of since you are able to write solid CSS. Yet, CSS specificity is pretty confusing. It takes a little bit of time to get used to, but is well worth the effort. Have you ever created a CSS rule and wondered why it didn't apply to an element even though you thought it would?