You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.
Advertise
Best Hosting Service
Categories
- 19 (1)
- 20 (1)
- 25 (1)
- Coding (5)
- CSS (9)
- Fonts (7)
- Freelance (9)
- Graphics (877)
- HTML (2)
- Icons (10)
- Inspiration (21)
- Interviews (10)
- Java Script (2)
- Logos (3)
- Marketing (1)
- Twitter (6)
- Wallpapers (2)
- Web Design (15)
- WordPress (11)
- Work (7)
Tags
3D
artists
Artworks
beautiful
brush
Create
creative
CSS
design
designs
developers
Fonts
Free
Freelance
graphic design
Graphics
grungy
Icon
Icons
Illustration
Illustrations
Illustrator
Inspiration
Inspirational
Inspired
Interview
mesh
Patterns
Photo
photos
Photoshop
portfolio
poster
Posters
Texture
theme
themes
tutorial
tutorials
Twitter
Typography
Vector
Web Design
Websites
WordPress



Making Your Code as Beautiful as the Design Itself
Regular people can’t see code, nor do they care to see it or what it looks like. It’s precisely this reason that there’s so much ugly code in the web world today. People don’t see it so developers don’t believe that clean code is important, but it is.
It’s quite rare to find a clean coded site, even from huge companies who should have the budget to pay for a good developer. However, it’s just as important to have beautiful code as it is to have a beautiful design.
Why Should It Matter?
Most of the time, messy code works just as well as clean code. So why should it matter if it’s pretty or not?
Beautify Your CSS
There are several ways that I’ll show you how to organize your CSS. Of course, beauty is in the eye of the beholder, so you may not find that what works for me, works for you. Experiment with a few different ways you can organize your code to find what works for you.
div {background: #FFF;
font-style: italic;
font-size: 18px;
margin: 20px;
padding: 10px;
font-weight: bold;
}
Try doing this instead:
div { background: #FFF; font-style: italic; font-size: 18px; margin: 20px; }div.element {}div.element a {}
div.element ul {}
div.element .class p {}
div.other {}div.other a {}
div.other p.class {}
continue reading…
Related Posts