<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Learning jQuery &#187; CSS</title>
	<atom:link href="http://www.learningjquery.org/index.php/tag/css/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.learningjquery.org</link>
	<description>Learning jQuery: Tips, techniques, and tutorials for the jQuery JavaScript library</description>
	<lastBuildDate>Tue, 24 Aug 2010 10:10:35 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Horizontal Subnav with CSS</title>
		<link>http://www.learningjquery.org/index.php/horizontal-subnav-with-css/</link>
		<comments>http://www.learningjquery.org/index.php/horizontal-subnav-with-css/#comments</comments>
		<pubDate>Thu, 16 Jul 2009 09:13:08 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Horizontal Subnav]]></category>

		<guid isPermaLink="false">http://www.learningjquery.org/?p=55</guid>
		<description><![CDATA[Not too long ago I wrote a tutorial on how to create a drop down menu with CSS &#38;
jQuery, today I would like to go over how to create a simple navigation with a horizontal subnav.
In most cases we can achieve this effect purely with CSS, but since we have to attend to our red [...]]]></description>
			<content:encoded><![CDATA[<p>Not too long ago I wrote a tutorial on how to create a drop down menu with CSS &amp;<br />
jQuery, today I would like to go over how to create a simple navigation with a horizontal subnav.</p>
<p>In most cases we can achieve this effect purely with CSS, but since we have to attend to our red headed step child aka IE6, we will use a few lines of jQuery to cover all grounds.</p>
<p><a href="http://www.sohtanaka.com/web-design/examples/horizontal-subnav/" target="_blank"><img class="center" src="http://www.sohtanaka.com/web-design/examples/horizontal-subnav/preview.gif" alt="Horizontal Subnavigation - CSS jQuery Tutorial" /></a></p>
<div class="highlight">
<p><a class="view" href="http://www.sohtanaka.com/web-design/examples/horizontal-subnav/" target="_blank">View Demo</a></div>
<h4>Wireframe &#8211; HTML</h4>
<p>Nest a set of links wrapped within the &lt;span&gt; tag, this is how the sub navigation will be positioned.</p>
<pre>&lt;ul id="topnav"&gt;
    &lt;li&gt;&lt;a href="#"&gt;Link&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;
        &lt;a href="#"&gt;Link&lt;/a&gt;
        <span style="color: #999999;">&lt;!--Subnav Starts Here--&gt;</span>
        &lt;span&gt;
            &lt;a href="#"&gt;Subnav Link&lt;/a&gt; |
            &lt;a href="#"&gt;Subnav Link&lt;/a&gt; |
            &lt;a href="#"&gt;Subnav Link&lt;/a&gt;
        &lt;/span&gt;
       <span style="color: #999999;"> &lt;!--Subnav Ends Here--&gt;</span>
    &lt;/li&gt;
    &lt;li&gt;&lt;a href="#"&gt;Link&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</pre>
<h4>Styling &#8211; CSS</h4>
<p><img class="center" src="http://www.sohtanaka.com/web-design/examples/horizontal-subnav/wireframe.gif" alt="Horizontal Subnavigation - CSS jQuery Tutorial" /><br />
Unlike a regular drop down menu where the subnav appears directly underneath the hovered/clicked list item, in this case all the subnav sets will start at the same location (left aligned &#8211; underneath the navigation).</p>
<pre>ul#topnav {
	margin: 0; padding: 0;
	float: left;
	width: 970px;
	list-style: none;
	position: relative; <span style="color: #999999;">/*--Set relative positioning on the unordered list itself - not on the list item--*/</span>
	font-size: 1.2em;
	background: url(topnav_stretch.gif) repeat-x;
}
ul#topnav li {
	float: left;
	margin: 0; padding: 0;
	border-right: 1px solid #555; <span style="color: #999999;">/*--Divider for each parent level links--*/</span>
}
ul#topnav li a {
	padding: 10px 15px;
	display: block;
	color: #f0f0f0;
	text-decoration: none;
}
ul#topnav li:hover { background: #1376c9 url(topnav_active.gif) repeat-x; }
<span style="color: #999999;">/*--Notice the hover color is on the list item itself, not on the link. This is so it can stay highlighted even when hovering over the subnav--*/</span></pre>
<p>Now set the absolute positioning on the &lt;span&gt; tag 35px from the top. I added some rounded corners on the bottom for style (this will not work in IE).</p>
<pre>ul#topnav li span {
	float: left;
	padding: 15px 0;
	position: absolute;
	left: 0; top:35px;
	display: none; <span style="color: #999999;">/*--Hide by default--*/</span>
	width: 970px;
	background: #1376c9;
	color: #fff;
	<span style="color: #999999;">/*--Bottom right rounded corner--*/</span>
	-moz-border-radius-bottomright: 5px;
	-khtml-border-radius-bottomright: 5px;
	-webkit-border-bottom-right-radius: 5px;
	<span style="color: #999999;">/*--Bottom left rounded corner--*/</span>
	-moz-border-radius-bottomleft: 5px;
	-khtml-border-radius-bottomleft: 5px;
	-webkit-border-bottom-left-radius: 5px;
}
ul#topnav li:hover span { display: block; } <span style="color: #999999;">/*--Show subnav on hover--*/</span>
ul#topnav li span a { display: inline; } <span style="color: #999999;">/*--Since we declared a link style on the parent list link, we will correct it back to its original state--*/</span>
ul#topnav li span a:hover {text-decoration: underline;}</pre>
<p>For those who are not very familiar with how positioning works, check out the following tutorials:</p>
<ul>
<li><a href="http://www.w3schools.com/Css/css_positioning.asp" target="_blank">w3schools &#8211; CSS Positioning</a></li>
<li><a href="http://css-tricks.com/absolute-relative-fixed-positioining-how-do-they-differ/" target="_blank">Absolute, Relative, Fixed Positioning: How Do They Differ? </a></li>
<li><a href="http://thecssblog.com/tutorials/stopping-the-css-positioning-panic-part-1/" target="_blank">Stopping the CSS positioning panic</a></li>
</ul>
<h4>IE6 Fix &#8211; jQuery</h4>
<p>Since IE6 does not understand <strong>li:hover</strong> (basically it only understands a hover event on a &lt;a&gt; tag), use jQuery to go around the issue.</p>
<p><small>For those who are not familiar with <a href="http://www.jquery.com/" target="_blank">jQuery</a>, do check out their site first and get an overview of how it works. I’ve shared a <a href="http://www.sohtanaka.com/web-design/tag/jquery/" target="_blank">few tricks</a> that I have picked up along the way, you can check those out as well.</small></p>
<p><strong>Initial Step &#8211; Call the jQuery file</strong><br />
You can choose to <a href="http://code.google.com/p/jqueryjs/downloads/detail?name=jquery-1.3.2.min.js&amp;downloadBtn=" target="_blank">download</a> the file from the jQuery site, or you can use this one hosted on Google.</p>
<pre>&lt;script type="text/javascript"
src="http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js"&gt;&lt;/script&gt;</pre>
<p>The following script contains comments explaining which jQuery actions are being performed.</p>
<pre><span style="color: #999999;">&lt;script type="text/javascript"&gt;
$(document).ready(function() {</span>

	$("ul#topnav li").hover(function() { <span style="color: #999999;">//Hover over event on list item</span>
		$(this).css({ 'background' : '#1376c9 url(topnav_active.gif) repeat-x'}); <span style="color: #999999;">//Add background color and image on hovered list item</span>
		$(this).find("span").show(); <span style="color: #999999;">//Show the subnav</span>
	} , function() { <span style="color: #999999;">//on hover out...</span>
		$(this).css({ 'background' : 'none'}); <span style="color: #999999;">//Ditch the background</span>
		$(this).find("span").hide(); <span style="color: #999999;">//Hide the subnav</span>
	});

<span style="color: #999999;">});
&lt;/script&gt;</span></pre>
<p><a href="http://www.sohtanaka.com/web-design/examples/horizontal-subnav/" target="_blank"><img class="center" src="http://www.sohtanaka.com/web-design/examples/horizontal-subnav/preview.gif" alt="Horizontal Subnavigation - CSS jQuery Tutorial" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.learningjquery.org/index.php/horizontal-subnav-with-css/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Write Better CSS with Less</title>
		<link>http://www.learningjquery.org/index.php/write-better-css-with-less/</link>
		<comments>http://www.learningjquery.org/index.php/write-better-css-with-less/#comments</comments>
		<pubDate>Wed, 01 Jul 2009 07:42:30 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://www.learningjquery.org/?p=38</guid>
		<description><![CDATA[by Raena Jackson Armitage
 I have a confession: I think parts of CSS suck. It’s repetitive, tedious, and … well, kind of dumb. 
I for one find it quite counter-intuitive to specify descendants’ styles like this:







1
#banner { color: white; background: black; } 


2
#banner a { color: yellow; }


3
#banner p { margin: 0; }


4
#banner &#8230;


5
#banner &#8230;


6
#banner &#8230;





view plain &#124; print




#banner { color: white; background: black; }
#banner a { color: yellow; }
#banner p { margin: 0; [...]]]></description>
			<content:encoded><![CDATA[<p class="blogauthor"><span class="regular_author">by <a title="Raena Jackson Armitage's Author Bio" rel="nofollow" href="http://www.sitepoint.com/articlelist/540">Raena Jackson Armitage</a></span></p>
<p><!-- load needed syntax highlighting brushes --><img class="imgright size-full wp-image-11728" title="Less" src="http://www.sitepoint.com/blogs/wp-content/uploads/2009/06/picture-120.png" alt="Less" width="168" height="82" /> <strong>I have a confession: I think parts of CSS <em>suck. </em>It’s repetitive, tedious, and … well, kind of dumb. </strong></p>
<p>I for one find it quite counter-intuitive to specify descendants’ styles like this:</p>
<div class="dp-highlighter">
<table class="dp-c" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td class="tools-corner"></td>
</tr>
<tr>
<td class="gutter">1</td>
<td class="line1"><span>#banner { color: white; background: black; } </span></td>
</tr>
<tr>
<td class="gutter">2</td>
<td class="line2">#banner a { color: yellow; }</td>
</tr>
<tr>
<td class="gutter">3</td>
<td class="line1">#banner p { margin: 0; }</td>
</tr>
<tr>
<td class="gutter">4</td>
<td class="line2">#banner &#8230;</td>
</tr>
<tr>
<td class="gutter">5</td>
<td class="line1">#banner &#8230;</td>
</tr>
<tr>
<td class="gutter">6</td>
<td class="line2">#banner &#8230;</td>
</tr>
</tbody>
<thead>
<tr>
<td class="tools-corner"></td>
<td class="tools"><a onclick="dp.sh.Utils.ViewSource(this); return false;" href="http://www.sitepoint.com/blogs/2009/06/30/write-better-css-with-less/#">view plain</a> | <a onclick="dp.sh.Utils.PrintSource(this); return false;" href="http://www.sitepoint.com/blogs/2009/06/30/write-better-css-with-less/#">print</a></td>
</tr>
</thead>
</table>
</div>
<pre style="display: none;"><code>#banner { color: white; background: black; }
#banner a { color: yellow; }
#banner p { margin: 0; }
#banner ...
#banner ...
#banner ...</code></pre>
<p>… and on, and on, and on. Instead, this makes way more sense to me:</p>
<div class="dp-highlighter">
<table class="dp-c" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td class="tools-corner"></td>
</tr>
<tr>
<td class="gutter">1</td>
<td class="line1"><span>#banner { </span></td>
</tr>
<tr>
<td class="gutter">2</td>
<td class="line2">color: white;</td>
</tr>
<tr>
<td class="gutter">3</td>
<td class="line1">background: black;</td>
</tr>
<tr>
<td class="gutter">4</td>
<td class="line2">a { color: yellow; }</td>
</tr>
<tr>
<td class="gutter">5</td>
<td class="line1">p { margin: 0em; }</td>
</tr>
<tr>
<td class="gutter">6</td>
<td class="line2">&#8230;</td>
</tr>
<tr>
<td class="gutter">7</td>
<td class="line1">}</td>
</tr>
</tbody>
<thead>
<tr>
<td class="tools-corner"></td>
<td class="tools"><a onclick="dp.sh.Utils.ViewSource(this); return false;" href="http://www.sitepoint.com/blogs/2009/06/30/write-better-css-with-less/#">view plain</a> | <a onclick="dp.sh.Utils.PrintSource(this); return false;" href="http://www.sitepoint.com/blogs/2009/06/30/write-better-css-with-less/#">print</a></td>
</tr>
</thead>
</table>
</div>
<pre style="display: none;"><code>#banner {
  color: white;
  background: black;
    a { color: yellow; }
    p { margin: 0em; }
    ...
}</code></pre>
<p>And how about variables? They’d be cool:</p>
<div class="dp-highlighter">
<table class="dp-c" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td class="tools-corner"></td>
</tr>
<tr>
<td class="gutter">1</td>
<td class="line1"><span>@logo = #457301; </span></td>
</tr>
<tr>
<td class="gutter">2</td>
<td class="line2"></td>
</tr>
<tr>
<td class="gutter">3</td>
<td class="line1">h3 { color: @logo; }</td>
</tr>
<tr>
<td class="gutter">4</td>
<td class="line2">#sale { border: 1px solid @logo; }</td>
</tr>
<tr>
<td class="gutter">5</td>
<td class="line1">.alert { background: @logo; }</td>
</tr>
</tbody>
<thead>
<tr>
<td class="tools-corner"></td>
<td class="tools"><a onclick="dp.sh.Utils.ViewSource(this); return false;" href="http://www.sitepoint.com/blogs/2009/06/30/write-better-css-with-less/#">view plain</a> | <a onclick="dp.sh.Utils.PrintSource(this); return false;" href="http://www.sitepoint.com/blogs/2009/06/30/write-better-css-with-less/#">print</a></td>
</tr>
</thead>
</table>
</div>
<pre style="display: none;"><code>@logo = #457301;

h3 { color: @logo; }
#sale { border: 1px solid @logo; }
.alert { background: @logo; }</code></pre>
<p>Are you with me? Well, <a href="http://lesscss.org/">Less</a> promises to make these daydreams and more a happy reality. You’d write a style sheet using the Less syntax, which is exceptionally easy to pick up — it’s just CSS with some added CSS-like extras. You then use the Less Ruby gem to convert it into regular CSS — run it on the command line, or incorporate it into an app.</p>
<p>Less permits you to use variables and nested selectors, as seen above, but also offers a way to include classes within classes, and some simple math operators. Sweet! Let’s put Less through its paces and see how it copes with a simpler style sheet.</p>
<p>Let’s say I’m making a style sheet for a reasonably common grid structure, like so:</p>
<p align="center"><img src="http://www.sitepoint.com/blogs/wp-content/uploads/2009/06/less-grid.jpg" border="0" alt="Grid: three at the top, four in the centre, six at the bottom" align="middle" /></p>
<p>Usually, I’d decide on a width for the entire page (let’s say 960 pixels — it’s a <a href="http://960.gs/">popular</a> size) and construct various widths based on that, perhaps indeed using a grid system from a framework. I’d like the topmost boxes to occupy one third of the width of the container, the second set of boxes one quarter, and the footer boxes one sixth, so I’ll divide accordingly using my handy calculator. I have a particular favorite green, which I’d like to use as a heading color for some boxes, a border color for the secondary headings, and as a background for the footer. There’s an item that looks kind of like the footer, but with a different font. Oh, and I’d like to add some basic font specifications to each of the sections — the text should become smaller the further you go down. All groovy:</p>
<div class="dp-highlighter">
<table class="dp-c" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td class="tools-corner"></td>
</tr>
<tr>
<td class="gutter">1</td>
<td class="line1"><span>#container { </span></td>
</tr>
<tr>
<td class="gutter">2</td>
<td class="line2">width: 960px;</td>
</tr>
<tr>
<td class="gutter">3</td>
<td class="line1">}</td>
</tr>
<tr>
<td class="gutter">4</td>
<td class="line2">.box {</td>
</tr>
<tr>
<td class="gutter">5</td>
<td class="line1">float: left;</td>
</tr>
<tr>
<td class="gutter">6</td>
<td class="line2">}</td>
</tr>
<tr>
<td class="gutter">7</td>
<td class="line1">#main .box {</td>
</tr>
<tr>
<td class="gutter">8</td>
<td class="line2">width: 320px;</td>
</tr>
<tr>
<td class="gutter">9</td>
<td class="line1">}</td>
</tr>
<tr>
<td class="gutter">10</td>
<td class="line2">#main .box h3 {</td>
</tr>
<tr>
<td class="gutter">11</td>
<td class="line1">background: #450;</td>
</tr>
<tr>
<td class="gutter">12</td>
<td class="line2">}</td>
</tr>
<tr>
<td class="gutter">13</td>
<td class="line1">#secondary {</td>
</tr>
<tr>
<td class="gutter">14</td>
<td class="line2">font-size: 90%;</td>
</tr>
<tr>
<td class="gutter">15</td>
<td class="line1">}</td>
</tr>
<tr>
<td class="gutter">16</td>
<td class="line2">#secondary .box {</td>
</tr>
<tr>
<td class="gutter">17</td>
<td class="line1">width: 240px;</td>
</tr>
<tr>
<td class="gutter">18</td>
<td class="line2">border-bottom: 1px solid #450;</td>
</tr>
<tr>
<td class="gutter">19</td>
<td class="line1">}</td>
</tr>
<tr>
<td class="gutter">20</td>
<td class="line2">#footer {</td>
</tr>
<tr>
<td class="gutter">21</td>
<td class="line1">font-size: 80%;</td>
</tr>
<tr>
<td class="gutter">22</td>
<td class="line2">}</td>
</tr>
<tr>
<td class="gutter">23</td>
<td class="line1">#footer, #super {</td>
</tr>
<tr>
<td class="gutter">24</td>
<td class="line2">background: #450;</td>
</tr>
<tr>
<td class="gutter">25</td>
<td class="line1">color: #fff;</td>
</tr>
<tr>
<td class="gutter">26</td>
<td class="line2">}</td>
</tr>
<tr>
<td class="gutter">27</td>
<td class="line1">#footer .box {</td>
</tr>
<tr>
<td class="gutter">28</td>
<td class="line2">width: 160px;</td>
</tr>
<tr>
<td class="gutter">29</td>
<td class="line1">}</td>
</tr>
<tr>
<td class="gutter">30</td>
<td class="line2">#super {</td>
</tr>
<tr>
<td class="gutter">31</td>
<td class="line1">font-family: cursive;</td>
</tr>
<tr>
<td class="gutter">32</td>
<td class="line2">}</td>
</tr>
</tbody>
<thead>
<tr>
<td class="tools-corner"></td>
<td class="tools"><a onclick="dp.sh.Utils.ViewSource(this); return false;" href="http://www.sitepoint.com/blogs/2009/06/30/write-better-css-with-less/#">view plain</a> | <a onclick="dp.sh.Utils.PrintSource(this); return false;" href="http://www.sitepoint.com/blogs/2009/06/30/write-better-css-with-less/#">print</a></td>
</tr>
</thead>
</table>
</div>
<pre style="display: none;"><code>#container {
  width: 960px;
}
.box {
  float: left;
}
#main .box {
  width: 320px;
}
#main .box h3 {
  background: #450;
}
#secondary {
  font-size: 90%;
}
#secondary .box {
  width: 240px;
  border-bottom: 1px solid #450;
}
#footer {
  font-size: 80%;
}
#footer, #super {
  background: #450;
  color: #fff;
}
#footer .box {
  width: 160px;
}
#super {
  font-family: cursive;
}</code></pre>
<p>All groovy, that is, until I decide I’d like to change the width of the container. Now I have to go back and edit the widths of <code>container</code> and each of the descendent boxes on <code>main</code>, <code>secondary</code>, and <code>footer</code>. Then, I decide I’d like to use purple instead of green, so I then have to change the color of the main boxes’ headings, the secondary boxes’ borders, <em>and</em> the footer boxes’ backgrounds. Annoying!</p>
<p>Let’s imagine that I used Less for this task instead. First, of course, I’ll need to install Less, which is a quick job on the command line:</p>
<div class="dp-highlighter">
<table class="dp-c" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td class="tools-corner"></td>
</tr>
<tr>
<td class="gutter">1</td>
<td class="line1"><span>sudo gem install less </span></td>
</tr>
</tbody>
<thead>
<tr>
<td class="tools-corner"></td>
<td class="tools"><a onclick="dp.sh.Utils.ViewSource(this); return false;" href="http://www.sitepoint.com/blogs/2009/06/30/write-better-css-with-less/#">view plain</a> | <a onclick="dp.sh.Utils.PrintSource(this); return false;" href="http://www.sitepoint.com/blogs/2009/06/30/write-better-css-with-less/#">print</a></td>
</tr>
</thead>
</table>
</div>
<pre style="display: none;"><code>sudo gem install less</code></pre>
<p>Now I’ll open a new text file and start writing Less. I’ll specify a<br />
base width in a variable, <code>@base</code>:</p>
<div class="dp-highlighter">
<table class="dp-c" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td class="tools-corner"></td>
</tr>
<tr>
<td class="gutter">1</td>
<td class="line1"><span>@base: 960px; </span></td>
</tr>
</tbody>
<thead>
<tr>
<td class="tools-corner"></td>
<td class="tools"><a onclick="dp.sh.Utils.ViewSource(this); return false;" href="http://www.sitepoint.com/blogs/2009/06/30/write-better-css-with-less/#">view plain</a> | <a onclick="dp.sh.Utils.PrintSource(this); return false;" href="http://www.sitepoint.com/blogs/2009/06/30/write-better-css-with-less/#">print</a></td>
</tr>
</thead>
</table>
</div>
<pre style="display: none;"><code>@base: 960px;</code></pre>
<p>And my favorite color:</p>
<div class="dp-highlighter">
<table class="dp-c" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td class="tools-corner"></td>
</tr>
<tr>
<td class="gutter">1</td>
<td class="line1"><span>@pretty: #450; </span></td>
</tr>
</tbody>
<thead>
<tr>
<td class="tools-corner"></td>
<td class="tools"><a onclick="dp.sh.Utils.ViewSource(this); return false;" href="http://www.sitepoint.com/blogs/2009/06/30/write-better-css-with-less/#">view plain</a> | <a onclick="dp.sh.Utils.PrintSource(this); return false;" href="http://www.sitepoint.com/blogs/2009/06/30/write-better-css-with-less/#">print</a></td>
</tr>
</thead>
</table>
</div>
<pre style="display: none;"><code>@pretty: #450;</code></pre>
<p>I’ll then use the <code>@base</code> variable to specify the widths of the main, secondary, and footer boxes as a fraction of that overall width. To define each of the <code>box</code> children of each section, I’ll use nested selectors to define how I want the <code>box</code> children of each section to appear. The <code>@pretty</code> variable is used wherever I need to specify that color. Here is the rest of my Less file:</p>
<div class="dp-highlighter">
<table class="dp-c" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td class="tools-corner"></td>
</tr>
<tr>
<td class="gutter">1</td>
<td class="line1"><span>#container { </span></td>
</tr>
<tr>
<td class="gutter">2</td>
<td class="line2">width: @base;</td>
</tr>
<tr>
<td class="gutter">3</td>
<td class="line1">}</td>
</tr>
<tr>
<td class="gutter">4</td>
<td class="line2">.box {</td>
</tr>
<tr>
<td class="gutter">5</td>
<td class="line1">float: left;</td>
</tr>
<tr>
<td class="gutter">6</td>
<td class="line2">}</td>
</tr>
<tr>
<td class="gutter">7</td>
<td class="line1"></td>
</tr>
<tr>
<td class="gutter">8</td>
<td class="line2">#main {</td>
</tr>
<tr>
<td class="gutter">9</td>
<td class="line1">.box {</td>
</tr>
<tr>
<td class="gutter">10</td>
<td class="line2">width: @base / 3;</td>
</tr>
<tr>
<td class="gutter">11</td>
<td class="line1">h3 {</td>
</tr>
<tr>
<td class="gutter">12</td>
<td class="line2">color: @pretty;</td>
</tr>
<tr>
<td class="gutter">13</td>
<td class="line1">}</td>
</tr>
<tr>
<td class="gutter">14</td>
<td class="line2">}</td>
</tr>
<tr>
<td class="gutter">15</td>
<td class="line1">}</td>
</tr>
<tr>
<td class="gutter">16</td>
<td class="line2"></td>
</tr>
<tr>
<td class="gutter">17</td>
<td class="line1">#secondary {</td>
</tr>
<tr>
<td class="gutter">18</td>
<td class="line2">font-size: 90%;</td>
</tr>
<tr>
<td class="gutter">19</td>
<td class="line1">.box {</td>
</tr>
<tr>
<td class="gutter">20</td>
<td class="line2">width: @base / 4;</td>
</tr>
<tr>
<td class="gutter">21</td>
<td class="line1">border-bottom: 1px solid @pretty;</td>
</tr>
<tr>
<td class="gutter">22</td>
<td class="line2">}</td>
</tr>
<tr>
<td class="gutter">23</td>
<td class="line1">}</td>
</tr>
<tr>
<td class="gutter">24</td>
<td class="line2"></td>
</tr>
<tr>
<td class="gutter">25</td>
<td class="line1">#footer {</td>
</tr>
<tr>
<td class="gutter">26</td>
<td class="line2">font-size: 80%;</td>
</tr>
<tr>
<td class="gutter">27</td>
<td class="line1">background: @pretty;</td>
</tr>
<tr>
<td class="gutter">28</td>
<td class="line2">color: #fff;</td>
</tr>
<tr>
<td class="gutter">29</td>
<td class="line1">.box {</td>
</tr>
<tr>
<td class="gutter">30</td>
<td class="line2">width: @base / 6;</td>
</tr>
<tr>
<td class="gutter">31</td>
<td class="line1">}</td>
</tr>
<tr>
<td class="gutter">32</td>
<td class="line2">}</td>
</tr>
</tbody>
<thead>
<tr>
<td class="tools-corner"></td>
<td class="tools"><a onclick="dp.sh.Utils.ViewSource(this); return false;" href="http://www.sitepoint.com/blogs/2009/06/30/write-better-css-with-less/#">view plain</a> | <a onclick="dp.sh.Utils.PrintSource(this); return false;" href="http://www.sitepoint.com/blogs/2009/06/30/write-better-css-with-less/#">print</a></td>
</tr>
</thead>
</table>
</div>
<pre style="display: none;"><code>#container {
  width: @base;
}
.box {
  float: left;
}

