<?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>CSS &#8211; Ling&#039;s Note</title>
	<atom:link href="https://www.chunho-ling.com/category/computing/programming/css/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.chunho-ling.com</link>
	<description>Everything related IT, and me.</description>
	<lastBuildDate>Mon, 12 Jun 2017 05:03:32 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
<site xmlns="com-wordpress:feed-additions:1">104401516</site>	<item>
		<title>[CSS] 建立Calendar-like 日期顯示</title>
		<link>https://www.chunho-ling.com/css-%e5%bb%ba%e7%ab%8bcalendar-like-%e6%97%a5%e6%9c%9f%e9%a1%af%e7%a4%ba/</link>
					<comments>https://www.chunho-ling.com/css-%e5%bb%ba%e7%ab%8bcalendar-like-%e6%97%a5%e6%9c%9f%e9%a1%af%e7%a4%ba/#respond</comments>
		
		<dc:creator><![CDATA[C.H. Ling]]></dc:creator>
		<pubDate>Mon, 12 Jun 2017 05:03:32 +0000</pubDate>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[User Experience (UX)]]></category>
		<guid isPermaLink="false">http://www.chunho-ling.com/?p=711</guid>

					<description><![CDATA[早期建立網頁時, 若要建立陰影 / 弧邊的話, 都須要利用修圖軟件幫助, 現在CSS3 亦已支援相對應的東西. 在這裡, 利用了日期顯來做示範.CSS &#60;!-- 設定整格的格式; --&#62; .date { width: 130px; height 160px; background-color: #fcfcfc; &#60;!-- 設定漸變色; --&#62; background: linear-gradient(top, #fcfcfc 0%,#dad8d8 100%); background: -moz-linear-gradient(top, #fcfcfc 0%, #dad8d8 100%); background: <a class="mh-excerpt-more" href="https://www.chunho-ling.com/css-%e5%bb%ba%e7%ab%8bcalendar-like-%e6%97%a5%e6%9c%9f%e9%a1%af%e7%a4%ba/" title="[CSS] 建立Calendar-like 日期顯示">[...]</a>]]></description>
										<content:encoded><![CDATA[<p>早期建立網頁時, 若要建立陰影 / 弧邊的話, 都須要利用修圖軟件幫助, 現在CSS3 亦已支援相對應的東西. 在這裡, 利用了日期顯來做示範.<span id="more-711"></span>CSS</p>
<pre class="lang:css decode:true">&lt;!-- 設定整格的格式; --&gt;
.date
{
	width: 130px; 
	height 160px;
	background-color: #fcfcfc;

	&lt;!-- 設定漸變色; --&gt;
	background: linear-gradient(top, #fcfcfc 0%,#dad8d8 100%);
	background: -moz-linear-gradient(top, #fcfcfc 0%, #dad8d8 100%); 
	background: -webkit-linear-gradient(top, #fcfcfc 0%,#dad8d8 100%);
	
	border: 1px solid #d2d2d2;
	&lt;!-- 設定弧角; --&gt;
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;

	&lt;!-- 設定陰影; --&gt;	
	box-shadow: 0px 0px 15px rgba(0,0,0,0.1);
	-moz-box-shadow: 0px 0px 15px rgba(0,0,0,0.1);
	-webkit-box-shadow: 0px 0px 15px rgba(0,0,0,0.1);
}

&lt;!-- 設定整格文字式樣; --&gt;
.date p
{
	font-family: Helvetica, sans-serif; 
	font-size: 100px; text-align: center; color: #9e9e9e; 
	margin: 0px;
}

&lt;!-- 設定月份式樣. 因為月份在底部, 故須修改其弧位; --&gt;
.date p .month{
	background-color: #d10000; 
	background: linear-gradient(top, #d10000 0%, #7a0909 100%);
	background: -moz-linear-gradient(top, #d10000 0%, #7a0909 100%);
	background: -webkit-linear-gradient(top, #d10000 0%, #7a0909 100%);
	font-size: 25px; font-weight: bold; color: #fff; text-transform: uppercase; 	
	display: block;
	border-top: 3px solid #a13838;
	border-radius: 0 0 10px 10px;
	-moz-border-radius: 0 0 10px 10px;
	-webkit-border-radius: 0 0 10px 10px;
	padding: 6px 0 6px 0;
}

&lt;!-- 設定年份式樣. 因為年份在頂部, 故須修改其弧位; --&gt;
.date p .year{
	background-color: #d10000; 
	background: linear-gradient(top, #d10000 0%, #7a0909 100%);
	background: -moz-linear-gradient(top, #d10000 0%, #7a0909 100%);
	background: -webkit-linear-gradient(top, #d10000 0%, #7a0909 100%);
	font-size: 25px; font-weight: bold; color: #fff; text-transform: uppercase; 	
	display: block;
	border-top: 3px solid #a13838;
	border-radius: 10px 10px 0 0;
	-moz-border-radius: 0 0 10px 10px;
	-webkit-border-radius: 10px 10px 0 0;
	padding: 6px 0 6px 0;
}</pre>
<p>HTML</p>
<pre class="lang:xhtml decode:true ">&lt;div class="date"&gt;
	&lt;p&gt;&lt;span class="year"&gt;2017&lt;/span&gt;25&lt;span class="month"&gt;May&lt;/span&gt;&lt;/p&gt;
&lt;/div&gt;</pre>
<p>&nbsp;</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.chunho-ling.com/css-%e5%bb%ba%e7%ab%8bcalendar-like-%e6%97%a5%e6%9c%9f%e9%a1%af%e7%a4%ba/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">711</post-id>	</item>
		<item>
		<title>[CSS] 於圖片建立相片效果</title>
		<link>https://www.chunho-ling.com/css-%e6%96%bc%e5%9c%96%e7%89%87%e5%bb%ba%e7%ab%8b%e7%9b%b8%e7%89%87%e6%95%88%e6%9e%9c/</link>
					<comments>https://www.chunho-ling.com/css-%e6%96%bc%e5%9c%96%e7%89%87%e5%bb%ba%e7%ab%8b%e7%9b%b8%e7%89%87%e6%95%88%e6%9e%9c/#respond</comments>
		
		<dc:creator><![CDATA[C.H. Ling]]></dc:creator>
		<pubDate>Tue, 06 Jun 2017 10:14:45 +0000</pubDate>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[User Experience (UX)]]></category>
		<guid isPermaLink="false">http://www.chunho-ling.com/?p=700</guid>

					<description><![CDATA[以前設計網頁時, 若圖片須要制造相片效果, 則須要利用修圖軟件加工, 後來隨著CSS 技術日漸成熟以及IE 的式微, 現在已經可以從CSS 層面著手. 方法如下: HMTL: &#60;ul class="learn"&#62; &#60;li class="thumbnaile"&#62;&#60;img id="portrait" src="http://lorempixel.com/300/300/nature" class="stretch" /&#62;&#60;/li&#62; &#60;/ul&#62; CSS: img { // 相框顏色. background-color: #fff; // 相框闊度. padding: 10px; // 相片陰影位置及顏色. box-shadow: 10px 10px <a class="mh-excerpt-more" href="https://www.chunho-ling.com/css-%e6%96%bc%e5%9c%96%e7%89%87%e5%bb%ba%e7%ab%8b%e7%9b%b8%e7%89%87%e6%95%88%e6%9e%9c/" title="[CSS] 於圖片建立相片效果">[...]</a>]]></description>
										<content:encoded><![CDATA[<p>以前設計網頁時, 若圖片須要制造相片效果, 則須要利用修圖軟件加工, 後來隨著CSS 技術日漸成熟以及IE 的式微, 現在已經可以從CSS 層面著手. 方法如下:<span id="more-700"></span></p>
<p>HMTL:</p>
<pre class="lang:xhtml decode:true" title="HTML">&lt;ul class="learn"&gt;
     &lt;li class="thumbnaile"&gt;&lt;img id="portrait" src="http://lorempixel.com/300/300/nature" class="stretch" /&gt;&lt;/li&gt;
&lt;/ul&gt;</pre>
<p>CSS:</p>
<pre class="lang:default decode:true " title="CSS">img {
    // 相框顏色.
    background-color: #fff; 
    // 相框闊度.
    padding: 10px;
    // 相片陰影位置及顏色.
    box-shadow: 10px 10px 5px #888888;
    // 若想邊框圓潤, 可以加入.
    border-radius: 10px;
}</pre>
<p>&nbsp;</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.chunho-ling.com/css-%e6%96%bc%e5%9c%96%e7%89%87%e5%bb%ba%e7%ab%8b%e7%9b%b8%e7%89%87%e6%95%88%e6%9e%9c/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">700</post-id>	</item>
	</channel>
</rss>
