<?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>Seateng Blog &#187; CSS</title>
	<atom:link href="http://blog.seateng.cn/tags/css/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.seateng.cn</link>
	<description>[spawn(fun()-&#62;Browser ! {self(), share(X)}end) &#124;&#124; X &#60;- [&#34;Web开发&#34;, &#34;网站构架&#34;, &#34;分布式开发&#34;]]</description>
	<lastBuildDate>Tue, 06 Dec 2011 09:25:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>chrome高亮输入框颜色调整</title>
		<link>http://blog.seateng.cn/archives/2011/06/chrome-input-area-highlighting.html</link>
		<comments>http://blog.seateng.cn/archives/2011/06/chrome-input-area-highlighting.html#comments</comments>
		<pubDate>Thu, 23 Jun 2011 03:18:49 +0000</pubDate>
		<dc:creator>Seateng</dc:creator>
				<category><![CDATA[WEB前端开发]]></category>
		<category><![CDATA[Chrome]]></category>
		<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://blog.seateng.cn/?p=260</guid>
		<description><![CDATA[input[type="text"]:focus, input[type="password"]:focus, textarea:focus { outline: 2px solid #6FA1D9 !important; -webkit-box-shadow:0px 0px 5px #6FA1D9 !important; } input[type="checkbox"]:focus,input[type="submit"]:focus,input[type="reset"]:focus, input[type="radio"]:focus { outline: 1px solid #6FA1D9 !important; } 参考： http://www.douban.com/group/topic/13291053/ http://fis.io/firefox-input-area-highlighting.html]]></description>
			<content:encoded><![CDATA[<p>input[type="text"]:focus, input[type="password"]:focus, textarea:focus {<br />
outline: 2px solid #6FA1D9 !important;<br />
-webkit-box-shadow:0px 0px 5px #6FA1D9 !important;<br />
} </p>
<p>input[type="checkbox"]:focus,input[type="submit"]:focus,input[type="reset"]:focus, input[type="radio"]:focus {<br />
outline: 1px solid #6FA1D9 !important;<br />
} </p>
<p>参考：<br />
<a href="http://www.douban.com/group/topic/13291053/">http://www.douban.com/group/topic/13291053/</a><br />
<a href="http://fis.io/firefox-input-area-highlighting.html">http://fis.io/firefox-input-area-highlighting.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.seateng.cn/archives/2011/06/chrome-input-area-highlighting.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>用YUI Compressor自动化压缩优化</title>
		<link>http://blog.seateng.cn/archives/2009/04/auto-optimize-use-yui-compressor.html</link>
		<comments>http://blog.seateng.cn/archives/2009/04/auto-optimize-use-yui-compressor.html#comments</comments>
		<pubDate>Wed, 29 Apr 2009 08:34:15 +0000</pubDate>
		<dc:creator>Seateng</dc:creator>
				<category><![CDATA[WEB前端开发]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[yuicompressor]]></category>

		<guid isPermaLink="false">http://blog.seateng.cn/?p=130</guid>
		<description><![CDATA[负责的一个WEB项目，发布生产版本时为了优化服务器流量和客户端加载速度，每次都要手动压缩一些CSS和JS文件，十分烦人。今天得闲写了几个简单的脚本，整合在一起把整个发布过程自动化了。抄了一段压缩CSS的脚本放上来，JS文件压缩思路相仿，其他过程略。 #!/bin/sh #检查路径参数是否存在 if [ 0 = $# ] then echo &#34;Usage: $0 Minify CSS Source Dir&#34; exit fi #判断目录是否存在 if [ ! -d $1 ] then echo &#34;$1 : No such Directory&#34; exit fi #压缩CSS文件 for I in `find $1 -type f -name &#34;*.css&#34;` do echo $I java -jar /opt/yuicompressor-2.4.2/build/yuicompressor-2.4.2.jar --charset utf-8 --type css [...]]]></description>
			<content:encoded><![CDATA[<p>负责的一个WEB项目，发布生产版本时为了优化服务器流量和客户端加载速度，每次都要手动压缩一些CSS和JS文件，十分烦人。今天得闲写了几个简单的脚本，整合在一起把整个发布过程自动化了。抄了一段压缩CSS的脚本放上来，JS文件压缩思路相仿，其他过程略。</p>
<pre class="brush: bash; title: ;">
#!/bin/sh
#检查路径参数是否存在
if [ 0 = $# ]
then
    echo &quot;Usage: $0 Minify CSS Source Dir&quot;
    exit
fi
#判断目录是否存在
if [ ! -d $1 ]
then
    echo &quot;$1 : No such Directory&quot;
    exit
fi

#压缩CSS文件
for I in `find $1 -type f -name &quot;*.css&quot;`
do
    echo $I
    java -jar /opt/yuicompressor-2.4.2/build/yuicompressor-2.4.2.jar --charset utf-8 --type css $I -o $I
done
</pre>
<p>参考:<br />
<a href="http://developer.yahoo.com/yui/compressor/" target="_blank">YUI Compressor 主页</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.seateng.cn/archives/2009/04/auto-optimize-use-yui-compressor.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