#main {
  .box {
    width: @base / 3;
      h3 {
        color: @pretty;
      }
  }
}

#secondary {
  font-size: 90%;
  .box {
    width: @base / 4;
    border-bottom: 1px solid @pretty;
  }
}

#footer {
  font-size: 80%;
  background: @pretty;
  color: #fff;
  .box {
    width: @base / 6;
  }
}</code></pre>
<p>Since <code>super</code> looks just like <code>footer</code>, but with a different font, I’ll use Less’s class inclusion technique (they call it a mixin) to tell it to include these declarations too:</p>
<div class="dp-highlighter">
<table class="dp-c" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td class="tools-corner"></td>
</tr>
<tr>
<td class="gutter">1</td>
<td class="line1"><span>#super { </span></td>
</tr>
<tr>
<td class="gutter">2</td>
<td class="line2">#footer;</td>
</tr>
<tr>
<td class="gutter">3</td>
<td class="line1">font-family: cursive;</td>
</tr>
<tr>
<td class="gutter">4</td>
<td class="line2">}</td>
</tr>
</tbody>
<thead>
<tr>
<td class="tools-corner"></td>
<td class="tools"><a onclick="dp.sh.Utils.ViewSource(this); return false;" href="http://www.sitepoint.com/blogs/2009/06/30/write-better-css-with-less/#">view plain</a> | <a onclick="dp.sh.Utils.PrintSource(this); return false;" href="http://www.sitepoint.com/blogs/2009/06/30/write-better-css-with-less/#">print</a></td>
</tr>
</thead>
</table>
</div>
<pre style="display: none;"><code>#super {
  #footer;
  font-family: cursive;
}</code></pre>
<p>I’ll cook up a CSS file using this simple statement on the command line:</p>
<div class="dp-highlighter">
<table class="dp-c" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td class="tools-corner"></td>
</tr>
<tr>
<td class="gutter">1</td>
<td class="line1"><span>lessc mystylesheet.less </span></td>
</tr>
</tbody>
<thead>
<tr>
<td class="tools-corner"></td>
<td class="tools"><a onclick="dp.sh.Utils.ViewSource(this); return false;" href="http://www.sitepoint.com/blogs/2009/06/30/write-better-css-with-less/#">view plain</a> | <a onclick="dp.sh.Utils.PrintSource(this); return false;" href="http://www.sitepoint.com/blogs/2009/06/30/write-better-css-with-less/#">print</a></td>
</tr>
</thead>
</table>
</div>
<pre style="display: none;"><code>lessc mystylesheet.less</code></pre>
<p>Out pops a style sheet with much the same content as the one I made in the usual fashion above, with the exception of my <code>footer</code> and <code>super</code> declarations. Rather than being grouped, the common declarations are repeated:</p>
<div class="dp-highlighter">
<table class="dp-c" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td class="tools-corner"></td>
</tr>
<tr>
<td class="gutter">1</td>
<td class="line1"><span>#footer { </span></td>
</tr>
<tr>
<td class="gutter">2</td>
<td class="line2">font-size: 80%;</td>
</tr>
<tr>
<td class="gutter">3</td>
<td class="line1">background: #450;</td>
</tr>
<tr>
<td class="gutter">4</td>
<td class="line2">color: #fff;</td>
</tr>
<tr>
<td class="gutter">5</td>
<td class="line1">}</td>
</tr>
<tr>
<td class="gutter">6</td>
<td class="line2">#super {</td>
</tr>
<tr>
<td class="gutter">7</td>
<td class="line1">font-size: 80%;</td>
</tr>
<tr>
<td class="gutter">8</td>
<td class="line2">background: #450;</td>
</tr>
<tr>
<td class="gutter">9</td>
<td class="line1">color: #fff;</td>
</tr>
<tr>
<td class="gutter">10</td>
<td class="line2">font-family: cursive;</td>
</tr>
<tr>
<td class="gutter">11</td>
<td class="line1">}</td>
</tr>
</tbody>
<thead>
<tr>
<td class="tools-corner"></td>
<td class="tools"><a onclick="dp.sh.Utils.ViewSource(this); return false;" href="http://www.sitepoint.com/blogs/2009/06/30/write-better-css-with-less/#">view plain</a> | <a onclick="dp.sh.Utils.PrintSource(this); return false;" href="http://www.sitepoint.com/blogs/2009/06/30/write-better-css-with-less/#">print</a></td>
</tr>
</thead>
</table>
</div>
<pre style="display: none;"><code>#footer {
  font-size: 80%;
  background: #450;
  color: #fff;
}
#super {
  font-size: 80%;
  background: #450;
  color: #fff;
  font-family: cursive;
}</code></pre>
<p>More on that small annoyance later.</p>
<p>Now, since Less created much the same style sheet, you might be wondering where I’m going with this. Well, here’s where we come to the part where it’s time to change my mind about the width and color, and this is where Less really comes into its own. This time, I only need to change <em>two lines</em> in my style sheet. First up, let’s adjust the value of the base variable, like this:</p>
<div class="dp-highlighter">
<table class="dp-c" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td class="tools-corner"></td>
</tr>
<tr>
<td class="gutter">1</td>
<td class="line1"><span>@base: 720px; </span></td>
</tr>
</tbody>
<thead>
<tr>
<td class="tools-corner"></td>
<td class="tools"><a onclick="dp.sh.Utils.ViewSource(this); return false;" href="http://www.sitepoint.com/blogs/2009/06/30/write-better-css-with-less/#">view plain</a> | <a onclick="dp.sh.Utils.PrintSource(this); return false;" href="http://www.sitepoint.com/blogs/2009/06/30/write-better-css-with-less/#">print</a></td>
</tr>
</thead>
</table>
</div>
<pre style="display: none;"><code>@base: 720px;</code></pre>
<p>Now, let’s change the green to purple:</p>
<div class="dp-highlighter">
<table class="dp-c" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td class="tools-corner"></td>
</tr>
<tr>
<td class="gutter">1</td>
<td class="line1"><span>@pretty: #619; </span></td>
</tr>
</tbody>
<thead>
<tr>
<td class="tools-corner"></td>
<td class="tools"><a onclick="dp.sh.Utils.ViewSource(this); return false;" href="http://www.sitepoint.com/blogs/2009/06/30/write-better-css-with-less/#">view plain</a> | <a onclick="dp.sh.Utils.PrintSource(this); return false;" href="http://www.sitepoint.com/blogs/2009/06/30/write-better-css-with-less/#">print</a></td>
</tr>
</thead>
</table>
</div>
<pre style="display: none;"><code>@pretty: #619;</code></pre>
<p>Now, I can leave the rest of the declarations alone and generate a new CSS file. The boxes’ width recalculations and color replacements are done for me:</p>
<div class="dp-highlighter">
<table class="dp-c" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td class="tools-corner"></td>
</tr>
<tr>
<td class="gutter">1</td>
<td class="line1"><span>#container { </span></td>
</tr>
<tr>
<td class="gutter">2</td>
<td class="line2">width: 720px;</td>
</tr>
<tr>
<td class="gutter">3</td>
<td class="line1">}</td>
</tr>
<tr>
<td class="gutter">4</td>
<td class="line2">.box {</td>
</tr>
<tr>
<td class="gutter">5</td>
<td class="line1">float: left;</td>
</tr>
<tr>
<td class="gutter">6</td>
<td class="line2">}</td>
</tr>
<tr>
<td class="gutter">7</td>
<td class="line1">#main .box {</td>
</tr>
<tr>
<td class="gutter">8</td>
<td class="line2">width: 240px;</td>
</tr>
<tr>
<td class="gutter">9</td>
<td class="line1">}</td>
</tr>
<tr>
<td class="gutter">10</td>
<td class="line2">#main .box h3 {</td>
</tr>
<tr>
<td class="gutter">11</td>
<td class="line1">color: #619;</td>
</tr>
<tr>
<td class="gutter">12</td>
<td class="line2">}</td>
</tr>
<tr>
<td class="gutter">13</td>
<td class="line1">#secondary {</td>
</tr>
<tr>
<td class="gutter">14</td>
<td class="line2">font-size: 90%;</td>
</tr>
<tr>
<td class="gutter">15</td>
<td class="line1">}</td>
</tr>
<tr>
<td class="gutter">16</td>
<td class="line2">#secondary .box {</td>
</tr>
<tr>
<td class="gutter">17</td>
<td class="line1">border-bottom: 1px solid #619;</td>
</tr>
<tr>
<td class="gutter">18</td>
<td class="line2">width: 180px;</td>
</tr>
<tr>
<td class="gutter">19</td>
<td class="line1">}</td>
</tr>
<tr>
<td class="gutter">20</td>
<td class="line2">#footer {</td>
</tr>
<tr>
<td class="gutter">21</td>
<td class="line1">font-size: 80%;</td>
</tr>
<tr>
<td class="gutter">22</td>
<td class="line2">background: #619;</td>
</tr>
<tr>
<td class="gutter">23</td>
<td class="line1">color: #fff;</td>
</tr>
<tr>
<td class="gutter">24</td>
<td class="line2">}</td>
</tr>
<tr>
<td class="gutter">25</td>
<td class="line1">#footer .box {</td>
</tr>
<tr>
<td class="gutter">26</td>
<td class="line2">width: 120px;</td>
</tr>
<tr>
<td class="gutter">27</td>
<td class="line1">}</td>
</tr>
<tr>
<td class="gutter">28</td>
<td class="line2"></td>
</tr>
<tr>
<td class="gutter">29</td>
<td class="line1">#super {</td>
</tr>
<tr>
<td class="gutter">30</td>
<td class="line2">font-size: 80%;</td>
</tr>
<tr>
<td class="gutter">31</td>
<td class="line1">background: #619;</td>
</tr>
<tr>
<td class="gutter">32</td>
<td class="line2">color: #fff;</td>
</tr>
<tr>
<td class="gutter">33</td>
<td class="line1">font-family: cursive;</td>
</tr>
<tr>
<td class="gutter">34</td>
<td class="line2">}</td>
</tr>
</tbody>
<thead>
<tr>
<td class="tools-corner"></td>
<td class="tools"><a onclick="dp.sh.Utils.ViewSource(this); return false;" href="http://www.sitepoint.com/blogs/2009/06/30/write-better-css-with-less/#">view plain</a> | <a onclick="dp.sh.Utils.PrintSource(this); return false;" href="http://www.sitepoint.com/blogs/2009/06/30/write-better-css-with-less/#">print</a></td>
</tr>
</thead>
</table>
</div>
<pre style="display: none;"><code>#container {
  width: 720px;
}
.box {
  float: left;
}
#main .box {
  width: 240px;
}
#main .box h3 {
  color: #619;
}
#secondary {
  font-size: 90%;
}
#secondary .box {
  border-bottom: 1px solid #619;
  width: 180px;
}
#footer {
  font-size: 80%;
  background: #619;
  color: #fff;
}
#footer .box {
  width: 120px;
}

