A guide to writing better CSS

Writing better CSS doesn't have to be a painstaking ordeal. A few minor adjustments to how you work within your CSS code file can have a big impact. In this article, we'll take a look at eight simple ways you can improve your CSS skills and write cleaner, more efficient, and better CSS code.

01. Start with a CSS Reset

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
Tammy Coron

Tammy is an independent creative professional, author of Apple Game Frameworks and Technologies, and the maker behind the AdventureGameKit – a custom SpriteKit framework for building point and click adventure games. As an innovative problem solver and industry leader, Tammy enjoys working on projects from content creation – including books, tutorials, videos, and podcasts – to the design and development of cross-platform applications and games. For Creative Bloq, she has written about an array of subjects, including animation, web design and character design.

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
Raid character design tips; a female queen character in red leather armour carrying a large axe
Game art tips: how to breathe new life into a classic character design
Promo for Future Cards with the tagline "Leave the busywork to the machines"
What makes good designers great? Stand out from the crowd with these 9 expert tips
Homepage of portfolio by Colin Moy
8 expert tips for creating a killer design portfolio
someone paying with a phone and a Mastercard
Brands should invest in multisensory marketing – here’s why
A laptop using VideoProc Vlogger video-editing software
Laptop specs for video editing: All you need to know
hero image
GIMP vs. Photoshop: Could you make the switch?