<?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>Luffy.hk</title>
	<atom:link href="http://www.luffy.hk/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.luffy.hk</link>
	<description>Just another WordPress site</description>
	<lastBuildDate>Fri, 27 Aug 2010 17:45:25 +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>CSS &amp; CSS3 入門介紹 &#8211; round corner 圓角功能</title>
		<link>http://www.luffy.hk/2010/06/firstcsscss3/</link>
		<comments>http://www.luffy.hk/2010/06/firstcsscss3/#comments</comments>
		<pubDate>Sun, 20 Jun 2010 18:02:56 +0000</pubDate>
		<dc:creator>Luffy</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[CSS3]]></category>

		<guid isPermaLink="false">http://www.luffy.hk/?p=71</guid>
		<description><![CDATA[CSS &#8211; Cascade Style Sheet 寫網頁直接embed style不就好了嗎? 也許在早期用文字編輯器的人都會有這種諗法, &#160; 為什麼要有一張SHEET裝好全部TAG的STYLE? &#160; 沒錯, 就是因為易於管理的關係. 試想想一個細小的頁面, TAG用不多當然很易修改, 但若一多起上來, 面對著一個龐大既專案, 每一個也要改則廢時失事, 找尋貼上的冗長功夫不是人人能忍受. CSS的牽髮動全身既妙用, 用後你必能感受得到 &#160; 為什麼會有CSS2.0, CSS3? &#160; 數字都只是代表STANDARD, 跟隨著W3C定立的Specification, 現今各大瀏覽器都會跟隨著STANDARD乖乖而開發, 不再給古時候的開發員一個亂世的混戰. 以前IE都只照顧著自己開發自家的STANDARD, 導致常常左顧右盼那些功能不支援, 又要特別的HACK才能做到一些效果&#8230;相信隨著IE6, 7慢慢遠去的時候, CSS, HTML STANDARD 才有正統的地位受各大瀏覽器的支援. 來到CSS3 standard, 比較新的技術, 你可以透過一些特別的設定加入圓角效果(Round Corner), 陰影, 連旋轉效果也可以做到 也加入一些selector, nth-child select等功能, 相當方便. (不用設EVEN, ODD了, XD) &#160; 先來個基本解說, 在一般CSS的檔案中, 開一個出來你或許會看見&#8230; [...]]]></description>
			<content:encoded><![CDATA[<h3><strong>CSS &#8211; Cascade Style Sheet</strong></h3>
<p><span id="more-71"></span></p>
<p>寫網頁直接embed style不就好了嗎? 也許在早期用文字編輯器的人都會有這種諗法,</p>
<p>&nbsp;</p>
<p><strong>為什麼要有一張SHEET裝好全部TAG的STYLE?</strong></p>
<p>&nbsp;</p>
<p>沒錯, 就是因為易於管理的關係. 試想想一個細小的頁面, TAG用不多當然很易修改,</p>
<p>但若一多起上來, 面對著一個龐大既專案, 每一個也要改則廢時失事, 找尋貼上的冗長功夫不是人人能忍受.</p>
<p>CSS的牽髮動全身既妙用, 用後你必能感受得到</p>
<p>&nbsp;</p>
<p><strong>為什麼會有CSS2.0, CSS3?</strong></p>
<p>&nbsp;</p>
<p>數字都只是代表STANDARD, 跟隨著W3C定立的Specification, 現今各大瀏覽器都會跟隨著STANDARD乖乖而開發,</p>
<p>不再給古時候的開發員一個亂世的混戰. 以前IE都只照顧著自己開發自家的STANDARD, 導致常常左顧右盼那些功能不支援,</p>
<p>又要特別的HACK才能做到一些效果&#8230;相信隨著IE6, 7慢慢遠去的時候, CSS, HTML STANDARD</p>
<p>才有正統的地位受各大瀏覽器的支援.</p>
<p>來到CSS3 standard, 比較新的技術, 你可以透過一些特別的設定加入圓角效果(Round Corner), 陰影,</p>
<p>連旋轉效果也可以做到 也加入一些selector, nth-child select等功能, 相當方便. (不用設EVEN, ODD了, XD)</p>
<p>&nbsp;</p>
<p>先來個基本解說, 在一般CSS的檔案中, 開一個出來你或許會看見&#8230;</p>
<p>&nbsp;</p>
<pre class="brush:css">.last_article{
    color: white;
}
#content{
    font-size: 10px;
}
div{
    padding-left:20px;
}</pre>
<p>對應著以下HTML</p>
<pre class="brush:html">
<div id="content">2010-08-27</div>
<div class="last_article">text</div>
</pre>
<p>&nbsp;</p>
<p>為什麼會有. (dot), # (sharp) 的分別? #content即對應DIV TAG中的ID ATTRIBUTE, 而 .last_article即對應CLASS</p>
<p>ATTRIBUTE. id在整個DOM HTML中最好設為唯一的值, 不要有其他給予TAG用上一樣的ID.</p>
<p>若用在某些代表一整塊BLOCK的時候, 我自己會選擇用id. 想為某幾個同類型的TAG加入風格時就用CLASS吧.</p>
<p>沒有加上. 或# 在前頭的話就代表著他給予全部div TAG 都有padding-left:20px的屬性.</p>
<p>接下來我想介紹CSS3新增的功能: 圓角 (Round Corner)</p>
<p>在現今的瀏覽器當中, 就算很緊隨W3C中形容的CSS3功能也好, 也未必一定全也可以實現得到.</p>
<p>在這裡我會介紹幾種主要會用到的瀏覽器, Internet Explorer, Firefox, Safari, Chrome, Opera.</p>
<p>除左前者的第9代瀏覽器, 其他都能對CSS3有較佳的支援, 他們有自己各自對應的名目,</p>
<p>Firefox, -moz 起頭, Safari, Chrome -webkit 起頭, 如果你想令你的網頁功能在各大瀏覽器表現一致,</p>
<p>有時候同一個功能你必須寫上三句才能做到&#8230;沒有統一的standard只會為難了開發人員呢.</p>
<p>&nbsp;</p>
<p>首先說一說圓角的作法:</p>
<pre class="brush:css">    .roundcorner{
         border: 1px solid black;
         -webkit-border-radius: 15px; //safari, chrome
         -moz-border-radius: 15px; //Firefox
         border-radius: 15px; //ie9, opera
         text-align:center;
     }</pre>
<p>對應HTML</p>
<pre class="brush:html">
<div>我們都是這樣成長的</div>
</pre>
<p>&nbsp;</p>
<p>效果(如果你正是用ie9, ff, chrome, safari, opera 應會看到border四個角變圓了, 若你的瀏覽器版本太舊也許還沒支援CSS3功能.):</p>
<div style="border: 1px solid black; -webkit-border-radius: 15px; -moz-border-radius: 15px;border-radius: 15px; text-align: center;">我們都是這樣成長的</div>
<p>&nbsp;</p>
<p>CSS3還有gradient, rotate 等等很好玩多變的功能,<br />
抓著一張CHEATSHEET去試著各種功能吧~~~~</p>
<p>&nbsp;</p>
<p><a href="http://media.smashingmagazine.com/wp-content/uploads/images/css3-cheat-sheet/css3-cheat-sheet.pdf">CSS3 Cheatsheet</a></p>
<p>&nbsp;</p>
<p>以後再有機會會為大家介紹更多的CSS3功能~</p>
]]></content:encoded>
			<wfw:commentRss>http://www.luffy.hk/2010/06/firstcsscss3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linkmoon</title>
		<link>http://www.luffy.hk/2010/06/www-linkmoon-com/</link>
		<comments>http://www.luffy.hk/2010/06/www-linkmoon-com/#comments</comments>
		<pubDate>Sun, 20 Jun 2010 16:46:25 +0000</pubDate>
		<dc:creator>Luffy</dc:creator>
				<category><![CDATA[Portfolio]]></category>

		<guid isPermaLink="false">http://www.luffy.hk/?p=50</guid>
		<description><![CDATA[CSS Gallery &#8211; Technologies: PHP, Mysql, Ajax, Jquery]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.linkmoon.com">CSS Gallery</a> &#8211; Technologies: PHP, Mysql, Ajax, Jquery</p>
]]></content:encoded>
			<wfw:commentRss>http://www.luffy.hk/2010/06/www-linkmoon-com/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>天悅置業顧問行</title>
		<link>http://www.luffy.hk/2010/06/www-skylikeproperty-com-hk/</link>
		<comments>http://www.luffy.hk/2010/06/www-skylikeproperty-com-hk/#comments</comments>
		<pubDate>Sun, 20 Jun 2010 16:45:07 +0000</pubDate>
		<dc:creator>Luffy</dc:creator>
				<category><![CDATA[Portfolio]]></category>

		<guid isPermaLink="false">http://www.luffy.hk/?p=48</guid>
		<description><![CDATA[CMS &#8211; Technologies: PHP, Mysql, Joomla, Flash]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.skylikeproperty.com.hk">CMS</a> &#8211; Technologies: PHP, Mysql, Joomla, Flash</p>
]]></content:encoded>
			<wfw:commentRss>http://www.luffy.hk/2010/06/www-skylikeproperty-com-hk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Brohk 香港微博</title>
		<link>http://www.luffy.hk/2010/06/www-brohk-com/</link>
		<comments>http://www.luffy.hk/2010/06/www-brohk-com/#comments</comments>
		<pubDate>Sun, 20 Jun 2010 16:40:25 +0000</pubDate>
		<dc:creator>Luffy</dc:creator>
				<category><![CDATA[Portfolio]]></category>

		<guid isPermaLink="false">http://www.luffy.hk/?p=45</guid>
		<description><![CDATA[Social Portal &#8211; Technologies: PHP, Mysql, Sharetronix, Actionscript, Social Plugin..]]></description>
			<content:encoded><![CDATA[<p><a href="www.brohk.com">Social Portal</a> &#8211; Technologies: PHP, Mysql, Sharetronix, Actionscript, Social Plugin..</p>
]]></content:encoded>
			<wfw:commentRss>http://www.luffy.hk/2010/06/www-brohk-com/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Emegasia</title>
		<link>http://www.luffy.hk/2010/06/www-emegasia-com/</link>
		<comments>http://www.luffy.hk/2010/06/www-emegasia-com/#comments</comments>
		<pubDate>Sun, 20 Jun 2010 16:37:49 +0000</pubDate>
		<dc:creator>Luffy</dc:creator>
				<category><![CDATA[Portfolio]]></category>

		<guid isPermaLink="false">http://www.luffy.hk/?p=43</guid>
		<description><![CDATA[B2B Portal &#8211; Technologies: PHP, Mysql, Codeignitor]]></description>
			<content:encoded><![CDATA[<p><a href="www.emegasia.com">B2B Portal</a> &#8211; Technologies: PHP, Mysql, Codeignitor</p>
]]></content:encoded>
			<wfw:commentRss>http://www.luffy.hk/2010/06/www-emegasia-com/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Megashow</title>
		<link>http://www.luffy.hk/2010/06/www-mega-show-com/</link>
		<comments>http://www.luffy.hk/2010/06/www-mega-show-com/#comments</comments>
		<pubDate>Sun, 20 Jun 2010 16:36:58 +0000</pubDate>
		<dc:creator>Luffy</dc:creator>
				<category><![CDATA[Portfolio]]></category>

		<guid isPermaLink="false">http://www.luffy.hk/?p=40</guid>
		<description><![CDATA[Official Website &#8211; Technologies: PHP, Jquery, Flash, Mootools]]></description>
			<content:encoded><![CDATA[<p><a href="www.mega-show.com">Official Website</a> &#8211; Technologies: PHP, Jquery, Flash, Mootools</p>
]]></content:encoded>
			<wfw:commentRss>http://www.luffy.hk/2010/06/www-mega-show-com/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Consumer Expo</title>
		<link>http://www.luffy.hk/2010/06/www-consumer-expo-com/</link>
		<comments>http://www.luffy.hk/2010/06/www-consumer-expo-com/#comments</comments>
		<pubDate>Sun, 20 Jun 2010 16:34:36 +0000</pubDate>
		<dc:creator>Luffy</dc:creator>
				<category><![CDATA[Portfolio]]></category>

		<guid isPermaLink="false">http://www.luffy.hk/?p=37</guid>
		<description><![CDATA[Official Website &#8211; Technologies: PHP, Jquery, Flash]]></description>
			<content:encoded><![CDATA[<p><a href="www.consumer-expo.com">Official Website</a> &#8211; Technologies: PHP, Jquery, Flash</p>
]]></content:encoded>
			<wfw:commentRss>http://www.luffy.hk/2010/06/www-consumer-expo-com/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Londonasia Expo</title>
		<link>http://www.luffy.hk/2010/06/www-londonasiaexpo-com/</link>
		<comments>http://www.luffy.hk/2010/06/www-londonasiaexpo-com/#comments</comments>
		<pubDate>Sun, 20 Jun 2010 16:29:45 +0000</pubDate>
		<dc:creator>Luffy</dc:creator>
				<category><![CDATA[Portfolio]]></category>

		<guid isPermaLink="false">http://www.luffy.hk/?p=34</guid>
		<description><![CDATA[Official Website &#8211; Technologies: PHP, Jquery, Flash]]></description>
			<content:encoded><![CDATA[<p><a href="www.londonasiaexpo.com">Official Website</a> &#8211; Technologies: PHP, Jquery, Flash</p>
]]></content:encoded>
			<wfw:commentRss>http://www.luffy.hk/2010/06/www-londonasiaexpo-com/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Destiny Dating</title>
		<link>http://www.luffy.hk/2010/06/www-destinydating-com-hk/</link>
		<comments>http://www.luffy.hk/2010/06/www-destinydating-com-hk/#comments</comments>
		<pubDate>Sun, 20 Jun 2010 16:19:18 +0000</pubDate>
		<dc:creator>Luffy</dc:creator>
				<category><![CDATA[Portfolio]]></category>

		<guid isPermaLink="false">http://www.luffy.hk/?p=31</guid>
		<description><![CDATA[Dating Website &#8211; Technologies: PHP, Mysql, Javascript, Jquery:lightbox, Flash]]></description>
			<content:encoded><![CDATA[<p><a href="www.destinydating.com.hk">Dating Website</a> &#8211; Technologies: PHP, Mysql, Javascript, Jquery:lightbox, Flash</p>
]]></content:encoded>
			<wfw:commentRss>http://www.luffy.hk/2010/06/www-destinydating-com-hk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Huge Pharmaceutical Ltd.</title>
		<link>http://www.luffy.hk/2010/06/www-topharvest-hkhuge/</link>
		<comments>http://www.luffy.hk/2010/06/www-topharvest-hkhuge/#comments</comments>
		<pubDate>Sun, 20 Jun 2010 16:17:00 +0000</pubDate>
		<dc:creator>Luffy</dc:creator>
				<category><![CDATA[Portfolio]]></category>

		<guid isPermaLink="false">http://www.luffy.hk/?p=28</guid>
		<description><![CDATA[Official Website &#8211; Technologies: PHP, Mysql, Javascript, Flash]]></description>
			<content:encoded><![CDATA[<p>Official Website &#8211; Technologies: PHP, Mysql, Javascript, Flash</p>
]]></content:encoded>
			<wfw:commentRss>http://www.luffy.hk/2010/06/www-topharvest-hkhuge/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

