<?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>UECSS.COM &#187; linda_淋</title>
	<atom:link href="http://uecss.com/author/ailin0807/feed" rel="self" type="application/rss+xml" />
	<link>http://uecss.com</link>
	<description>专注前端开发，关注用户体验，记录成长历程</description>
	<lastBuildDate>Thu, 12 Jan 2012 02:11:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>关于!important</title>
		<link>http://uecss.com/about-important.html</link>
		<comments>http://uecss.com/about-important.html#comments</comments>
		<pubDate>Mon, 13 Jun 2011 08:45:11 +0000</pubDate>
		<dc:creator>linda_淋</dc:creator>
				<category><![CDATA[前端开发]]></category>
		<category><![CDATA[CSS3]]></category>

		<guid isPermaLink="false">http://uecss.com/?p=1396</guid>
		<description><![CDATA[关于!important众所周知，这个规则对Ie6.0,Ie7.0和Firefox能写hack，这里的原理属性我想每个人都很清楚。但在前一段时间一同事用!important这个属性特写了一个样式达到想要的目的，当时我没有明白其中的原理，我问他未果！后来我查了查资料才明白其中的原理. 1、当!important用在两个样式的时候，这时他的作遥原理就是解决各个浏览器之间的兼容问题。 2、当!important单独用在一个样式中，那么它则起保护作用，在任何需要保护的属性后面插入它可以避免被基于特性的属性覆盖。例如：#nav a{color:red;} a{color:yelllow !important},通常，一个带有id名#nav的元素里的一个链接会变为红色，因为这个#nav a比标签 a样式具体的多，但因为包含了！important，以为则会这个属性永远胜出。 其实这里也最主要的关于css优先级，一个标签选择器1分，一个类选择器10分，一个id选择器100，一个行内样式1000，！important就当无限分吧，分值相同时按后出现优先的原则算。 而且这个样式在每个浏览器中都能支持!]]></description>
			<content:encoded><![CDATA[<p>关于!important众所周知，这个规则对Ie6.0,Ie7.0和Firefox能写hack，这里的原理属性我想每个人都很清楚。但在前一段时间一同事用!important这个属性特写了一个样式达到想要的目的，当时我没有明白其中的原理，我问他未果！后来我查了查资料才明白其中的原理.</p>
<p>1、当!important用在两个样式的时候，这时他的作遥原理就是解决各个浏览器之间的兼容问题。</p>
<p>2、当!important单独用在一个样式中，那么它则起保护作用，在任何需要保护的属性后面插入它可以避免被基于特性的属性覆盖。例如：#nav a{color:red;} a{color:yelllow !important},通常，一个带有id名#nav的元素里的一个链接会变为红色，因为这个#nav a比标签 a样式具体的多，但因为包含了！important，以为则会这个属性永远胜出。</p>
<p>其实这里也最主要的关于css优先级，一个标签选择器1分，一个类选择器10分，一个id选择器100，一个行内样式1000，！important就当无限分吧，分值相同时按后出现优先的原则算。</p>
<p>而且这个样式在每个浏览器中都能支持!</p>
]]></content:encoded>
			<wfw:commentRss>http://uecss.com/about-important.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>今天不谈技术</title>
		<link>http://uecss.com/%e4%bb%8a%e5%a4%a9%e4%b8%8d%e8%b0%88%e6%8a%80%e6%9c%af.html</link>
		<comments>http://uecss.com/%e4%bb%8a%e5%a4%a9%e4%b8%8d%e8%b0%88%e6%8a%80%e6%9c%af.html#comments</comments>
		<pubDate>Fri, 22 Apr 2011 06:26:58 +0000</pubDate>
		<dc:creator>linda_淋</dc:creator>
				<category><![CDATA[活在当下]]></category>

		<guid isPermaLink="false">http://uecss.com/?p=1354</guid>
		<description><![CDATA[从上一篇文章到现在应该有一个月的时间了，现在我想感叹一下时间过的很快之外再感叹一下时间过的很快哈另也想感叹一下这一个月的生活，所以今天的主题是不谈技术。 本来我是不想发一些无用的牢骚在blog上面，因为我觉得这样很不应该，但又控制不住那一点点的小激动，所以别闲我烦呐^_^.回想一下这个月的生活其实也蛮丰富多采的，第一周在为辞职的事情和老板一直冷战;第二周在为找工作的事情一直寝食难安;第三周却在新的公司接受像之前同事说的那种封闭式的工作。在这中间离开了一趟上海虽行程不远，但也可以用焦虑不安来形容，然后又参加了拥抱“HTML5”的一个活动，收获不少却很疲惫。好像一直都是处在失望与绝望中！ 这个过程虽然有些辛苦有些复杂，但却更容易让人成长。人生的亮点在于看看走过的路然后去总结下面的路怎么走，而工作的亮点也不过于此,在辞职和找工作的这个过程中发现生活中自己处事方式不太对，在工作中开始对自己太过于自信以至于碰壁到对自己的怀凝，以及对这个工作的了解和热情关系，总之认清形式了解情况去学习去钻研呐，努力去做一个好学生，哈哈！ 最后谢谢大家听我啰嗦，也谢谢大家对我的帮助和支持！]]></description>
			<content:encoded><![CDATA[<p>从上一篇文章到现在应该有一个月的时间了，现在我想感叹一下时间过的很快之外再感叹一下时间过的很快哈另也想感叹一下这一个月的生活，所以今天的主题是不谈技术。</p>
<p>本来我是不想发一些无用的牢骚在blog上面，因为我觉得这样很不应该，但又控制不住那一点点的小激动，所以别闲我烦呐^_^.回想一下这个月的生活其实也蛮丰富多采的，第一周在为辞职的事情和老板一直冷战;第二周在为找工作的事情一直寝食难安;第三周却在新的公司接受像之前同事说的那种封闭式的工作。在这中间离开了一趟上海虽行程不远，但也可以用焦虑不安来形容，然后又参加了拥抱“HTML5”的一个活动，收获不少却很疲惫。好像一直都是处在失望与绝望中！</p>
<p><span id="more-1354"></span></p>
<p>这个过程虽然有些辛苦有些复杂，但却更容易让人成长。人生的亮点在于看看走过的路然后去总结下面的路怎么走，而工作的亮点也不过于此,在辞职和找工作的这个过程中发现生活中自己处事方式不太对，在工作中开始对自己太过于自信以至于碰壁到对自己的怀凝，以及对这个工作的了解和热情关系，总之认清形式了解情况去学习去钻研呐，努力去做一个好学生，哈哈！</p>
<p>最后谢谢大家听我啰嗦，也谢谢大家对我的帮助和支持！</p>
]]></content:encoded>
			<wfw:commentRss>http://uecss.com/%e4%bb%8a%e5%a4%a9%e4%b8%8d%e8%b0%88%e6%8a%80%e6%9c%af.html/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>关于CSS 旋转</title>
		<link>http://uecss.com/about-css-rotation.html</link>
		<comments>http://uecss.com/about-css-rotation.html#comments</comments>
		<pubDate>Tue, 22 Mar 2011 06:10:00 +0000</pubDate>
		<dc:creator>linda_淋</dc:creator>
				<category><![CDATA[前端开发]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[xhtml/css]]></category>
		<category><![CDATA[浏览器]]></category>

		<guid isPermaLink="false">http://uecss.com/?p=1243</guid>
		<description><![CDATA[实现这个方法很简单，只要我们利用好css旋转属性就OK了。看一下效果图： 看完效果分析一下：这里有三个嵌套的元素：第一个是最外层不做任何的变化，第二个是第二层元素做顺时针旋转，第三个是最里层元素在同一方向作逆时针旋转。如图： HTML &#60;div class=&#34;box&#34;&#62; &#60;div class=&#34;inner&#34;&#62; &#60;div class=&#34;content&#34;&#62;&#60;img src=&#34;img.jpg&#34; alt=&#34;my bike&#34; /&#62;&#60;/div&#62; &#60;/div&#62; &#60;/div&#62; The CSS 在三个元素中最重要的一个属性是：overflow:hidden.如上所说第一个元素不做任何的旋转，给一个固定的width and height.第二个元素和第三个元素同时旋转，但两者旋转的方向一个是顺时针一个是逆时针，旋转的角度是一样的。设置好后可以做进一步的调整，使其更加美观。 /* angled box styles */ &#160; .box&#123; width:700px; height:300px; background:#ccc; overflow:hidden; margin:1em 0; &#125; .box .inner&#123; -moz-transform:rotate&#40;20deg&#41;; -webkit-transform:rotate&#40;20deg&#41;; -o-transform:rotate&#40;20deg&#41;; width:300px; height:450px; margin-top:-70px; margin-right:100px; overflow:hidden; background:#aaa; float:right; border:3px solid #fff; &#125; .box .inner .content&#123; -moz-transform:rotate&#40;-20deg&#41;; -webkit-transform:rotate&#40;-20deg&#41;; [...]]]></description>
			<content:encoded><![CDATA[<p>实现这个方法很简单，只要我们利用好css旋转属性就OK了。看一下效果图：</p>
<p><a href="http://uecss.com/wp-content/uploads/2011/03/screenshot1.jpg"><img src="http://uecss.com/wp-content/uploads/2011/03/screenshot1.jpg" alt="" width="581" height="289" class="alignnone size-full wp-image-1273" /></a></p>
<p>看完效果分析一下：这里有三个嵌套的元素：第一个是最外层不做任何的变化，第二个是第二层元素做顺时针旋转，第三个是最里层元素在同一方向作逆时针旋转。如图：</p>
<p><a href="http://uecss.com/wp-content/uploads/2011/03/angled1.gif"><img src="http://uecss.com/wp-content/uploads/2011/03/angled1.gif" alt="" width="581" height="320" class="alignnone size-full wp-image-1272" /></a></p>
<p><strong>HTML</strong></p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;div class=&quot;box&quot;&gt;
	&lt;div class=&quot;inner&quot;&gt;
		&lt;div class=&quot;content&quot;&gt;&lt;img src=&quot;img.jpg&quot; alt=&quot;my bike&quot; /&gt;&lt;/div&gt;
	&lt;/div&gt;
&lt;/div&gt;</pre></div></div>

<p><strong>The CSS</strong><br />
<span id="more-1243"></span></p>
<p>在三个元素中最重要的一个属性是：overflow:hidden.如上所说第一个元素不做任何的旋转，给一个固定的width and  height.第二个元素和第三个元素同时旋转，但两者旋转的方向一个是顺时针一个是逆时针，旋转的角度是一样的。设置好后可以做进一步的调整，使其更加美观。</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">/* angled box styles */</span>
&nbsp;
.box<span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">700px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span><span style="color: #933;">300px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#ccc</span><span style="color: #00AA00;">;</span>	
	<span style="color: #000000; font-weight: bold;">overflow</span><span style="color: #00AA00;">:</span><span style="color: #993333;">hidden</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span><span style="color: #933;">1em</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
	<span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.box</span> .inner<span style="color: #00AA00;">&#123;</span>
	-moz-transform<span style="color: #00AA00;">:</span>rotate<span style="color: #00AA00;">&#40;</span>20deg<span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
	-webkit-transform<span style="color: #00AA00;">:</span>rotate<span style="color: #00AA00;">&#40;</span>20deg<span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
	-o-transform<span style="color: #00AA00;">:</span>rotate<span style="color: #00AA00;">&#40;</span>20deg<span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">300px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span><span style="color: #933;">450px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin-top</span><span style="color: #00AA00;">:</span><span style="color: #933;">-70px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin-right</span><span style="color: #00AA00;">:</span><span style="color: #933;">100px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">overflow</span><span style="color: #00AA00;">:</span><span style="color: #993333;">hidden</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#aaa</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span><span style="color: #000000; font-weight: bold;">right</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span><span style="color: #933;">3px</span> <span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#fff</span><span style="color: #00AA00;">;</span>
	<span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.box</span> <span style="color: #6666ff;">.inner</span> .<span style="color: #000000; font-weight: bold;">content</span><span style="color: #00AA00;">&#123;</span>
	-moz-transform<span style="color: #00AA00;">:</span>rotate<span style="color: #00AA00;">&#40;</span>-20deg<span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
	-webkit-transform<span style="color: #00AA00;">:</span>rotate<span style="color: #00AA00;">&#40;</span>-20deg<span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
	-o-transform<span style="color: #00AA00;">:</span>rotate<span style="color: #00AA00;">&#40;</span>-20deg<span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">500px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span><span style="color: #933;">320px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin-top</span><span style="color: #00AA00;">:</span><span style="color: #933;">60px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin-left</span><span style="color: #00AA00;">:</span><span style="color: #933;">-80px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">overflow</span><span style="color: #00AA00;">:</span><span style="color: #993333;">hidden</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#f1f1f1</span><span style="color: #00AA00;">;</span>	
	<span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>因为用到的属性是css3中的，所以在ie里的效果没有chrome和firefox以及其他浏览器美观。</p>
<p>另外再写一种我在工作中遇到的关于图片旋转的方案，当然所用的的css属性基本上都是一致的：</p>
<p><strong>HTML</strong></p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;div class=&quot;photo_box&quot;&gt;
    &lt;div class=&quot;photo photo1&quot;&gt; &lt;img src=&quot;image.gif&quot; &gt; &lt;div&gt;
    &lt;div class=&quot;photo photo2&quot;&gt; &lt;img src=&quot;image.gif&quot; &gt; &lt;div&gt;
    &lt;div class=&quot;photo photo3&quot;&gt; &lt;img src=&quot;image.gif&quot; &gt; &lt;div&gt;
    &lt;div class=&quot;photo photo4&quot;&gt; &lt;img src=&quot;image.gif&quot; &gt; &lt;div&gt;
&lt;div&gt;</pre></div></div>

<p><strong>The CSS</strong></p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #6666ff;">.photo_box</span> <span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span><span style="color: #993333;">relative</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">350px</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span><span style="color: #933;">250px</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span><span style="color: #933;">0px</span> <span style="color: #993333;">auto</span><span style="color: #00AA00;">;</span> 
<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span><span style="color: #000000; font-weight: bold;">right</span><span style="color: #00AA00;">;</span> 
<span style="color: #000000; font-weight: bold;">margin-right</span><span style="color: #00AA00;">:</span><span style="color: #933;">20px</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.photo</span><span style="color: #00AA00;">&#123;</span> 
<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">350px</span><span style="color: #00AA00;">;</span> 
<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span><span style="color: #933;">250px</span><span style="color: #00AA00;">;</span> 
<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span><span style="color: #993333;">absolute</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.photo</span> img <span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">background-color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#FFFFFF</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span><span style="color: #933;">1px</span> <span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#666</span><span style="color: #00AA00;">;</span> 
<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">350px</span><span style="color: #00AA00;">;</span> 
<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span><span style="color: #933;">250px</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #6666ff;">.photo1</span> <span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">top</span><span style="color: #00AA00;">:</span><span style="color: #933;">10px</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">:</span><span style="color: #933;">60px</span><span style="color: #00AA00;">;</span>
transform<span style="color: #00AA00;">:</span>rotate<span style="color: #00AA00;">&#40;</span>5deg<span style="color: #00AA00;">&#41;</span> scale<span style="color: #00AA00;">&#40;</span><span style="color: #cc66cc;">0.5</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
-o-transform<span style="color: #00AA00;">:</span>rotate<span style="color: #00AA00;">&#40;</span>5deg<span style="color: #00AA00;">&#41;</span> scale<span style="color: #00AA00;">&#40;</span><span style="color: #cc66cc;">0.5</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
-webkit-transform<span style="color: #00AA00;">:</span>rotate<span style="color: #00AA00;">&#40;</span>5deg<span style="color: #00AA00;">&#41;</span> scale<span style="color: #00AA00;">&#40;</span><span style="color: #cc66cc;">0.5</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
-moz-transform<span style="color: #00AA00;">:</span>rotate<span style="color: #00AA00;">&#40;</span>5deg<span style="color: #00AA00;">&#41;</span> scale<span style="color: #00AA00;">&#40;</span><span style="color: #cc66cc;">0.5</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.photo2</span> <span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">top</span><span style="color: #00AA00;">:</span><span style="color: #933;">30px</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">:</span><span style="color: #933;">80px</span><span style="color: #00AA00;">;</span>
transform<span style="color: #00AA00;">:</span>rotate<span style="color: #00AA00;">&#40;</span>8deg<span style="color: #00AA00;">&#41;</span> scale<span style="color: #00AA00;">&#40;</span><span style="color: #cc66cc;">0.5</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
-o-transform<span style="color: #00AA00;">:</span>rotate<span style="color: #00AA00;">&#40;</span>8deg<span style="color: #00AA00;">&#41;</span> scale<span style="color: #00AA00;">&#40;</span><span style="color: #cc66cc;">0.5</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
-webkit-transform<span style="color: #00AA00;">:</span>rotate<span style="color: #00AA00;">&#40;</span>8deg<span style="color: #00AA00;">&#41;</span> scale<span style="color: #00AA00;">&#40;</span><span style="color: #cc66cc;">0.5</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
-moz-transform<span style="color: #00AA00;">:</span>rotate<span style="color: #00AA00;">&#40;</span>8deg<span style="color: #00AA00;">&#41;</span> scale<span style="color: #00AA00;">&#40;</span><span style="color: #cc66cc;">0.5</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.photo3</span> <span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">top</span><span style="color: #00AA00;">:</span><span style="color: #933;">35px</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">:</span><span style="color: #933;">-10px</span><span style="color: #00AA00;">;</span>
transform<span style="color: #00AA00;">:</span>rotate<span style="color: #00AA00;">&#40;</span>-10deg<span style="color: #00AA00;">&#41;</span> scale<span style="color: #00AA00;">&#40;</span><span style="color: #cc66cc;">0.5</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
-o-transform<span style="color: #00AA00;">:</span>rotate<span style="color: #00AA00;">&#40;</span>-10deg<span style="color: #00AA00;">&#41;</span> scale<span style="color: #00AA00;">&#40;</span><span style="color: #cc66cc;">0.5</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
-webkit-transform<span style="color: #00AA00;">:</span>rotate<span style="color: #00AA00;">&#40;</span>-10deg<span style="color: #00AA00;">&#41;</span> scale<span style="color: #00AA00;">&#40;</span><span style="color: #cc66cc;">0.5</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
-moz-transform<span style="color: #00AA00;">:</span>rotate<span style="color: #00AA00;">&#40;</span>-10deg<span style="color: #00AA00;">&#41;</span> scale<span style="color: #00AA00;">&#40;</span><span style="color: #cc66cc;">0.5</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.photo4</span> <span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">top</span><span style="color: #00AA00;">:</span><span style="color: #933;">15px</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">:</span><span style="color: #933;">50px</span><span style="color: #00AA00;">;</span>
transform<span style="color: #00AA00;">:</span>rotate<span style="color: #00AA00;">&#40;</span>-5deg<span style="color: #00AA00;">&#41;</span> scale<span style="color: #00AA00;">&#40;</span><span style="color: #cc66cc;">0.5</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
-o-transform<span style="color: #00AA00;">:</span>rotate<span style="color: #00AA00;">&#40;</span>-5deg<span style="color: #00AA00;">&#41;</span> scale<span style="color: #00AA00;">&#40;</span><span style="color: #cc66cc;">0.5</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
-webkit-transform<span style="color: #00AA00;">:</span>rotate<span style="color: #00AA00;">&#40;</span>-5deg<span style="color: #00AA00;">&#41;</span> scale<span style="color: #00AA00;">&#40;</span><span style="color: #cc66cc;">0.5</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
-moz-transform<span style="color: #00AA00;">:</span>rotate<span style="color: #00AA00;">&#40;</span>-5deg<span style="color: #00AA00;">&#41;</span> scale<span style="color: #00AA00;">&#40;</span><span style="color: #cc66cc;">0.5</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.photo</span><span style="color: #3333ff;">:hover </span><span style="color: #00AA00;">&#123;</span>
transform<span style="color: #00AA00;">:</span>rotate<span style="color: #00AA00;">&#40;</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">&#41;</span> scale<span style="color: #00AA00;">&#40;</span><span style="color: #cc66cc;">0.5</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
-o-transform<span style="color: #00AA00;">:</span>rotate<span style="color: #00AA00;">&#40;</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">&#41;</span> scale<span style="color: #00AA00;">&#40;</span><span style="color: #cc66cc;">0.5</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
-webkit-transform<span style="color: #00AA00;">:</span>rotate<span style="color: #00AA00;">&#40;</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">&#41;</span> scale<span style="color: #00AA00;">&#40;</span><span style="color: #cc66cc;">0.5</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
-moz-transform<span style="color: #00AA00;">:</span>rotate<span style="color: #00AA00;">&#40;</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">&#41;</span> scale<span style="color: #00AA00;">&#40;</span><span style="color: #cc66cc;">0.5</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">z-index</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">2</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">cursor</span><span style="color: #00AA00;">:</span><span style="color: #993333;">pointer</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>当然这里的top和left的值可以随便设置，只要看着美观就OK。当然这种旋转的方法在IE里面是不兼容的，不过我可能过改变位置的方法使它在层次上面变得美观一些。当然这个例子是基于上面例子之上的。</p>
<p>既然图片可以旋转，那么文字必然也可以做旋转了，方法和图片差不多。但在网上查了一下，发现用的最多的就是writing-mode : lr-tb、tb-rl属性，但是这个属性并不是所有的浏览器都支持，为此困扰了一阵子。现在介绍一种兼容ie firefox chrome的文字旋转90度的方法：只要我们在sytle中加上以下style就OK了</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">.<span style="color: #993333;">text</span><span style="color: #00AA00;">&#123;</span>
<span style="color: #808080; font-style: italic;">/* for firefox, safari, chrome, etc. */</span>
-webkit-transform<span style="color: #00AA00;">:</span> rotate<span style="color: #00AA00;">&#40;</span>90deg<span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
-moz-transform<span style="color: #00AA00;">:</span> rotate<span style="color: #00AA00;">&#40;</span>90deg<span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
<span style="color: #808080; font-style: italic;">/* for IE */</span>
filter<span style="color: #00AA00;">:</span> progid<span style="color: #3333ff;">:DXImageTransform</span><span style="color: #6666ff;">.Microsoft</span>.BasicImage<span style="color: #00AA00;">&#40;</span>rotation<span style="color: #00AA00;">=</span><span style="color: #cc66cc;">1</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>文字的旋转相对于图片来说更容易一些也更易于兼容浏览器。</p>
]]></content:encoded>
			<wfw:commentRss>http://uecss.com/about-css-rotation.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>30个漂亮有创意的404未找到错误页面</title>
		<link>http://uecss.com/30-beautiful-and-innovative-404-error-page-not-found.html</link>
		<comments>http://uecss.com/30-beautiful-and-innovative-404-error-page-not-found.html#comments</comments>
		<pubDate>Fri, 04 Jun 2010 07:41:22 +0000</pubDate>
		<dc:creator>linda_淋</dc:creator>
				<category><![CDATA[前端开发]]></category>
		<category><![CDATA[Design]]></category>

		<guid isPermaLink="false">http://uecss.com/?p=446</guid>
		<description><![CDATA[错误页面并不需要难看。 在网站上，任何一个断开的链接将会导致404未找到错误页面。对于这个问题现在 有两种方法可以解决。 选项1：目前，用户使用旧的和默认的错误页面，其中显示没有错误信息的其他。 选项2：第二个解决方案是目前习惯设计一个错误页的页面来解决这个问题或是提示他们可以看一些其他的东西。 你认为哪一种更好呢？显然，第二个选项。 这收集了30个集漂亮和创意的404未找到错误页面： 1. Mark Dijkstra 2. Chris Jennings 3. Carsonified 4. Astuteo 5. daniel karcher 6. HootSuite 7. Mixx 8. Frye / Wiles 9. Wufoo 10. deviantART 11. ferdaze.com 12. habrahabr.ru 13. Future of Web Design 14. Popscreen 15. Twurn 16. Propeller 17. CUOMA Design Studios 18. Product Planner 19. [...]]]></description>
			<content:encoded><![CDATA[<p style="font-size:14px">错误页面并不需要难看。 在网站上，任何一个断开的链接将会导致404未找到错误页面。对于这个问题现在 有两种方法可以解决。</p>
<p style="font-size:14px">选项1：目前，用户使用旧的和默认的错误页面，其中显示没有错误信息的其他。</p>
<p style="font-size:14px">选项2：第二个解决方案是目前习惯设计一个错误页的页面来解决这个问题或是提示他们可以看一些其他的东西。</p>
<p style="font-size:14px">你认为哪一种更好呢？显然，第二个选项。</p>
<p></p>
<p style="font-size:14px;"><strong>这收集了30个集漂亮和创意的404未找到错误页面：</strong></p>
<div>
<h4><a href="http://www.markdijkstra.eu/404">1. Mark Dijkstra</a></h4>
</div>
<div style="width:556px;padding:3px;border:1px solid #CCC"><a href="http://uecss.com/wp-content/uploads/2010/06/mark3.jpg"><img src="http://uecss.com/wp-content/uploads/2010/06/mark3-300x132.jpg" alt="" width="550" height="242" class="alignleft size-medium wp-image-451" /></a></p>
<div style="width:556px;height:1px;overflow:hidden;clear:both"></div>
</div>
<div>
<h4><a href="http://chrisjennings.com/404">2. Chris Jennings</a></h4>
</div>
<div style="width:556px;padding:5px;border:1px solid #CCC"><a href="http://uecss.com/wp-content/uploads/2010/06/chris.jpg"><img src="http://uecss.com/wp-content/uploads/2010/06/chris-300x278.jpg" alt="" width="550" height="511" class="alignleft size-medium wp-image-452" /></a></p>
<div style="height:1px;overflow:hidden;clear:both"></div>
</div>
<p><span id="more-446"></span></p>
<div>
<h4><a href="http://carsonified.com/abc">3. Carsonified</a></h4>
</div>
<div style="width:556px;padding:3px;border:1px solid #CCC"><a href="http://uecss.com/wp-content/uploads/2010/06/carsonified.jpg"><img src="http://uecss.com/wp-content/uploads/2010/06/carsonified-300x144.jpg" alt="" width="550" height="265" class="alignleft size-medium wp-image-454" /></a></p>
<div style="height:1px;overflow:hidden;clear:both"></div>
</div>
<div>
<h4><a href="http://astuteo.com/social-media">4. Astuteo</a></h4>
</div>
<div style="width:556px;padding:3px;border:1px solid #CCC"><a href="http://uecss.com/wp-content/uploads/2010/06/astuteo.jpg"><img src="http://uecss.com/wp-content/uploads/2010/06/astuteo.jpg" alt="" width="550" height="212" class="alignleft size-full wp-image-457" /></a></p>
<div style="height:1px;overflow:hidden;clear:both"></div>
</div>
<div>
<h4><a href="http://www.bluedaniel.com/404">5. daniel karcher</a></h4>
</div>
<div style="width:556px;padding:3px;border:1px solid #CCC"><a href="http://uecss.com/wp-content/uploads/2010/06/daniel.jpg"><img src="http://uecss.com/wp-content/uploads/2010/06/daniel.jpg" alt="" width="550" height="231" class="alignleft size-full wp-image-459" /></a></p>
<div style="height:1px;overflow:hidden;clear:both"></div>
</div>
<div>
<h4><a href="http://hootsuite.com/404">6. HootSuite</a></h4>
</div>
<div style="width:556px;padding:3px;border:1px solid #CCC"><a href="http://uecss.com/wp-content/uploads/2010/06/hootsuite.jpg"><img src="http://uecss.com/wp-content/uploads/2010/06/hootsuite.jpg" alt="" width="550" height="320" class="alignleft size-full wp-image-460" /></a></p>
<div style="height:1px;overflow:hidden;clear:both"></div>
</div>
<div>
<h4><a href="http://www.mixx.com/404">7. Mixx</a></h4>
</div>
<div style="width:556px;padding:3px;border:1px solid #CCC"><a href="http://uecss.com/wp-content/uploads/2010/06/mixx2.jpg"><img src="http://uecss.com/wp-content/uploads/2010/06/mixx2.jpg" alt="" width="550" height="288" class="alignleft size-full wp-image-463" /></a></p>
<div style="height:1px;overflow:hidden;clear:both"></div>
</div>
<div>
<h4><a href="http://fryewiles.com/templateserrors/404.html">8. Frye  / Wiles</a></h4>
</div>
<div style="width:556px;padding:3px;border:1px solid #CCC"><a href="http://uecss.com/wp-content/uploads/2010/06/frye.jpg"><img src="http://uecss.com/wp-content/uploads/2010/06/frye.jpg" alt="" width="550" height="237" class="alignleft size-full wp-image-464" /></a></p>
<div style="height:1px;overflow:hidden;clear:both"></div>
</div>
<div>
<h4><a href="http://wufoo.com/404/">9. Wufoo</a></h4>
</div>
<div style="width:556px;padding:3px;border:1px solid #CCC"><a href="http://uecss.com/wp-content/uploads/2010/06/wufoo.jpg"><img src="http://uecss.com/wp-content/uploads/2010/06/wufoo.jpg" alt="" width="550" height="290" class="alignleft size-full wp-image-467" /></a></p>
<div style="height:1px;overflow:hidden;clear:both"></div>
</div>
<div>
<h4><a href="http://www.deviantart.com/404">10. deviantART</a></h4>
</div>
<div style="width:556px;padding:3px;border:1px solid #CCC"><a href="http://uecss.com/wp-content/uploads/2010/06/deviantart.jpg"><img src="http://uecss.com/wp-content/uploads/2010/06/deviantart.jpg" alt="" width="550" height="354" class="alignleft size-full wp-image-466" /></a></p>
<div style="height:1px;overflow:hidden;clear:both"></div>
</div>
<div>
<h4><a href="http://www.ferdaze.com/errors/401/">11. ferdaze.com</a></h4>
</div>
<div style="width:556px;padding:3px;border:1px solid #CCC"><a href="http://uecss.com/wp-content/uploads/2010/06/ferdaze.jpg"><img src="http://uecss.com/wp-content/uploads/2010/06/ferdaze.jpg" alt="" width="550" height="311" class="alignleft size-full wp-image-468" /></a></p>
<div style="height:1px;overflow:hidden;clear:both"></div>
</div>
<div>
<h4><a href="http://habrahabr.ru/showme404/">12. habrahabr.ru</a></h4>
</div>
<div style="width:556px;padding:3px;border:1px solid #CCC"><a href="http://uecss.com/wp-content/uploads/2010/06/habrahabr.jpg"><img src="http://uecss.com/wp-content/uploads/2010/06/habrahabr.jpg" alt="" width="550" height="235" class="alignleft size-full wp-image-469" /></a></p>
<div style="height:1px;overflow:hidden;clear:both"></div>
</div>
<div>
<h4><a href="http://futureofwebdesign.com/404">13. Future of Web  Design</a></h4>
</div>
<div style="width:556px;padding:3px;border:1px solid #CCC"><a href="http://uecss.com/wp-content/uploads/2010/06/future.jpg"><img src="http://uecss.com/wp-content/uploads/2010/06/future.jpg" alt="" width="550" height="255" class="alignleft size-full wp-image-470" /></a></p>
<div style="height:1px;overflow:hidden;clear:both"></div>
</div>
<div>
<h4><a href="http://www.popscreen.com/404">14. Popscreen</a></h4>
</div>
<div style="width:556px;padding:3px;border:1px solid #CCC"><a href="http://uecss.com/wp-content/uploads/2010/06/popscreen.jpg"><img src="http://uecss.com/wp-content/uploads/2010/06/popscreen.jpg" alt="" width="550" height="290" class="alignleft size-full wp-image-471" /></a></p>
<div style="height:1px;overflow:hidden;clear:both"></div>
</div>
<div>
<h4><a href="http://twurn.com/500">15. Twurn</a></h4>
</div>
<div style="width:556px;padding:3px;border:1px solid #CCC"><a href="http://uecss.com/wp-content/uploads/2010/06/rwurn.jpg"><img src="http://uecss.com/wp-content/uploads/2010/06/rwurn.jpg" alt="" width="550" height="269" class="alignleft size-full wp-image-472" /></a></p>
<div style="height:1px;overflow:hidden;clear:both"></div>
</div>
<div>
<h4><a href="http://www.propeller.com/404abc">16. Propeller</a></h4>
</div>
<div style="width:556px;padding:3px;border:1px solid #CCC"><a href="http://uecss.com/wp-content/uploads/2010/06/propeller.jpg"><img src="http://uecss.com/wp-content/uploads/2010/06/propeller.jpg" alt="" width="550" height="342" class="alignleft size-full wp-image-473" /></a></p>
<div style="height:1px;overflow:hidden;clear:both"></div>
</div>
<div>
<h4><a href="http://www.cuoma.com/404">17. CUOMA Design Studios</a></h4>
</div>
<div style="width:556px;padding:3px;border:1px solid #CCC"><a href="http://uecss.com/wp-content/uploads/2010/06/cuoma.jpg"><img src="http://uecss.com/wp-content/uploads/2010/06/cuoma.jpg" alt="" width="550" height="328" class="alignleft size-full wp-image-474" /></a></p>
<div style="height:1px;overflow:hidden;clear:both"></div>
</div>
<div>
<h4><a href="http://productplanner.com/404">18. Product Planner</a></h4>
</div>
<div style="width:556px;padding:3px;border:1px solid #CCC"><a href="http://uecss.com/wp-content/uploads/2010/06/product.jpg"><img src="http://uecss.com/wp-content/uploads/2010/06/product.jpg" alt="" width="550" height="263" class="alignleft size-full wp-image-475" /></a></p>
<div style="height:1px;overflow:hidden;clear:both"></div>
</div>
<div>
<h4><a href="http://www.tattoosales.com/404.aspx">19. TattooSales.com</a></h4>
</div>
<div style="width:556px;padding:3px;border:1px solid #CCC"><a href="http://uecss.com/wp-content/uploads/2010/06/tattoosales1.jpg"><img src="http://uecss.com/wp-content/uploads/2010/06/tattoosales1.jpg" alt="" width="550" height="390" class="alignleft size-full wp-image-477" /></a></p>
<div style="height:1px;overflow:hidden;clear:both"></div>
</div>
<div>
<h4><a href="http://www.spreadshirt.com/t-shirt-C3219">20. Spreadshirt</a></h4>
</div>
<div style="width:556px;padding:3px;border:1px solid #CCC"><a href="http://uecss.com/wp-content/uploads/2010/06/spreadshirt.jpg"><img src="http://uecss.com/wp-content/uploads/2010/06/spreadshirt.jpg" alt="" width="550" height="323" class="alignleft size-full wp-image-478" /></a></p>
<div style="height:1px;overflow:hidden;clear:both"></div>
</div>
<div>
<h4><a href="http://bloqhead.com/404">21. Bloqhead.com</a></h4>
</div>
<div style="width:556px;padding:3px;border:1px solid #CCC"><a href="http://uecss.com/wp-content/uploads/2010/06/bloqhead.jpg"><img src="http://uecss.com/wp-content/uploads/2010/06/bloqhead.jpg" alt="" width="550" height="266" class="alignleft size-full wp-image-480" /></a></p>
<div style="height:1px;overflow:hidden;clear:both"></div>
</div>
<div>
<h4><a href="http://www.clubpenguin.com/404">22. Club Penguin</a></h4>
</div>
<div style="width:556px;padding:3px;border:1px solid #CCC"><a href="http://uecss.com/wp-content/uploads/2010/06/club.jpg"><img src="http://uecss.com/wp-content/uploads/2010/06/club.jpg" alt="" width="550" height="249" class="alignleft size-full wp-image-481" /></a></p>
<div style="height:1px;overflow:hidden;clear:both"></div>
</div>
<div>
<h4><a href="http://www.jimcromwell.com/jimscripts/404.html">23. Jim  Cromwell</a></h4>
</div>
<div style="width:556px;padding:3px;border:1px solid #CCC"><a href="http://uecss.com/wp-content/uploads/2010/06/jim.jpg"><img src="http://uecss.com/wp-content/uploads/2010/06/jim.jpg" alt="" width="550" height="273" class="alignleft size-full wp-image-482" /></a></p>
<div style="height:1px;overflow:hidden;clear:both"></div>
</div>
<div>
<h4><a href="http://www.kochatelier-berlin.de/404-fehler/">24. Kochatelier  Berlin</a></h4>
</div>
<div style="width:556px;padding:3px;border:1px solid #CCC"><a href="http://uecss.com/wp-content/uploads/2010/06/kochatelier.jpg"><img src="http://uecss.com/wp-content/uploads/2010/06/kochatelier.jpg" alt="" width="550" height="312" class="alignleft size-full wp-image-483" /></a></p>
<div style="height:1px;overflow:hidden;clear:both"></div>
</div>
<div>
<h4><a href="http://www.acromediainc.com/404">25. Acro Media Inc</a></h4>
</div>
<div style="width:556px;padding:3px;border:1px solid #CCC"><a href="http://uecss.com/wp-content/uploads/2010/06/acro.jpg"><img src="http://uecss.com/wp-content/uploads/2010/06/acro.jpg" alt="" width="550" height="426" class="alignleft size-full wp-image-484" /></a></p>
<div style="height:1px;overflow:hidden;clear:both"></div>
</div>
<div>&lt;h4<a href="http://www.southparkstudios.com/404">&gt;26. South Park  Studios</a></h4>
</div>
<div style="width:556px;padding:3px;border:1px solid #CCC"><a href="http://uecss.com/wp-content/uploads/2010/06/south.jpg"><img src="http://uecss.com/wp-content/uploads/2010/06/south.jpg" alt="" width="550" height="225" class="alignleft size-full wp-image-485" /></a></p>
<div style="height:1px;overflow:hidden;clear:both"></div>
</div>
<div>
<h4><a href="http://www.swiss-miss.com/notfound">27. swissmiss</a></h4>
</div>
<div style="width:556px;padding:3px;border:1px solid #CCC"><a href="http://uecss.com/wp-content/uploads/2010/06/swissmiss.jpg"><img src="http://uecss.com/wp-content/uploads/2010/06/swissmiss.jpg" alt="" width="550" height="373" class="alignleft size-full wp-image-486" /></a></p>
<div style="height:1px;overflow:hidden;clear:both"></div>
</div>
<div>
<h4><a href="http://www.dundeeliving.co.uk/4">28. Dundee Living</a></h4>
</div>
<div style="width:556px;padding:3px;border:1px solid #CCC"><a href="http://uecss.com/wp-content/uploads/2010/06/dundee-living1.jpg"><img src="http://uecss.com/wp-content/uploads/2010/06/dundee-living1.jpg" alt="" width="550" height="243" class="alignleft size-full wp-image-493" /></a></p>
<div style="height:1px;overflow:hidden;clear:both"></div>
</div>
<div>
<h4><a href="http://www.hornets247.com/index.php">29. Hornets247.com</a></h4>
</div>
<div style="width:556px;padding:3px;border:1px solid #CCC"><a href="http://uecss.com/wp-content/uploads/2010/06/hornets1.jpg"><img src="http://uecss.com/wp-content/uploads/2010/06/hornets1.jpg" alt="" width="550" height="315" class="alignleft size-full wp-image-489" /></a></p>
<div style="height:1px;overflow:hidden;clear:both"></div>
</div>
<div>
<h4><a href="http://www.istockphoto.com/4041">30. iStockphoto</a></h4>
</div>
<div style="width:556px;padding:3px;border:1px solid #CCC"><a href="http://uecss.com/wp-content/uploads/2010/06/istockphoto.jpg"><img src="http://uecss.com/wp-content/uploads/2010/06/istockphoto.jpg" alt="" width="550" height="323" class="alignleft size-full wp-image-491" /></a></p>
<div style="height:1px;overflow:hidden;clear:both"></div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://uecss.com/30-beautiful-and-innovative-404-error-page-not-found.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>[转]前端工程师的尴尬处境</title>
		<link>http://uecss.com/change-front-end-engineers-in-an-embarrassing-situation.html</link>
		<comments>http://uecss.com/change-front-end-engineers-in-an-embarrassing-situation.html#comments</comments>
		<pubDate>Wed, 12 May 2010 03:47:15 +0000</pubDate>
		<dc:creator>linda_淋</dc:creator>
				<category><![CDATA[前端开发]]></category>

		<guid isPermaLink="false">http://uecss.com/?p=415</guid>
		<description><![CDATA[跟大家分享一下： A: 某小白MM，B: 后端程序员，C: 美工，D: 前端 A: 哎～D，你是做什么的呀？ D: 前端啊。 A: 前端是干什么的？ D: 前端… 前端就是做网站的。 A: 唉？我看网站不是 B 写出来的嘛，也没见你整天写代码呀？ D: 额… 我是做网站外观… A: 唉？外观不是 C 画出来的吗？也没见你整天开 PS 呀？ D: （汗）我的工作就是把他俩的活儿结合起来… A: [斜视] 唔，就这么轻松的工作嘛，什么都不用你干。 D: [内牛成河]]]></description>
			<content:encoded><![CDATA[<p>跟大家分享一下：</p>
<p>A: 某小白MM，B: 后端程序员，C: 美工，D: 前端</p>
<p>A: 哎～D，你是做什么的呀？</p>
<p>D: 前端啊。</p>
<p>A: 前端是干什么的？</p>
<p>D: 前端… 前端就是做网站的。</p>
<p>A: 唉？我看网站不是 B 写出来的嘛，也没见你整天写代码呀？</p>
<p>D: 额… 我是做网站外观…</p>
<p>A: 唉？外观不是 C 画出来的吗？也没见你整天开 PS 呀？</p>
<p>D: （汗）我的工作就是把他俩的活儿结合起来…</p>
<p>A: [斜视] 唔，就这么轻松的工作嘛，什么都不用你干。</p>
<p>D: [内牛成河]</p>
]]></content:encoded>
			<wfw:commentRss>http://uecss.com/change-front-end-engineers-in-an-embarrassing-situation.html/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>css圆角</title>
		<link>http://uecss.com/css-rounded-corners.html</link>
		<comments>http://uecss.com/css-rounded-corners.html#comments</comments>
		<pubDate>Tue, 27 Apr 2010 03:36:31 +0000</pubDate>
		<dc:creator>linda_淋</dc:creator>
				<category><![CDATA[前端开发]]></category>
		<category><![CDATA[css]]></category>

		<guid isPermaLink="false">http://uecss.com/?p=366</guid>
		<description><![CDATA[css3和html5 在大家的眼中已经不是什么新鲜的事了，但是能兼容它的浏览器却不是全部，而我只是简单的看了它们的一些属性，简单的性的了解了一下。前些时间一个同事让我写一个圆角的div，要求是尽量少放图片，我想到了css3中有这个属性 在网上查了查发现写圆角的方法还是有很多的。大概的总结了以下几点： 1.灵活的圆角 为了能让圆角更加灵活，我们可以把容器里的每个圆角都做成一个独立的元素，通过CSS强行定位到父容器的四个角上。在这个方法里，我们只需要用到下边这个图片。 HTML: &#60;div class=&#34;box&#34;&#62; &#60;span class=&#34;crnr tl&#34;&#62;&#60;/span&#62; &#60;span class=&#34;crnr tr&#34;&#62;&#60;/span&#62; &#60;h3&#62;This is a heading&#60;/h3&#62; &#60;p&#62;Lorem ipsum dolor sit amet,consectetur adipiscing elit. Sed vehicula ligula eu diam tincidunt fermentum. Curabitur facilisis enim non libero cursus eu varius enim suscipit. Ut venenatis vehicula lorem ut hendrerit. Ut adipiscing augue sed ante volutpat eget [...]]]></description>
			<content:encoded><![CDATA[<p>css3和html5 在大家的眼中已经不是什么新鲜的事了，但是能兼容它的浏览器却不是全部，而我只是简单的看了它们的一些属性，简单的性的了解了一下。前些时间一个同事让我写一个圆角的div，要求是尽量少放图片，我想到了css3中有这个属性<br />
在网上查了查发现写圆角的方法还是有很多的。大概的总结了以下几点：</p>
<p><strong>1.灵活的圆角</strong></p>
<p>为了能让圆角更加灵活，我们可以把容器里的每个圆角都做成一个独立的元素，通过CSS强行定位到父容器的四个角上。在这个方法里，我们只需要用到下边这个图片。</p>
<p><a href="http://uecss.com/wp-content/uploads/2010/04/crnr-sprite.jpg"><img src="http://uecss.com/wp-content/uploads/2010/04/crnr-sprite.jpg" alt="" width="40" height="40" class="alignnone size-full wp-image-367" /></a></p>
<p><strong>HTML:</strong></p>
<p><span id="more-366"></span></p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;div class=&quot;box&quot;&gt;
        &lt;span class=&quot;crnr tl&quot;&gt;&lt;/span&gt;
        &lt;span class=&quot;crnr tr&quot;&gt;&lt;/span&gt;
        &lt;h3&gt;This is a heading&lt;/h3&gt;
        &lt;p&gt;Lorem ipsum dolor sit amet,consectetur adipiscing elit. Sed vehicula ligula eu diam tincidunt fermentum. Curabitur facilisis enim non libero cursus eu varius
enim suscipit. Ut venenatis vehicula lorem ut hendrerit. Ut adipiscing augue sed ante volutpat eget ornare erat facilisis. In hac habitasse platea dictumst.&lt;/p&gt;
       &lt;span class=&quot;crnr bl&quot;&gt;&lt;/span&gt;
       &lt;span class=&quot;crnr br&quot;&gt;&lt;/span&gt;
&lt;/div&gt;</pre></div></div>

<p><strong>CSS</strong></p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #6666ff;">.box</span> <span style="color: #00AA00;">&#123;</span>
        <span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span><span style="color: #993333;">relative</span><span style="color: #00AA00;">;</span>
        <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">200px</span><span style="color: #00AA00;">;</span>
        <span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span><span style="color: #933;">300px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.crnr</span> <span style="color: #00AA00;">&#123;</span>
        <span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span><span style="color: #993333;">absolute</span><span style="color: #00AA00;">;</span>
        <span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span><span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000;">&quot;http://uecss.com/wp-content/uploads/2010/04/crnr-sprite.jpg&quot;</span><span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">no-repeat</span><span style="color: #00AA00;">;</span>
        <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">20px</span><span style="color: #00AA00;">;</span>
        <span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span><span style="color: #933;">20px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.tl</span> <span style="color: #00AA00;">&#123;</span>
     <span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
     <span style="color: #000000; font-weight: bold;">top</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
     <span style="color: #000000; font-weight: bold;">background-position</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span> <span style="color: #00AA00;">;</span>
 <span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.tr</span> <span style="color: #00AA00;">&#123;</span>
     <span style="color: #000000; font-weight: bold;">right</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
     <span style="color: #000000; font-weight: bold;">top</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
     <span style="color: #000000; font-weight: bold;">background-position</span><span style="color: #00AA00;">:</span> <span style="color: #933;">-20px</span> <span style="color: #cc66cc;">0</span> <span style="color: #00AA00;">;</span>
 <span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.bl</span> <span style="color: #00AA00;">&#123;</span>
     <span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
     <span style="color: #000000; font-weight: bold;">bottom</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
     <span style="color: #000000; font-weight: bold;">background-position</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">-20px</span> <span style="color: #00AA00;">;</span>
 <span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.br</span> <span style="color: #00AA00;">&#123;</span>
     <span style="color: #000000; font-weight: bold;">right</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
     <span style="color: #000000; font-weight: bold;">bottom</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
     <span style="color: #000000; font-weight: bold;">background-position</span><span style="color: #00AA00;">:</span> <span style="color: #933;">-20px</span> <span style="color: #933;">-20px</span> <span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>优点：能自动适应父容器的大小，浏览器兼容性非常强。</p>
<p>缺点：为了实现圆角，添加了一些没有意义的标记。</p>
<p><strong>2.Border radius（边界半径）</strong></p>
<p>css3中为boder增加的一个属性border-radius，目前这个属性已经被Firefox和Safari 3(Chrome)支持，比较遗憾的是IE不支持此属性。</p>
<p>HTML:</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;div class=&quot;box&quot;&gt;
    &lt;h3&gt;This is a heading&lt;/h3&gt;
    &lt;p&gt;Lorem ipsum dolor sit amet,  consectetur adipiscing elit. Sed vehicula ligula eu diam tincidunt fermentum. Curabitur facilisis enim non libero cursus eu varius
    enim suscipit. Ut venenatis vehicula lorem ut hendrerit. Ut adipiscing augue sed ante volutpat eget ornare erat facilisis. In hac habitasse platea dictumst.&lt;/p&gt;
&lt;/div&gt;</pre></div></div>

<p>CSS:</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #6666ff;">.box</span> <span style="color: #00AA00;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">200px</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span><span style="color: #933;">200px</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">background-color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#EE2E24</span><span style="color: #00AA00;">;</span>
    -moz-border-radius<span style="color: #00AA00;">:</span> <span style="color: #933;">20px</span><span style="color: #00AA00;">;</span>
    -webkit-border-radius<span style="color: #00AA00;">:</span> <span style="color: #933;">20px</span><span style="color: #00AA00;">;</span>
    border-radius<span style="color: #00AA00;">:</span> <span style="color: #933;">20px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>优点：这种方法不需要添加任何多余的标记，而且可以非常方便睇修改圆角的半径，是最易上手的方法。</p>
<p>缺点：虽然符合W3C的标准，但缺乏浏览器支持。</p>
<p><strong>3.多个背景图片</strong></p>
<p>CSS3对background属性做出了一些重大改进，在CSS3标准里，我们可以把多个背景图片应用到同一个元素里。我们利用这个特性为容器加 上圆角效果。HTML代码与上例保持一致，在CSS中需要先把四个圆角的图片分别做好</p>
<p>CSS:</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #6666ff;">.box</span> <span style="color: #00AA00;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">top-left.gif</span><span style="color: #00AA00;">&#41;</span> <span style="color: #000000; font-weight: bold;">top</span> <span style="color: #000000; font-weight: bold;">left</span> <span style="color: #993333;">no-repeat</span><span style="color: #00AA00;">,</span>
    <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">top-right.jpg</span><span style="color: #00AA00;">&#41;</span>  <span style="color: #000000; font-weight: bold;">top</span> <span style="color: #000000; font-weight: bold;">right</span> <span style="color: #993333;">no-repeat</span><span style="color: #00AA00;">,</span>
    <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">bottom-left.gif</span><span style="color: #00AA00;">&#41;</span> <span style="color: #000000; font-weight: bold;">bottom</span> <span style="color: #000000; font-weight: bold;">left</span> <span style="color: #993333;">no-repeat</span><span style="color: #00AA00;">,</span>
    <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">bottom-right.gif</span><span style="color: #00AA00;">&#41;</span> <span style="color: #000000; font-weight: bold;">bottom</span> <span style="color: #000000; font-weight: bold;">right</span> <span style="color: #993333;">repeat-y</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>优点：没有多余的标记，可以分别设置每个圆角的半径。</p>
<p>缺点：使用了W3C未明确定义的方法，浏览器兼容性很差，目前只有Safari和Chrome对此方法支持良好。</p>
<p><strong>4.结合CSS3和JavaScript,兼容所有浏览器</strong></p>
<p>这是一种很不错的实现跨浏览器圆角的解决方案，结合CSS3和JavaScript。CurvyCorners是一个为HTML元素创建漂亮的圆角的免费J该脚本的最大优势是可以在Safari/Chrome/Firefox中<br />
使用原生的CSS3属性(通过-webkit-border-radius和-moz-border-radius私有属性分别支持)而在IE和Opera中使用JavaScript。</p>
<p>你所需要做的就是在页面中引入curvycorners.js:avaScript库。</p>
<p><a href="http://cid-8127d59343265667.skydrive.live.com/self.aspx/NamipanPublic/curvycorners.js">下载这个js</a></p>
<p>然后引用</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>script type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;text/javascript&quot;</span> src<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;curvycorners.js&quot;</span><span style="color: #339933;">&gt;&lt;/</span>script<span style="color: #339933;">&gt;</span></pre></div></div>

<p>然后定义以下样式：</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">.box<span style="color: #00AA00;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">220px</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #933;">10px</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">background-color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#DDEEF6</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span><span style="color: #933;">1px</span> <span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#DDEEF6</span><span style="color: #00AA00;">;</span>
     <span style="color: #808080; font-style: italic;">/* Do rounding (native in Safari, Firefox and Chrome) */</span>
    -webkit-border-radius<span style="color: #00AA00;">:</span> <span style="color: #933;">6px</span><span style="color: #00AA00;">;</span>
    -moz-border-radius<span style="color: #00AA00;">:</span> <span style="color: #933;">6px</span><span style="color: #00AA00;">;</span>
 <span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>然后在上面的样式后面定义以下代码：</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>script type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;text/JavaScript&quot;</span><span style="color: #339933;">&gt;</span>
addEvent<span style="color: #009900;">&#40;</span>window<span style="color: #339933;">,</span> <span style="color: #3366CC;">'load'</span><span style="color: #339933;">,</span> initCorners<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #003366; font-weight: bold;">function</span> initCorners<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	<span style="color: #003366; font-weight: bold;">var</span> setting <span style="color: #339933;">=</span> <span style="color: #009900;">&#123;</span>
	tl<span style="color: #339933;">:</span> <span style="color: #009900;">&#123;</span> radius<span style="color: #339933;">:</span> <span style="color: #CC0000;">6</span> <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
	tr<span style="color: #339933;">:</span> <span style="color: #009900;">&#123;</span> radius<span style="color: #339933;">:</span> <span style="color: #CC0000;">6</span> <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
	bl<span style="color: #339933;">:</span> <span style="color: #009900;">&#123;</span> radius<span style="color: #339933;">:</span> <span style="color: #CC0000;">6</span> <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
	br<span style="color: #339933;">:</span> <span style="color: #009900;">&#123;</span> radius<span style="color: #339933;">:</span> <span style="color: #CC0000;">6</span> <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
	antiAlias<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">true</span>
	<span style="color: #009900;">&#125;</span>
	curvyCorners<span style="color: #009900;">&#40;</span>setting<span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;.roundedCorners&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #339933;">&lt;/</span>script<span style="color: #339933;">&gt;</span></pre></div></div>

<p>tl, tr, bl, br分别是:左上角(top-left)、右上角(top-right)、左下角(bottom-left)、右下角(bottom-right)。</p>
</p>
<p>如果你有不同的CSS类(例如roundedCorners、roundedCorners_1、roundedCorners_2等) 你可以像这样在前面的代码中定义:</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">...
<span style="color: #660066;">curvyCorners</span><span style="color: #009900;">&#40;</span>setting<span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;.roundedCorners&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
curvyCorners<span style="color: #009900;">&#40;</span>setting<span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;.roundedCorners_1&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
curvyCorners<span style="color: #009900;">&#40;</span>setting<span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;.roundedCorners_2&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
...</pre></div></div>

<p>HTML代码如下：</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;div class=&quot;box&quot;&gt; &lt;/div&gt;</pre></div></div>

<p>这样圆角的效果就出现了！</p>
]]></content:encoded>
			<wfw:commentRss>http://uecss.com/css-rounded-corners.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>网站设计欣赏</title>
		<link>http://uecss.com/website-design-appreciation.html</link>
		<comments>http://uecss.com/website-design-appreciation.html#comments</comments>
		<pubDate>Mon, 12 Apr 2010 05:08:13 +0000</pubDate>
		<dc:creator>linda_淋</dc:creator>
				<category><![CDATA[前端开发]]></category>
		<category><![CDATA[Design]]></category>

		<guid isPermaLink="false">http://uecss.com/?p=280</guid>
		<description><![CDATA[之前有看到过一些好的网站，收集了一下，可以看一下： 1、21TORR GmbH 2、afterlab 3、Anumeric 4、Audi Deutschland 5、BCBG Maxazria 6、burton 7、closed 8、evian 9、gigya 10、igloo360 11、tracking-time]]></description>
			<content:encoded><![CDATA[<p>之前有看到过一些好的网站，收集了一下，可以看一下：</p>
<p><strong>1、</strong><a href="http://www.21torr.com/de/">21TORR GmbH</a></p>
<p><a href="http://uecss.com/wp-content/uploads/2010/04/21TORR-GmbH1.jpg"><img src="http://uecss.com/wp-content/uploads/2010/04/21TORR-GmbH1.jpg" alt="" width="500" height="240" class="alignnone size-full wp-image-283" /></a></p>
<p><strong>2、</strong><a href="http://www.afterlab.com/">afterlab</a></p>
<p><a href="http://uecss.com/wp-content/uploads/2010/04/afterlab.jpg"><img src="http://uecss.com/wp-content/uploads/2010/04/afterlab.jpg" alt="" width="500" height="240" class="alignnone size-full wp-image-285" /></a></p>
<p><strong>3、</strong><a href="http://www.alphanumericbrand.com/">Anumeric</a></p>
<p><a href="http://uecss.com/wp-content/uploads/2010/04/Anumeric.jpg"><img src="http://uecss.com/wp-content/uploads/2010/04/Anumeric.jpg" alt="" width="500" height="240" class="alignnone size-full wp-image-287" /></a><span id="more-280"></span></p>
<p><strong>4、</strong><a href="http://www.audi.de/de/brand/de.html">Audi Deutschland</a></p>
<p><a href="http://uecss.com/wp-content/uploads/2010/04/Audi-Deutschland.jpg"><img src="http://uecss.com/wp-content/uploads/2010/04/Audi-Deutschland.jpg" alt="" width="500" height="240" class="alignnone size-full wp-image-288" /></a></p>
<p><strong>5、</strong><a href="http://www.bcbg.com/home/index.jsp">BCBG Maxazria</a></p>
<p><a href="http://uecss.com/wp-content/uploads/2010/04/BCBG-Maxazria.jpg"><img src="http://uecss.com/wp-content/uploads/2010/04/BCBG-Maxazria.jpg" alt="" width="500" height="240" class="alignnone size-full wp-image-289" /></a></p>
<p><strong>6、</strong><a href="http://global.burton.com/on/demandware.store/Sites-Burton_GLOBAL-Site/default">burton</a></p>
<p><a href="http://uecss.com/wp-content/uploads/2010/04/burton.jpg"><img src="http://uecss.com/wp-content/uploads/2010/04/burton.jpg" alt="" width="500" height="240" class="alignnone size-full wp-image-290" /></a></p>
<p><strong>7、</strong><a href="http://www.closed.com/#/home">closed</a></p>
<p><a href="http://uecss.com/wp-content/uploads/2010/04/Closed.jpg"><img src="http://uecss.com/wp-content/uploads/2010/04/Closed.jpg" alt="" width="500" height="240" class="alignnone size-full wp-image-291" /></a></p>
<p><strong>8、</strong><a href="http://www.evian.com/#/zh_CN/4-Home/">evian</a></p>
<p><a href="http://uecss.com/wp-content/uploads/2010/04/Evian.jpg"><img src="http://uecss.com/wp-content/uploads/2010/04/Evian.jpg" alt="" width="500" height="240" class="alignnone size-full wp-image-292" /></a></p>
<p><strong>9、</strong><a href="http://www.gigya.com/public/default.aspx">gigya</a></p>
<p><a href="http://uecss.com/wp-content/uploads/2010/04/gigya.jpg"><img src="http://uecss.com/wp-content/uploads/2010/04/gigya.jpg" alt="" width="500" height="240" class="alignnone size-full wp-image-293" /></a></p>
<p><strong>10、</strong><a href="http://igloo360.com/">igloo360</a></p>
<p><a href="http://uecss.com/wp-content/uploads/2010/04/gloo360.jpg"><img src="http://uecss.com/wp-content/uploads/2010/04/gloo360.jpg" alt="" width="500" height="240" class="alignnone size-full wp-image-294" /></a></p>
<p><strong>11、</strong><a href="http://tracking-time.com/">tracking-time</a></p>
<p><a href="http://uecss.com/wp-content/uploads/2010/04/tracking-time.jpg"><img src="http://uecss.com/wp-content/uploads/2010/04/tracking-time.jpg" alt="" width="500" height="240" class="alignnone size-full wp-image-295" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://uecss.com/website-design-appreciation.html/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>css  框架</title>
		<link>http://uecss.com/framework-css.html</link>
		<comments>http://uecss.com/framework-css.html#comments</comments>
		<pubDate>Sat, 10 Apr 2010 09:39:42 +0000</pubDate>
		<dc:creator>linda_淋</dc:creator>
				<category><![CDATA[前端开发]]></category>
		<category><![CDATA[css]]></category>

		<guid isPermaLink="false">http://uecss.com/?p=275</guid>
		<description><![CDATA[对于小的Web开发项目来说，CSS 框架并不一定就适用，至少不见得能提高多少工作效率。但对于一个开发团队和规模比较大的项目来说，CSS 框架不仅能加快设计进更能解决网站改版中带来的诸多麻烦和问题。当适当地使用CSS框架的时候，或许会减少您开发的进度。相反，如果您在项目中选择了错误的框架，那么就可能会耗费额外的工作和时间。下面来看看一些自认为还可以的css框架： Blueprint: 一款 CSS 框架 Blueprint 是一个 CSS 框架，它的目的是减少你的css开发时间,同时包含了 CSS reset以消除不同浏览器之间的它提供一个可靠的css基础去创建你的项目，BP由一个易用的网格、合理的布差异局和一个打印样式。 YUI Grid CSS YUI Grids CSS 支持像固定宽度布局那样的流宽度布局。这是基于YUI Grids CSS 高级应用，区别于其它 CSS 框架。您可以通过从官方网站中下载快速参考表和YUI Grids生成来开始 YUI Grids CSS 应用。YUI Grids CSS为开发者提供了预先设置的四种不同页面宽度，六种不同的模板。有国外作者曾指出YUI Grids CSS中最值得学习的网格布局CSS写法: 负Margin技术 使用度量单位em 清除布局的浮动 960 Grid System 一款很值得查看的非常出色的CSS框架。该下载包含有Firework，Photoshop，Inkscape等等的模板。所以您可以马上设计网页模板。PSD的文件，已经准备好的配备指南也为设计师们节省了不少时间 YAML CSS Framework YAML 是一个有着良好文档，经得起考验的CSS框架。您可以从官方网站上轻松地下载到PDF文档及示例项目。这里有一些工具会帮助您开发。YAML 的使用者可以视觉上创建基于 YAML CSS 布局。Dirk Jesse的能够对(X)HTML/CSS 框架扩展，支持复杂web项目。YAML基于web标准和支持各种流行浏览器，尤其支持所有IE版本包括从 5.x/Win 到 7.0. [...]]]></description>
			<content:encoded><![CDATA[<p>对于小的Web开发项目来说，CSS 框架并不一定就适用，至少不见得能提高多少工作效率。但对于一个开发团队和规模比较大的项目来说，CSS 框架不仅能加快设计进更能解决网站改版中带来的诸多麻烦和问题。当适当地使用CSS框架的时候，或许会减少您开发的进度。相反，如果您在项目中选择了错误的框架，那么就可能会耗费额外的工作和时间。下面来看看一些自认为还可以的css框架：</p>
<p><a href="http://www.blueprintcss.org/"><strong>Blueprint: 一款 CSS 框架</strong></a></p>
<p>Blueprint 是一个 CSS 框架，它的目的是减少你的css开发时间,同时包含了 CSS reset以消除不同浏览器之间的它提供一个可靠的css基础去创建你的项目，BP由一个易用的网格、合理的布差异局和一个打印样式。 </p>
<p><a href="https://developer.yahoo.com/yui/grids/"><strong>YUI Grid CSS</strong></a></p>
<p>YUI Grids CSS 支持像固定宽度布局那样的流宽度布局。这是基于YUI Grids CSS 高级应用，区别于其它 CSS 框架。您可以通过从官方网站中下载快速参考表和YUI Grids生成来开始 YUI Grids CSS 应用。YUI Grids CSS为开发者提供了预先设置的四种不同页面宽度，六种不同的模板。有国外作者曾指出YUI Grids CSS中最值得学习的网格布局CSS写法:</p>
<ul>
<li> 负Margin技术</li>
<li>使用度量单位em</li>
<li>清除布局的浮动</li>
</ul>
<p><a href="http://960.gs/"><strong>960 Grid System</strong></a></p>
<p>一款很值得查看的非常出色的CSS框架。该下载包含有Firework，Photoshop，Inkscape等等的模板。所以您可以马上设计网页模板。PSD的文件，已经准备好的配备指南也为设计师们节省了不少时间</p>
<p><span id="more-275"></span><br />
<a href="http://www.yaml.de/en/"><strong> YAML CSS Framework </strong></a></p>
<p>YAML 是一个有着良好文档，经得起考验的CSS框架。您可以从官方网站上轻松地下载到PDF文档及示例项目。这里有一些工具会帮助您开发。YAML 的使用者可以视觉上创建基于 YAML CSS 布局。Dirk Jesse的能够对(X)HTML/CSS 框架扩展，支持复杂web项目。YAML基于web标准和支持各种流行浏览器，尤其支持所有IE版本包括从 5.x/Win 到 7.0.</p>
<p><a href="http://www.yaml.de/en/"><strong>Elastic CSS Framework </strong></a></p>
<p>Elastic 提供说明性的语言来定义布局的结构和行为。这个框架很年轻，它演示的非常好的范例都来自官方网站本身。</p>
]]></content:encoded>
			<wfw:commentRss>http://uecss.com/framework-css.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>About Font (续)</title>
		<link>http://uecss.com/about-font-continued.html</link>
		<comments>http://uecss.com/about-font-continued.html#comments</comments>
		<pubDate>Mon, 01 Mar 2010 03:48:00 +0000</pubDate>
		<dc:creator>linda_淋</dc:creator>
				<category><![CDATA[前端开发]]></category>

		<guid isPermaLink="false">http://uecss.com/?p=176</guid>
		<description><![CDATA[上次在Abot Font 中介绍了一些特殊的字体在网页中无法实现的一种解决办法， 我们要去解决他的原因是因为1. 不可能大范围的使用该字体；2. 图片内容相对使用文字不易修改；3. 不利于网站SEO（主流搜索引擎不会将图片alt内容作为判断网页内容相关性的有效因素）。这次学到一个新的解决办法：如何只通过CSS的@font-face属性来实现在网页中嵌入任意字体,相对于上一种一来说更简单一些。来给大家分享一下： 【第一步】 获取要使用字体的三种文件格式，确保能在主流浏览器中都能正常显示该字体。 &#183;TTF或.OTF，适用于Firefox 3.5、Safari、Opera &#183;EOT，适用于Internet Explorer 4.0+ &#183;SVG，适用于Chrome、IPhone 下面要解决的是如何获取到某种字体的这三种格式文件。一般地，我们在手头上（或在设计资源站点已经找到）有该字体的某种格式文件，最常见的是.TTF文件，我们需要通过这种文件格式转换为其余两种文件格式。字体文件格式的转换可以通过网站FontsQuirrel提供的在线字体转换服务获取。它允许我们选择需要的字符生成字体文件（在服务的最后一个选项），这样就大大缩减了字体文件的大小，使得本方案更具实用性。 【第二步】 获取到三种格式的字体文件后，下一步要在样式表中声明该字体，并在需要的地方使用该字体。 字体声明如下： @font-face { font-family: &#8216;fontNameRegular&#8217;; src: url(&#8216;fontName.eot&#8217;); src: local(&#8216;fontName Regular&#8217;), local(&#8216;fontName&#8217;), url(&#8216;fontName.woff&#8217;) format(&#8216;woff&#8217;), url(&#8216;fontName.ttf&#8217;) format(&#8216;truetype&#8217;), url(&#8216;fontName.svg#fontName&#8217;) format(&#8216;svg&#8217;); } /*其中fontName替换为你的字体名称*/ 在页面中需要的地方使用该字体： p { font: 13px fontNameRegular, Arial, sans-serif; } h1{font-family: fontNameRegular} 这样就成功了，大家可以试一试。]]></description>
			<content:encoded><![CDATA[<p>上次在Abot Font 中介绍了一些特殊的字体在网页中无法实现的一种解决办法， 我们要去解决他的原因是因为1. 不可能大范围的使用该字体；2. 图片内容相对使用文字不易修改；3. 不利于网站SEO（主流搜索引擎不会将图片alt内容作为判断网页内容相关性的有效因素）。这次学到一个新的解决办法：如何只通过CSS的@font-face属性来实现在网页中嵌入任意字体,相对于上一种一来说更简单一些。来给大家分享一下：</p>
<p><span id="more-176"></span></p>
<p><strong>【第一步】</strong></p>
<p>获取要使用字体的三种文件格式，确保能在主流浏览器中都能正常显示该字体。</p>
<p>&middot;TTF或.OTF，适用于Firefox 3.5、Safari、Opera<br />
&middot;EOT，适用于Internet Explorer 4.0+<br />
&middot;SVG，适用于Chrome、IPhone</p>
<p>下面要解决的是如何获取到某种字体的这三种格式文件。一般地，我们在手头上（或在设计资源站点已经找到）有该字体的某种格式文件，最常见的是.TTF文件，我们需要通过这种文件格式转换为其余两种文件格式。字体文件格式的转换可以通过网站<a href="http://www.fontsquirrel.com/fontface/generator">FontsQuirrel</a>提供的在线字体转换服务获取。它允许我们选择需要的字符生成字体文件（在服务的最后一个选项），这样就大大缩减了字体文件的大小，使得本方案更具实用性。</p>
<p><strong>【第二步】</strong></p>
<p>获取到三种格式的字体文件后，下一步要在样式表中声明该字体，并在需要的地方使用该字体。</p>
<p>字体声明如下：</p>
<blockquote><p>@font-face {<br />
	font-family: &#8216;fontNameRegular&#8217;;<br />
	src: url(&#8216;fontName.eot&#8217;);<br />
	src: local(&#8216;fontName Regular&#8217;), <br />
              local(&#8216;fontName&#8217;), <br />
              url(&#8216;fontName.woff&#8217;) format(&#8216;woff&#8217;), <br />
              url(&#8216;fontName.ttf&#8217;) format(&#8216;truetype&#8217;)<br />,<br />
              url(&#8216;fontName.svg#fontName&#8217;) format(&#8216;svg&#8217;);<br />
}  <br />
/*其中fontName替换为你的字体名称*/
</p></blockquote>
<p>在页面中需要的地方使用该字体：</p>
<blockquote><p>p { font: 13px fontNameRegular, Arial, sans-serif; }<br />
 h1{font-family: fontNameRegular}
</p></blockquote>
<p>这样就成功了，大家可以试一试。</p>
]]></content:encoded>
			<wfw:commentRss>http://uecss.com/about-font-continued.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>图片自适应屏幕分辨率大小</title>
		<link>http://uecss.com/image-adaptive-screen-resolution-size-of-the-2.html</link>
		<comments>http://uecss.com/image-adaptive-screen-resolution-size-of-the-2.html#comments</comments>
		<pubDate>Mon, 25 Jan 2010 09:14:16 +0000</pubDate>
		<dc:creator>linda_淋</dc:creator>
				<category><![CDATA[前端开发]]></category>

		<guid isPermaLink="false">http://uecss.com/?p=100</guid>
		<description><![CDATA[我们在切图的时候常会遇到这样一个问题：Design of the head常是一个通栏很漂亮的一个图片，它的宽度超过了1024的屏幕分辨率，虽然我们现在用的到的都是大于1024的分辨率，但也不排除用1024或是比1024更小的分辨率。那这个时候这个非常漂亮的图片怎么办呢这个时候我们就可以使用图片随着分辨率的大小自动调整的方法来解决这个问题： 这里我们需要用到一个JS文件,点击下载这个JS: http://cid-8127d59343265667.skydrive.live.com/self.aspx/NamipanPublic/2010-01-25/jquery.js 还有必须前面申明 : &#60;!--CTYPE html PUBLIC &#34;-//W3C//DTD XHTML 1.0 Transitional//EN&#34;&#34;http://www.w3.org/TR/xhtml1/DTD/xhtml1transitional.dt--&#62;&#38;lt;!DOCTYPE html PUBLIC &#34;-//W3C//DTD XHTML 1.0 Transitional//EN&#34;&#34;http://www.w3.org/TR/xhtml1/DTD/xhtml1transitional.dtd&#34;&#38;gt; &#60;html xmlns=&#34;http://www.w3.org/1999/xhtml&#34; &#62; &#60;/html&#62; 不然在ie下面就是没用的 。这些都准备好之后，在img的下面加上这样一段代码： &#60;script type=”text/javascript”&#62; $(“#banner”).width(document.documentElement.clientWidth); &#60;/script&#62; 在图片上引用ID: img src="" id="banner" alt="" 注：这个ID要一至，不然会没有效果。 这时我们会看到图片会自适应分辨率的大小图片会被自动缩放，但是可能会和Design有一些出入。我们可以采用第二种方法： 图片的变化只限于分辨率小于1300或是1024的情况下变化，那么我们的那段代码就要这样去写: &#60;script type=&#34;text/javascript&#34;&#62; if(window.screen.width &#60;= 1024) { $(&#34;#banner&#34;).width(document.documentElement.clientWidth); } &#60;/script&#62; 这样我们就只会看到当分辨率小于1024的时候才会看到图片自动缩放了。]]></description>
			<content:encoded><![CDATA[<p>我们在切图的时候常会遇到这样一个问题：Design of the head常是一个通栏很漂亮的一个图片，它的宽度超过了1024的屏幕分辨率，虽然我们现在用的到的都是大于1024的分辨率，但也不排除用1024或是比1024更小的分辨率。那这个时候这个非常漂亮的图片怎么办呢这个时候我们就可以使用图片随着分辨率的大小自动调整的方法来解决这个问题：</p>
<p>这里我们需要用到一个JS文件,点击下载这个JS:</p>
<p><a href="http://cid-8127d59343265667.skydrive.live.com/self.aspx/NamipanPublic/2010-01-25/jquery.js">http://cid-8127d59343265667.skydrive.live.com/self.aspx/NamipanPublic/2010-01-25/jquery.js</a></p>
<p>还有必须前面申明 :<span id="more-100"></span></p>
<pre>&lt;!--CTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot;&quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1transitional.dt--&gt;&amp;lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot;&quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1transitional.dtd&quot;&amp;gt;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; &gt; &lt;/html&gt;</pre>
<p>不然在ie下面就是没用的 。这些都准备好之后，在img的下面加上这样一段代码：</p>
<blockquote><p>
&lt;script type=”text/javascript”&gt;<br />
$(“#banner”).width(document.documentElement.clientWidth);<br />
&lt;/script&gt;
</p></blockquote>
<p>在图片上引用ID:</p>
<pre>img src="" id="banner" alt="" 注：这个ID要一至，不然会没有效果。</pre>
<p>这时我们会看到图片会自适应分辨率的大小图片会被自动缩放，但是可能会和Design有一些出入。我们可以采用第二种方法： 图片的变化只限于分辨率小于1300或是1024的情况下变化，那么我们的那段代码就要这样去写:</p>
<blockquote><p>&lt;script type=&quot;text/javascript&quot;&gt;<br />
if(window.screen.width &lt;= 1024) { $(&quot;#banner&quot;).width(document.documentElement.clientWidth); }<br />
&lt;/script&gt;
</p></blockquote>
<p>这样我们就只会看到当分辨率小于1024的时候才会看到图片自动缩放了。</p>
]]></content:encoded>
			<wfw:commentRss>http://uecss.com/image-adaptive-screen-resolution-size-of-the-2.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

