<?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; 编程技术记录</title>
	<atom:link href="https://blog.z6z8.cn/tag/css/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.z6z8.cn</link>
	<description>世界你好!</description>
	<lastBuildDate>Thu, 10 Oct 2019 11:46:44 +0000</lastBuildDate>
	<language>zh-Hans</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.3</generator>
	<item>
		<title>CSS 头脚+中间两列布局</title>
		<link>https://blog.z6z8.cn/2019/10/10/css-%e5%a4%b4%e8%84%9a%e4%b8%ad%e9%97%b4%e4%b8%a4%e5%88%97%e5%b8%83%e5%b1%80/</link>
		
		<dc:creator><![CDATA[holdsky]]></dc:creator>
		<pubDate>Thu, 10 Oct 2019 11:46:44 +0000</pubDate>
				<category><![CDATA[代码片段]]></category>
		<category><![CDATA[布局]]></category>
		<category><![CDATA[CSS]]></category>
		<guid isPermaLink="false">http://blog.z6z8.cn/?p=478</guid>

					<description><![CDATA[效果图 &#60;html&#62; &#60;head&#62; &#60;style type="text/css" [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>效果图<br />
<img decoding="async" src="/wp-content/uploads/2019/10/css%E5%A4%B4%E8%84%9A%E4%B8%AD%E9%97%B4%E4%B8%A4%E5%88%97.png" alt="" /></p>
<pre><code class="language-html">&lt;html&gt;
  &lt;head&gt;
      &lt;style type="text/css"&gt;
      /* 整体Body */
            .flex-body {
            width: 100%;
            height: 100%;
            margin: 0px;
            }

            /* 头 高70px*/
            .flex-header {
            background-color: aqua;
            height: 70px;
            width: 100%;
            }
            /* 中间左侧，绝对定位，宽度50%，高度由top和bottom决定，
            top和bottom分别是 flex-header ，flex-footer的高度*/
            .flex-left-main {
            position: absolute;
            background-color: red;
            width: 50%;
            top: 70px;
            bottom: 60px;
            }
            /* 中间左侧，绝对定位，宽度50%，高度由top和bottom决定，
            margin-left: 50%
            top和bottom分别是 flex-header ，flex-footer的高度*/
            .flex-right-main {
            position: absolute;
            background-color: blue;
            width: 50%;
            top: 70px;
            bottom: 60px;
            margin-left: 50%;
            }
            /* 脚 高60px */
            .flex-footer {
            position: absolute;
            bottom: 0px;
            width:100%;
            height: 60px;
            background-color: bisque;
            }
      &lt;/style&gt;
  &lt;/head&gt;
  &lt;body class="flex-body"&gt;
    &lt;div id="flex-header" class="flex-header"&gt;&lt;/div&gt;
    &lt;div id="flex-left-main" class="flex-left-main"&gt;&lt;/div&gt;
    &lt;div id="flex-right-main" class="flex-right-main"&gt;&lt;/div&gt;
    &lt;div id="flex-footer" class="flex-footer"&gt;&lt;/div&gt;
  &lt;/body&gt;
&lt;/html&gt;</code></pre>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
