{"id":167,"date":"2009-05-20T15:14:25","date_gmt":"2009-05-20T20:14:25","guid":{"rendered":"http:\/\/cdf-design.com\/blog\/?p=167"},"modified":"2009-05-20T15:14:52","modified_gmt":"2009-05-20T20:14:52","slug":"best-practices-for-your-style-sheets","status":"publish","type":"post","link":"https:\/\/cdf-design.com\/blog\/2009\/05\/best-practices-for-your-style-sheets\/","title":{"rendered":"Best Practices for your Style Sheets"},"content":{"rendered":"<p>Today I was reading <a href=\"http:\/\/www.webdesignerdepot.com\/2009\/05\/10-best-css-practices-to-improve-your-code\/\">this article over at the webdesigner depot called 10 Best CSS Practices to Improve Your Code.<\/a>\u00a0The writer does a really good job of listing the important tips for writing good clean CSS code.<\/p>\n<p>Here&#8217;s the list in short:<\/p>\n<ol>\n<li>Stay Organized<\/li>\n<li>Title, Date and Sign<\/li>\n<li>Keep a Template Library<\/li>\n<li>Use Useful Naming Conventions<\/li>\n<li>Use Hyphens Instead of Underscores<\/li>\n<li>Don&#8217;t Repeat Yourself<\/li>\n<li>Optimize for Lightweight Style Sheets<\/li>\n<li>Write Your Base for Gecko, Then Tweak for Webkit and IE<\/li>\n<li>Validate<\/li>\n<li>Keep a tidy house<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Today I was reading this article over at the webdesigner depot called 10 Best CSS Practices to Improve Your Code.\u00a0The writer does a really good job of listing the important tips for writing good clean CSS code. Here&#8217;s the list in short: Stay Organized Title, Date and Sign Keep a Template Library Use Useful Naming [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-167","post","type-post","status-publish","format-standard","hentry","category-design"],"_links":{"self":[{"href":"https:\/\/cdf-design.com\/blog\/wp-json\/wp\/v2\/posts\/167","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cdf-design.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cdf-design.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cdf-design.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cdf-design.com\/blog\/wp-json\/wp\/v2\/comments?post=167"}],"version-history":[{"count":4,"href":"https:\/\/cdf-design.com\/blog\/wp-json\/wp\/v2\/posts\/167\/revisions"}],"predecessor-version":[{"id":171,"href":"https:\/\/cdf-design.com\/blog\/wp-json\/wp\/v2\/posts\/167\/revisions\/171"}],"wp:attachment":[{"href":"https:\/\/cdf-design.com\/blog\/wp-json\/wp\/v2\/media?parent=167"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cdf-design.com\/blog\/wp-json\/wp\/v2\/categories?post=167"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cdf-design.com\/blog\/wp-json\/wp\/v2\/tags?post=167"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}