<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
> <channel><title>Comments on: Making Your Code As Beautiful As The Design Itself</title> <atom:link href="http://www.amberweinberg.com/making-your-code-as-beautiful-as-the-design-itself/feed/" rel="self" type="application/rss+xml" /><link>http://www.amberweinberg.com/making-your-code-as-beautiful-as-the-design-itself/</link> <description>Design, Development and Freelance Articles and Tutorials</description> <lastBuildDate>Mon, 06 Feb 2012 21:01:26 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: Evolution of the web, VIM cheat sheet, KendoUI, Where is the fold?, Beautiful Code, Ugly JS &#124; Serene Global</title><link>http://www.amberweinberg.com/making-your-code-as-beautiful-as-the-design-itself/#comment-14244</link> <dc:creator>Evolution of the web, VIM cheat sheet, KendoUI, Where is the fold?, Beautiful Code, Ugly JS &#124; Serene Global</dc:creator> <pubDate>Fri, 30 Sep 2011 08:25:51 +0000</pubDate> <guid
isPermaLink="false">http://www.amberweinberg.com/?p=1773#comment-14244</guid> <description>[...] your code as beautiful as the design [...]</description> <content:encoded><![CDATA[<p>[...] your code as beautiful as the design [...]</p> ]]></content:encoded> </item> <item><title>By: Josh Humble</title><link>http://www.amberweinberg.com/making-your-code-as-beautiful-as-the-design-itself/#comment-14057</link> <dc:creator>Josh Humble</dc:creator> <pubDate>Fri, 16 Sep 2011 18:23:37 +0000</pubDate> <guid
isPermaLink="false">http://www.amberweinberg.com/?p=1773#comment-14057</guid> <description>I would emphasize the file size part, too, especially when dealing with large stylesheets. After all, a compressed stylesheet is stripped of ALL white-space, so placing rules on one line definitely helps. But then, the author&#039;s preference with one coding style or the other, is where it really counts in ease of use.</description> <content:encoded><![CDATA[<p>I would emphasize the file size part, too, especially when dealing with large stylesheets. After all, a compressed stylesheet is stripped of ALL white-space, so placing rules on one line definitely helps. But then, the author&#8217;s preference with one coding style or the other, is where it really counts in ease of use.</p> ]]></content:encoded> </item> <item><title>By: Josh Humble</title><link>http://www.amberweinberg.com/making-your-code-as-beautiful-as-the-design-itself/#comment-14045</link> <dc:creator>Josh Humble</dc:creator> <pubDate>Thu, 15 Sep 2011 21:34:26 +0000</pubDate> <guid
isPermaLink="false">http://www.amberweinberg.com/?p=1773#comment-14045</guid> <description>Interesting technique (tabbing your css, the same you do with html). I did that for a while, but switched back to non-tabbed lines, due to its unorthodoxy and working with other devs. Still kind of like it, though.</description> <content:encoded><![CDATA[<p>Interesting technique (tabbing your css, the same you do with html). I did that for a while, but switched back to non-tabbed lines, due to its unorthodoxy and working with other devs. Still kind of like it, though.</p> ]]></content:encoded> </item> <item><title>By: Jake Smith</title><link>http://www.amberweinberg.com/making-your-code-as-beautiful-as-the-design-itself/#comment-14042</link> <dc:creator>Jake Smith</dc:creator> <pubDate>Thu, 15 Sep 2011 20:54:27 +0000</pubDate> <guid
isPermaLink="false">http://www.amberweinberg.com/?p=1773#comment-14042</guid> <description>I personally can&#039;t stand single line.  What if I&#039;m viewing the CSS in firebug and I need to update a property....property is on line X....but so is about 10 other properties.I prefer to use multi-line with the following rules:
1. CSS rule can be single line if it has only 1 property.
2. All properties are in alphabetical order.
2a. If position is defined, I will tab out the top/right/bottom/left (in that order).
3. I have a giant comment block at the top to keep track of z-index, when added to elements.
4. I also use LESS....and it&#039;s awesome!
5. I minify my CSS in production, so saving whitespace isn&#039;t an issue.</description> <content:encoded><![CDATA[<p>I personally can&#8217;t stand single line.  What if I&#8217;m viewing the CSS in firebug and I need to update a property&#8230;.property is on line X&#8230;.but so is about 10 other properties.</p><p>I prefer to use multi-line with the following rules:<br
/> 1. CSS rule can be single line if it has only 1 property.<br
/> 2. All properties are in alphabetical order.<br
/> 2a. If position is defined, I will tab out the top/right/bottom/left (in that order).<br
/> 3. I have a giant comment block at the top to keep track of z-index, when added to elements.<br
/> 4. I also use LESS&#8230;.and it&#8217;s awesome!<br
/> 5. I minify my CSS in production, so saving whitespace isn&#8217;t an issue.</p> ]]></content:encoded> </item> <item><title>By: The Best Development Articles Of AmberWeinberg.com :: Freelance XHTML, CSS and WordPress Developer Amber Weinberg :: Nashville, TN</title><link>http://www.amberweinberg.com/making-your-code-as-beautiful-as-the-design-itself/#comment-3970</link> <dc:creator>The Best Development Articles Of AmberWeinberg.com :: Freelance XHTML, CSS and WordPress Developer Amber Weinberg :: Nashville, TN</dc:creator> <pubDate>Tue, 13 Jul 2010 14:31:31 +0000</pubDate> <guid
isPermaLink="false">http://www.amberweinberg.com/?p=1773#comment-3970</guid> <description>[...] Making Your Code As Beautiful As The Design Itself How to organize your code to be clean, easy to read and easy for other developers jump in! [...]</description> <content:encoded><![CDATA[<p>[...] Making Your Code As Beautiful As The Design Itself How to organize your code to be clean, easy to read and easy for other developers jump in! [...]</p> ]]></content:encoded> </item> <item><title>By: Jason</title><link>http://www.amberweinberg.com/making-your-code-as-beautiful-as-the-design-itself/#comment-2060</link> <dc:creator>Jason</dc:creator> <pubDate>Mon, 05 Apr 2010 19:03:00 +0000</pubDate> <guid
isPermaLink="false">http://www.amberweinberg.com/?p=1773#comment-2060</guid> <description>I mostly use one-line CSS. But when there are a lot of declarations, I will do a hybrid of sorts.I&#039;ll put the &#039;static&#039; stuff like image url, etc., onto the first line, then put the more &#039;dynamic&#039; stuff on a second line or individual lines. This would include possibly color, definitely positioning/padding/border, and anything else I&#039;d need to modify during the final phase of tweaking.</description> <content:encoded><![CDATA[<p>I mostly use one-line CSS. But when there are a lot of declarations, I will do a hybrid of sorts.</p><p>I&#8217;ll put the &#8216;static&#8217; stuff like image url, etc., onto the first line, then put the more &#8216;dynamic&#8217; stuff on a second line or individual lines. This would include possibly color, definitely positioning/padding/border, and anything else I&#8217;d need to modify during the final phase of tweaking.</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 1/6 queries in 0.004 seconds using disk: basic
Object Caching 235/236 objects using disk: basic

Served from: www.amberweinberg.com @ 2012-02-08 07:55:59 -->
