<?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>爱周末 &#187; 自适应布局</title>
	<atom:link href="http://zhoumo123.cn/tag/%e8%87%aa%e9%80%82%e5%ba%94%e5%b8%83%e5%b1%80/feed" rel="self" type="application/rss+xml" />
	<link>http://zhoumo123.cn</link>
	<description>知识分享，共同进步。zhoumo123.cn</description>
	<lastBuildDate>Thu, 07 Nov 2019 05:53:49 +0000</lastBuildDate>
	<language>zh-CN</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.0.1</generator>
	<item>
		<title>手机图片视频自适应代码max-width:100%;实现图片视频自动缩放</title>
		<link>http://zhoumo123.cn/web/html5/2445.html</link>
		<comments>http://zhoumo123.cn/web/html5/2445.html#comments</comments>
		<pubDate>Thu, 29 Jan 2015 03:40:36 +0000</pubDate>
		<dc:creator><![CDATA[zhangc]]></dc:creator>
				<category><![CDATA[css]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[web开发]]></category>
		<category><![CDATA[自适应布局]]></category>

		<guid isPermaLink="false">http://zhoumo123.cn/?p=2445</guid>
		<description><![CDATA[无论浏览器窗口的大小还是在手机屏幕上如何做到图片自适应自动缩放呢，只需要一行CSS代码： img { max-width: 100%;} /*针对图片*/ object { max-width: 100%;} /*针对视频*/ img, object { max-width: 100%;} /*针对图片和视频*/ &#160; 可以通过本站看一下图片缩放效果。如：http://zhoumo123.cn/category/web]]></description>
				<content:encoded><![CDATA[<p>无论浏览器窗口的大小还是在手机屏幕上如何做到图片自适应自动缩放呢，只需要一行CSS代码：</p>
<p>img { max-width: 100%;} /*针对图片*/<br />
object { max-width: 100%;} /*针对视频*/<br />
img, object { max-width: 100%;} /*针对图片和视频*/</p>
<p><a href="http://img.zhoumo123.cn/wp-content/uploads/2015/01/css-img-1.jpg"><img class="alignnone size-full wp-image-2446" src="http://img.zhoumo123.cn/wp-content/uploads/2015/01/css-img-1.jpg" alt="css-img-1" width="464" height="259" /></a></p>
<p>&nbsp;</p>
<p>可以通过本站看一下图片缩放效果。如：http://zhoumo123.cn/category/web</p>
]]></content:encoded>
			<wfw:commentRss>http://zhoumo123.cn/web/html5/2445.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
