10 CSS mistakes every web designer must avoid

In CSS, we've come a long way from using the CSS Zen Garden to convince the web to go table-less. But, as our websites get bigger, more interesting and use new, vendor-prefix-laden attributes, more people are interested in levelling up their CSS skills. Yet, where to start? How does a web developer learn good habits? What does 'bad' CSS look like, and what can you do about it? I'll share 10 habits in CSS that you can work to eliminate from your codebase, and how.

The bad habits can be divided into a few distinct categories to help you better understand them: overspecificity, workflow and the 'you know better's.

Thank you for reading 5 articles this month* Join now for unlimited access

Enjoy your first month for just £1 / $1 / €1

*Read 5 free articles per month without a subscription

Join now for unlimited access

Try first month for just £1 / $1 / €1

TOPICS

The Creative Bloq team is made up of a group of design fans, and has changed and evolved since Creative Bloq began back in 2012. The current website team consists of eight full-time members of staff: Editor Georgia Coggan, Deputy Editor Rosie Hilder, Ecommerce Editor Beren Neale, Senior News Editor Daniel Piper, Editor, Digital Art and 3D Ian Dean, Tech Reviews Editor Erlingur Einarsson and Ecommerce Writer Beth Nicholls and Staff Writer Natalie Fear, as well as a roster of freelancers from around the world. The 3D World and ImagineFX magazine teams also pitch in, ensuring that content from 3D World and ImagineFX is represented on Creative Bloq. 

Latest in Web Design
A screenshot of the new YouTube UI
Yes, YouTube has a new UI. Yes, it's terrible
Adobe XD logo
It seems Adobe's given up on UI design (for now)
Adobe Muse
Why Adobe is frustrating web designers
Dropbox Relay interface with photo of man running
How Dropbox Replay is helping designers future-proof their practice
UX revolution
From 2D to 3D: How brands can harness the latest UX/UI revolution
Personal portfolio of Julie Bonnemoy with a retro vibe
From AI to no-code: The top web design trends for 2024 according to Designmodo
Latest in Advice
How to use Cinema 4D files in Atlux tutorial main image
How to seamlessly integrate Cinema 4D files into Unreal Engine
Main image for Poly modeling with an iPad tutorial
How to get started in 3D modelling on iPad to create video game assets and 3D art
Book cover designs
14 pro tips for creating eye-catching book cover design
Pietro Chiovaro Blender T-shirt tutorial
How to make a T-shirt in Blender
Paul Hatton KeyShot tutorial
Follow my KeyShot and Photoshop advice for perfect renders every time
Mike Griggs 3D teamwork tutorial
4 tips to make your collaborative art projects run smoothly