<?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>Cordobo &#187; CSS</title>
	<atom:link href="http://cordobo.com/tag/css/feed/" rel="self" type="application/rss+xml" />
	<link>http://cordobo.com</link>
	<description>Weblog of Andreas Jacob on Webdesign and CSS</description>
	<lastBuildDate>Mon, 12 Jul 2010 21:56:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Provide visual feedback using CSS #1</title>
		<link>http://cordobo.com/1119-provide-visual-feedback-css/</link>
		<comments>http://cordobo.com/1119-provide-visual-feedback-css/#comments</comments>
		<pubDate>Thu, 07 May 2009 20:25:38 +0000</pubDate>
		<dc:creator>Andreas Jacob</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[How-To]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[feedback]]></category>
		<category><![CDATA[ui]]></category>
		<category><![CDATA[ux]]></category>

		<guid isPermaLink="false">http://cordobo.com/?p=1119</guid>
		<description><![CDATA[Small changes can cause big improvements. Todays topic is about small css improvements, resulting in visual feedback for your visitors and improvements to your blogs user interface. Most of the CSS below only works in the newest browsers, but it shouldn&#8217;t prevent you from using it. Don&#8217;t just change the color of the link, provide [...]]]></description>
			<content:encoded><![CDATA[<p>Small changes can cause big improvements. Todays topic is about small css improvements, resulting in visual feedback for your visitors and improvements to your blogs user interface. Most of the CSS below only works in the newest browsers, <a href="http://www.stuffandnonsense.co.uk/archives/and_all_that_transcending_css_malarkey.html">but it shouldn&#8217;t prevent you from using it</a>.</p>
<h3>Don&#8217;t just change the color of the link, provide feedback</h3>
<p>Instead of just changing the color of your links, provide your websites&#8217; visitors with visual feedback for their interaction.</p>
<p><span id="more-1119"></span></p>
<h4>1. Improve the contrast between background and foreground</h4>
<p>If you have a low contrast between the link-color and the background-color (white on light-green, like in the image shown above), apply a light <strong>text-shadow</strong> to your navigation links. </p>
<p><img src="http://farm4.static.flickr.com/3397/3511223702_7c8feed527_o.png" alt="Visual Navigation Feedback" /></p>
<p>The text-shadow property adds a grey drop-shadow with one pixel to the bottom relative to the text (0px on the x-axis, 1px on the y-axis, 0px blur radius and the color #555)</p>
<p><code>a:link { text-shadow: 0px 1px 0px #555; }</code></p>
<p><strong>Note:</strong> This effect is only visible in Firefox 3.5+, Safari 3+, Opera 9+ and Chrome.</p>
<h4>2. Highlight the state of the link</h4>
<p>Change the color for an <code>:hover</code> effect, or like I did in the navigation, apply a darker and slightly bigger text-shadow to the link.</p>
<p><img src="http://farm4.static.flickr.com/3631/3511223744_67026bbf30_o.png" alt="Visual Navigation Feedback" /></p>
<p>With the following CSS applied, the link has a light 3D effect, like hovering over the navigation. </p>
<p><code>a:hover { text-shadow: 1px 1px 1px #000; }</code></p>
<p><strong>Note:</strong> this works only in Firefox 3.5+, Safari 3+ and Chrome, but neither in Internet Explorer nor Opera 9+</p>
<h4>3. Show me the click</h4>
<p>If it&#8217;s a link, let the link show some reaction.</p>
<p><img src="http://farm4.static.flickr.com/3633/3510415051_973786141f_o.png" alt="Visual Navigation Feedback" /></p>
<p>Use <code>a:active</code> to apply a small <strong>button-style</strong> effekt to your links. As a result to the code shown below, your link will &#8220;jump&#8221; 1px below its current position.</p>
<p><code>a:active { position: relative; top: 1px; }</code></p>
<h4>4. Seamless transition for links <span class="amp">&amp;</span> visible states</h4>
<p>If image 4 + 5 looks the same to you &mdash; well, that&#8217;s by intention.</p>
<p><img src="http://farm4.static.flickr.com/3554/3511223846_21152f4569_o.png" alt="Visual Navigation Feedback" /><br />
<small>The 1<sup>st</sup> page, right <strong>after you clicked</strong> the link, <strong>but before the 2<sup>nd</sup> page loads</strong>.</small></p>
<p><img src="http://farm4.static.flickr.com/3551/3510415163_5e3b2d9e35_o.png" alt="Visual Navigation Feedback" /><br />
<small>The 2<sup>nd</sup> page <strong>after</strong> the click.</small></p>
<p>I use the same color for <strong>a:focus</strong> and <strong>a.current</strong> (whereas <strong>.current</strong> is the class applied to the current page link on the 2<sup>nd</sup> page.</p>
<p><code>a:focus, a.current { color: #111; }</code></p>
<p>I also used it to create a <strong>seamless transition</strong> between the 1<sup>st</sup> and the 2<sup>nd</sup> page. Note, it&#8217;s only useful if you know, that the now current link on the 2<sup>nd</sup> page is at the same position like the a:focus on the 1<sup>st</sup> page, e.g. the navigation above. Also note, if it&#8217;s not obvious that the new page loaded, because of a very big header using the browsers complete viewport, this effect can be confusing. It can also be confusing if your page loads very fast or very slow.</p>
<h4>5. The complete transition effect</h4>
<p><img src="http://farm4.static.flickr.com/3316/3511177506_c776543ba7_o.png" alt="Visual Navigation Feedback" /></p>
<p>If you haven&#8217;t seen a lot of changes in the images above, open my website with either Firefox 3.5, Safari 4, Chrome 2 or Opera 9+ and check the top navigation above.</p>
<p>Thanks to <a href="http://korsti.de/blog/2009-04-28/physischer-knopf-klick-effekt-mit-css/">Korsti</a> and <a href="http://webzeugkoffer.de/">Björn</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://cordobo.com/1119-provide-visual-feedback-css/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
		<item>
		<title>&#8220;scuffproof&#8221; &#8211; an unbreakable css box</title>
		<link>http://cordobo.com/464-scuffproof-unbreakable-css-box/</link>
		<comments>http://cordobo.com/464-scuffproof-unbreakable-css-box/#comments</comments>
		<pubDate>Wed, 26 Mar 2008 17:41:25 +0000</pubDate>
		<dc:creator>Andreas Jacob</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[box]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Download]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[gradient]]></category>
		<category><![CDATA[rounded corners]]></category>
		<category><![CDATA[scuffproof]]></category>
		<category><![CDATA[unbreakable]]></category>

		<guid isPermaLink="false">http://cordobo.com/2008/03/26/scuffproof-an-unbreakable-css-box/</guid>
		<description><![CDATA[&#8220;scuffproof&#8221; is a little codesnippet I wrote because the solutions available didn&#8217;t fit my needs. &#8220;scuffproof&#8221; is an unbreakable css box with rounded corners and a never-ending gradient background using valid CSS, valid XHTML and some images released under a Creative Commons Attribution 3.0 Unported License. At least, I couldn&#8217;t break it, hope you have [...]]]></description>
			<content:encoded><![CDATA[<p>&#8220;scuffproof&#8221; is a little codesnippet I wrote because the solutions available didn&#8217;t fit my needs. &#8220;scuffproof&#8221; is an unbreakable css box with rounded corners and a never-ending gradient background using valid CSS, valid XHTML and some images released under a Creative Commons Attribution 3.0 Unported License.</p>
<p>At least, I couldn&#8217;t break it, hope you have no chance either to break this box <img src='http://cordobo.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  If you do so, please report it here.</p>
<p><a href="http://www.flickr.com/photos/cordobo/2364543254/" title="scuffproof box by Cordobo, on Flickr"><img src="http://farm4.static.flickr.com/3001/2364543254_e47e1a607b_o.png" width="435" height="273" alt="scuffproof box" /></a></p>
<p>Screenshots and download after the click.</p>
<p><span id="more-464"></span></p>
<p><br/></p>
<h4>Screenshots (listed in alphabetical order)</h4>
<p>Click on any image to see a bigger version.</p>
<p><br/><br />
Internet Explorer 6<br />
<a href="http://www.flickr.com/photos/cordobo/2364492260/" title="scuffproof box Internet Explorer 6 by Cordobo, on Flickr"><img src="http://farm3.static.flickr.com/2305/2364492260_e43d9171bb_m.jpg" width="222" height="240" alt="scuffproof box Internet Explorer 6" /></a></p>
<p><br/><br />
Internet Explorer 7<br />
<a href="http://www.flickr.com/photos/cordobo/2364492124/" title="scuffproof box Internet Explorer 7 by Cordobo, on Flickr"><img src="http://farm4.static.flickr.com/3232/2364492124_dd73ec51d1_m.jpg" width="240" height="185" alt="scuffproof box Internet Explorer 7" /></a></p>
<p><br/><br />
Mozilla Firefox 2<br />
<a href="http://www.flickr.com/photos/cordobo/2363690575/" title="scuffproof box Firefox 2 by Cordobo, on Flickr"><img src="http://farm4.static.flickr.com/3242/2363690575_8c0e74bb3e_m.jpg" width="240" height="224" alt="scuffproof box Firefox 2" /></a></p>
<p><br/><br />
Safari 3.1<br />
<a href="http://www.flickr.com/photos/cordobo/2364492098/" title="scuffproof box Safari by Cordobo, on Flickr"><img src="http://farm4.static.flickr.com/3218/2364492098_7f28c9358b_m.jpg" width="240" height="169" alt="scuffproof box Safari" /></a></p>
<p><br/><br />
Opera 9<br />
<a href="http://www.flickr.com/photos/cordobo/2363660147/" title="scuffproof box Opera 9 by Cordobo, on Flickr"><img src="http://farm3.static.flickr.com/2110/2363660147_316e13a996_m.jpg" width="240" height="171" alt="scuffproof box Opera 9" /></a></p>
<p><br/></p>
<h4>Download</h4>
<p>Version 0.1: <a href='http://cordobo.com/wp-content/uploads/scuffproof_css_box.zip' title='scuffproof - an unbreakable css box'>scuffproof &#8211; an unbreakable css box</a></p>
<p><br/><br />
<a rel="license" href="http://creativecommons.org/licenses/by/3.0/"><img alt="Creative Commons License" style="border-width:0" src="http://i.creativecommons.org/l/by/3.0/88x31.png"/></a><br />
<br/>This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution 3.0 Unported License</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://cordobo.com/464-scuffproof-unbreakable-css-box/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
