<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[A.PAO designSTUDIO BLOG]]></title> 
<link>https://blog.apao.idv.tw/index.php</link> 
<description><![CDATA[A.PAO designSTUDIO 阿保工作室]]></description> 
<language>zh-tw</language> 
<copyright><![CDATA[A.PAO designSTUDIO BLOG]]></copyright>
<item>
<link>https://blog.apao.idv.tw/post//</link>
<title><![CDATA[CSS img 圖像 切換 兩張圖與單張圖做法]]></title> 
<author>apao &lt;apao@www.apao.idv.tw&gt;</author>
<category><![CDATA[CSS]]></category>
<pubDate>Fri, 26 Dec 2014 02:33:46 +0000</pubDate> 
<guid>https://blog.apao.idv.tw/post//</guid> 
<description>
<![CDATA[ 
	<span style="font-size: 130%;"><strong>兩張圖檔方式</strong></span> w224 x h152 px<br/><br/><a href="https://blog.apao.idv.tw/attachment.php?fid=2020" target="_blank"><img src="https://blog.apao.idv.tw/attachment.php?fid=2020" class="insertimage" alt="點擊在新視窗中瀏覽此圖片" title="點擊在新視窗中瀏覽此圖片" border="0"/></a> <a href="https://blog.apao.idv.tw/attachment.php?fid=2021" target="_blank"><img src="https://blog.apao.idv.tw/attachment.php?fid=2021" class="insertimage" alt="點擊在新視窗中瀏覽此圖片" title="點擊在新視窗中瀏覽此圖片" border="0"/></a><br/><br/>範例連結：<br/><a href="http://goo.gl/iw2C8F" target="_blank">http://goo.gl/iw2C8F</a><br/>註：開啟後，檢視原始碼。<br/><br/><div class="code">&lt;style type=&quot;text/css&quot;&gt;<br/>#bButton a &#123;<br/> display: block;<br/> overflow: hidden;<br/> height: 0px;<br/> width: 224px; /*圖檔寬度*/<br/> background-image: url(img/a.png);<br/> padding: 152px 0 0 0; /*圖檔高度 將圖檔移至顯示框外*/<br/>&#125;<br/><br/>#bButton a:hover &#123;<br/>background-image: url(img/b.png);<br/>&#125;<br/>&lt;/style&gt;</div><br/><br/><br/><span style="font-size: 130%;"><strong>一張圖檔方式</strong></span> w224 x h304 px<br/><br/><a href="https://blog.apao.idv.tw/attachment.php?fid=2022" target="_blank"><img src="https://blog.apao.idv.tw/attachment.php?fid=2022" class="insertimage" alt="點擊在新視窗中瀏覽此圖片" title="點擊在新視窗中瀏覽此圖片" border="0"/></a><br/><br/>範例連結：<br/><a href="http://goo.gl/SALgde" target="_blank">http://goo.gl/SALgde</a><br/>註：開啟後，檢視原始碼。<br/><br/><div class="code">&lt;style type=&quot;text/css&quot;&gt;<br/>a:link.bButton&#123;<br/>&nbsp;&nbsp;display:block; /*圖檔區塊方式呈現*/<br/>&nbsp;&nbsp;width:224px; /*背景圖檔寬224px*/<br/>&nbsp;&nbsp;height:152px; /*背景圖檔高152px*/<br/>&nbsp;&nbsp;background:url(img/a_b.png) center top; /*圖檔高度304px 將圖顯示範圍152px往上方靠*/<br/>&nbsp;&nbsp;text-indent:-10000px; /*文字行距 將文字偏移-10000px上方*/<br/>&nbsp;&nbsp;list-style:none; /*不要出現清單項目*/<br/>&#125;<br/>a:hover.bButton&#123;<br/>&nbsp;&nbsp;display:block;<br/>&nbsp;&nbsp;width:224px;<br/>&nbsp;&nbsp;height:152px;<br/>&nbsp;&nbsp;background:url(i/poster_201412s.jpg) center bottom; /*圖檔高度304px 將圖顯示範圍152px往下方靠*/<br/>&nbsp;&nbsp;text-indent:-10000px;<br/>&nbsp;&nbsp;list-style:none;<br/>&nbsp;&nbsp;border:#DBE1FC solid 1px;<br/>&#125;<br/>&lt;/style&gt;</div><br/>Tags - <a href="https://blog.apao.idv.tw/tags/css/" rel="tag">css</a> , <a href="https://blog.apao.idv.tw/tags/img/" rel="tag">img</a> , <a href="https://blog.apao.idv.tw/tags/%25E5%259C%2596%25E5%2583%258F/" rel="tag">圖像</a> , <a href="https://blog.apao.idv.tw/tags/%25E5%2588%2587%25E6%258F%259B/" rel="tag">切換</a> , <a href="https://blog.apao.idv.tw/tags/%25E4%25B8%2580%25E5%25BC%25B5/" rel="tag">一張</a> , <a href="https://blog.apao.idv.tw/tags/%25E5%2585%25A9%25E5%25BC%25B5/" rel="tag">兩張</a> , <a href="https://blog.apao.idv.tw/tags/%25E5%259C%2596/" rel="tag">圖</a> , <a href="https://blog.apao.idv.tw/tags/%25E5%2596%25AE%25E5%25BC%25B5%25E5%259C%2596/" rel="tag">單張圖</a>
]]>
</description>
</item><item>
<link>https://blog.apao.idv.tw/post//#blogcomment</link>
<title><![CDATA[[評論] CSS img 圖像 切換 兩張圖與單張圖做法]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[評論]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>https://blog.apao.idv.tw/post//#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>