<?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>深蓝的blog &#187; absolute</title>
	<atom:link href="http://www.lanxinbase.com/?feed=rss2&#038;tag=absolute" rel="self" type="application/rss+xml" />
	<link>http://www.lanxinbase.com</link>
	<description>记录日常生活</description>
	<lastBuildDate>Sat, 18 Apr 2026 07:10:07 +0000</lastBuildDate>
	<language>zh-CN</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.2.3</generator>
	<item>
		<title>关于 CSS absolute与relative定位</title>
		<link>http://www.lanxinbase.com/?p=1603</link>
		<comments>http://www.lanxinbase.com/?p=1603#comments</comments>
		<pubDate>Wed, 22 Feb 2017 01:43:27 +0000</pubDate>
		<dc:creator><![CDATA[Alan]]></dc:creator>
				<category><![CDATA[6.前端开发]]></category>
		<category><![CDATA[absolute]]></category>
		<category><![CDATA[relative]]></category>

		<guid isPermaLink="false">http://www.lanxinbase.com/?p=1603</guid>
		<description><![CDATA[css中的定位类型一览

position这个css属性允许我们指定元素的定位类型。

css定位选项

static是此属性的默认值。这时候，我们称那个元素没有被定位。为了定位它，我们需要改变预定义的类型。

为了改变预定义类型，我们将position的属性值设置为下面中的一个：

·relative

·absolute

·fixed

·sticky

只有设置了之后，我们才能使用offset参数来为我们的元素指定我们想要的位置：

·top

·right

·bottom

·left

·这些属性的初始值是关键字auto]]></description>
		<wfw:commentRss>http://www.lanxinbase.com/?feed=rss2&#038;p=1603</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