#super {
  font-size: 80%;
  background: #619;
  color: #fff;
  font-family: cursive;
}</code></pre>
<p>Of course, this is a very simple example. In the real world, a complex grid-based template could contain dozens of declarations based on a single figure; a color scheme could revolve around two or three basic shades. Using Less, we can treat these base definitions as true variables, and spend less time maintaining them.</p>
<p>Less’s inclusion method could be tidier if it was clever enough to group the common elements of the mixed-in declarations. On the other hand, I kind of like the way it comes out here — I like to organize my style sheet into sections according to purpose:</p>
<div class="dp-highlighter">
<table class="dp-c" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td class="tools-corner"></td>
</tr>
<tr>
<td class="gutter">1</td>
<td class="line1"><span>/* heading styles */ </span></td>
</tr>
<tr>
<td class="gutter">2</td>
<td class="line2">&#8230;</td>
</tr>
<tr>
<td class="gutter">3</td>
<td class="line1">/* main content styles */</td>
</tr>
<tr>
<td class="gutter">4</td>
<td class="line2">&#8230;</td>
</tr>
<tr>
<td class="gutter">5</td>
<td class="line1">/* footer styles */</td>
</tr>
<tr>
<td class="gutter">6</td>
<td class="line2">&#8230;</td>
</tr>
</tbody>
<thead>
<tr>
<td class="tools-corner"></td>
<td class="tools"><a onclick="dp.sh.Utils.ViewSource(this); return false;" href="http://www.sitepoint.com/blogs/2009/06/30/write-better-css-with-less/#">view plain</a> | <a onclick="dp.sh.Utils.PrintSource(this); return false;" href="http://www.sitepoint.com/blogs/2009/06/30/write-better-css-with-less/#">print</a></td>
</tr>
</thead>
</table>
</div>
<pre style="display: none;"><code>/* heading styles */
...
/* main content styles */
...
/* footer styles */
...</code></pre>
<p>If there’s a style I like the look of in the heading area, and I want an item in my footer to resemble it, I’d prefer to avoid storing that footer item in my headings section. If you want to be clever and use grouped selectors, you’ll have to put both those styles somewhere. The convenience of the feature outweighs this small nuisance for me, and of course using mixins is absolutely optional.</p>
<p>I love it when clever folk come up with great ways to save time on CSS, and I can see I’ll be making good use of this nifty tool in future. You can <a href="http://lesscss.org/">check out Less at its web site.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.learningjquery.org/index.php/write-better-css-with-less/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The 1Kb CSS Grid Framework</title>
		<link>http://www.learningjquery.org/index.php/the-1kb-css-grid-framework/</link>
		<comments>http://www.learningjquery.org/index.php/the-1kb-css-grid-framework/#comments</comments>
		<pubDate>Sun, 21 Jun 2009 05:49:35 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[CSS-Grid-Framework]]></category>

		<guid isPermaLink="false">http://www.learningjquery.org/?p=18</guid>
		<description><![CDATA[There are various CSS frameworks which offer a grid system, a style reset, basic typography, form styling &#38; more.
But, if you only need a lightweight grid framework to build the skeleton of your website, take a look at the 1Kb CSS Grid.

It supports both fluid grids besides the fixed-width ones and nested rows can be [...]]]></description>
			<content:encoded><![CDATA[<p>There are various <strong>CSS frameworks</strong> which offer a grid system, a style reset, basic typography, form styling &amp; more.</p>
<p>But, if you only need a <strong>lightweight grid framework</strong> to build the skeleton of your website, take a look at the <a href="http://www.1kbgrid.com/" target="_blank"><strong>1Kb CSS Grid</strong></a>.</p>
<p><a href="http://www.1kbgrid.com/" target="_blank"><img src="http://www.webresourcesdepot.com/wp-content/uploads/image/1-kb-css-grid.jpg" alt="1Kb CSS Grid" width="480" height="102" /></a></p>
<p>It supports both fluid grids besides the fixed-width ones and nested rows can be created.</p>
<p>The website of the framework provides a <strong>generator to customize the grid</strong> &amp; download the CSS easily.</p>
<p>Also, <strong>Usability Post</strong> has a very detailed introduction to the <strong>1Kb CSS Grid</strong> in 3 steps. To dig the details, make sure you check them:</p>
<ul>
<li><a href="http://www.usabilitypost.com/2009/05/29/the-1kb-css-grid-part-1/" target="_blank">Introduction</a></li>
<li><a href="http://www.usabilitypost.com/2009/06/06/the-1kb-css-grid-part-2/" target="_blank">Using The Grid For Templating</a></li>
<li><a href="http://www.usabilitypost.com/2009/06/19/the-1kb-css-grid-part-3/" target="_blank">The Details</a> (nested rows, fluid grids..)</li>
</ul>
<p><strong>Special Downloads:</strong><br />
<a href="http://www.webresourcesdepot.com/?download=Free-Admin-Template" target="_blank">Free Admin Template For Web Applications</a><br />
<a href="http://www.webresourcesdepot.com/?download=jQuery-Dynamic-Drag-Drop" target="_blank">jQuery Dynamic Drag’n Drop</a><br />
<a href="http://www.webresourcesdepot.com/?download=sTwitter-1-0" target="_blank">ScheduledTweets</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.learningjquery.org/index.php/the-1kb-css-grid-framework/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Interactive Webdesign with CSS and jQuery</title>
		<link>http://www.learningjquery.org/index.php/interactive-webdesign-with-css-and-jquery/</link>
		<comments>http://www.learningjquery.org/index.php/interactive-webdesign-with-css-and-jquery/#comments</comments>
		<pubDate>Sat, 20 Jun 2009 01:43:24 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://www.learningjquery.org/?p=16</guid>
		<description><![CDATA[Das man mit CSS nahezu alle Ansätze eines Screendesigns umsetzen kann ist nichts neues und auch das dank CSS3 einzelnen HTML-Elementen &#8220;Leben in Form von Bewegung&#8221; eingehaucht werden kann. Da diese zugegebenermaßen nicht unbedingt alltagstauglichen Animationen zudem ( zum heutigen Zeitpunkt ) nur in einem Browser funktionieren, gibt es dank dem JavaScript-Framework jQuery und den [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://webstandard.kulando.de/post/2009/06/02/interactive-webdesign-with-css-and-jquery"><img class="Left" src="http://www.kulando.de/templates/blog_1575/new_greenmarinee/images/css-jquery-preview.jpg" alt="CSS and jQuery" height="96" /></a>Das man mit <abbr title="Cascading Style Sheets">CSS</abbr> nahezu alle Ansätze eines Screendesigns umsetzen kann ist nichts neues und auch das dank <a href="http://dev.w3.org/csswg/css3-animations/">CSS3</a> einzelnen <abbr title="Hypertext Markup Language">HTML</abbr>-Elementen <strong>&#8220;Leben in Form von Bewegung&#8221;</strong> eingehaucht werden kann. Da diese zugegebenermaßen nicht unbedingt alltagstauglichen <a href="http://www.webmasterpro.de/coding/article/css-referenz-animations.html">Animationen</a> zudem ( zum heutigen Zeitpunkt ) nur in einem Browser funktionieren, gibt es dank dem JavaScript-Framework <a href="http://webstandard.kulando.de/post/2008/09/12/best-of-jquery-tutorials">jQuery</a> und den zahlreichen Plugins die täglich durch kreative Köpfe entstehen, zahlreiche Alternativen. Die folgende kleine Auflistung präsentiert daher heute &#8220;Elemente mit Bewegung&#8221;, basierend auf <strong><abbr title="Cascading Style Sheets">CSS</abbr> &amp; jQuery</strong>.</p>
<p><strong>Toggle with CSS &amp; jQuery</strong><br />
<a href="http://www.sohtanaka.com/web-design/easy-toggle-jquery-tutorial/"><img src="http://www.kulando.de/templates/blog_1575/new_greenmarinee/images/css-jquery-toggle.jpg" alt="Toggle with CSS and jQuery" /></a></p>
<p><strong>Smart Columns with CSS &amp; jQuery</strong><br />
<a href="http://www.sohtanaka.com/web-design/smart-columns-w-css-jquery"><img src="http://www.kulando.de/templates/blog_1575/new_greenmarinee/images/css-jquery-coloumns.jpg" alt="Smart Columns" /></a></p>
<p><strong>Fade in &#8211; Fade out</strong><br />
<a href="http://hv-designs.co.uk/2009/01/19/jquery-fade-infade-out/"><img src="http://www.kulando.de/templates/blog_1575/new_greenmarinee/images/css-jquery-fade-in.jpg" alt="Fade in - Fade out" /></a></p>
<p><strong>Newsticker made by CSS and 10 lines of jQuery</strong><br />
<a href="http://woork.blogspot.com/2009/05/how-to-implement-news-ticker-with.html"><img src="http://www.kulando.de/templates/blog_1575/new_greenmarinee/images/css-jquery-newsticker.jpg" alt="Newsticker made by CSS and jQuery " /></a></p>
<p><strong>CSS Dock Menu</strong><br />
<a href="http://www.ndesign-studio.com/blog/mac/css-dock-menu"><img src="http://www.kulando.de/templates/blog_1575/new_greenmarinee/images/css-jquery-dock-menu.jpg" alt="CSS Dock Menu" /></a></p>
<p><strong>How to Make a Smooth Animated Menu with jQuery</strong><br />
<a href="http://buildinternet.com/2009/01/how-to-make-a-smooth-animated-menu-with-jquery/"><img src="http://www.kulando.de/templates/blog_1575/new_greenmarinee/images/css-jquery-animated-menu.jpg" alt="Animated Menu" /></a></p>
<p><strong>Targeting Advanced Elements in jQuery</strong><br />
<a href="http://designreviver.com/tips/targeting-advanced-elements-in-jquery"><img src="http://www.kulando.de/templates/blog_1575/new_greenmarinee/images/css-jquery-targeting-elements.jpg" alt="Targeting Advanced Elements in jQuery" /></a></p>
<p><strong>Page Peel Effect with jQuery &amp; CSS</strong><br />
<a href="http://www.sohtanaka.com/web-design/simple-page-peel-effect-with-jquery-css"><img src="http://www.kulando.de/templates/blog_1575/new_greenmarinee/images/css-jquery-pagepeel.jpg" alt="Page Peel Effect" /></a></p>
<p><strong>jBreadCrumb</strong><br />
<a href="http://www.comparenetworks.com/developers/jqueryplugins/jbreadcrumb.html"><img src="http://www.kulando.de/templates/blog_1575/new_greenmarinee/images/css-jquery-jBreadCrumb.jpg" alt="jBreadCrumb" /></a></p>
<p><strong>CSS Gradient Text Effect</strong><br />
<a href="http://www.webdesignerwall.com/tutorials/css-gradient-text-effect/"><img src="http://www.kulando.de/templates/blog_1575/new_greenmarinee/images/css-jquery-gradient-text.jpg" alt="Gradient Text Effect" /></a></p>
<p>Wer auch diesmal weitere interessante <a href="http://webstandard.kulando.de/post/2008/09/12/best-of-jquery-tutorials">jQuery-Anwendungsbeispiele</a> ( für togglen, faden, sliden ) kennt und sie mit anderen teilen möchte, ist hiermit dazu aufgerufen den entsprechenden Link im Kommentarbereich zu kommunizieren.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.learningjquery.org/index.php/interactive-webdesign-with-css-and-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
