广告页面
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>广告软文推广页面</title>
<link href="css/fonts/advertitsing.css" rel="stylesheet"
type="text/css" />
<link href="css/font-awesome.min.css"
rel="stylesheet" type="text/css">
</head>
<body>
<section class="container">
<h1>万物互联,极致体验</h1>
</section>
<section class="middle">
<h2>HTMLS + CSS3</h2>
<ul>
<li>
<p>
<i class="fa fa-html5 fa-5x"></i>
</p>
<p>
【HTML5】HTML5不仅仅是HTML规范的当前最新版本,HTML5进化的重大意义还在于HTML5从技术层面带来了八个类别的革新,HTML5规范以“用户至上”为宗旨。也就是说在遇到冲突时,
规范的优先级为:用户>页面作者>实现者(浏览器)>规范开发名
(W3C/WHATWG)>纯理论。除此之外,HTML5还引入了一种新的安全
模型来保证HTML5足够安全,
</p>
</li>
<li>
<p>
<i class="fa fa-html5 fa-5x"></i>
</p>
<p>
【CSS3】CS53是CSS的当前最新版本,该版本提供了更加丰富且实用的
规范。在Web开发中采用CSs3技术将会美化页面,显著的提高用户体验,
同时也能极大的提高程序的性能:例如列表模块、超链接、语言模块、
背景和边框,颜色,文字特效,多栏布局和动画,等等。
</p>
</li>
</ul>
</section>
<section class="footer">
<h2>平台支持</h2>
<ul>
<li>
<i class="fa fa-apple fa-3x"></i>
<h5><a href="#">原生移动APP开发</a></h5>
</li>
<li>
<i class="fa fa-weixin fa-3x"></i>
<h5><a href="#">微信公众平台开发</a></h5>
</li>
<li>
<i class="fa fa-desktop fa-3x"></i>
<h5><a href="#">网站开发</a></h5>
</li>
<li>
<i class="fa fa-laptop fa-3x"></i>
<h5><a href="#">桌面应用开发</a></h5>
</li>
</ul>
</section>
</body>
</html>
css
html,body,ul {
width: 100%;
height: 100%;
padding: 0;
}
.container h1 {
text-align: center;
font: 40px "mayFont";
margin-top: 75px;
text-shadow: 5px 5px 5px #2c41ff;
}
@font-face {
font-family: myFont;
src: url("fonts/书法.ttf");
}
.middle {
margin-top: 20px;
width: 800px;
margin: 0 auto;
text-align: center;
}
.middle ul li {
box-sizing: border-box;
width: 400px;
padding: 10px;
overflow: hidden;
float: left;
list-style: none;
line-height: 30px;
}
.footer {
clear: both;
margin-top: 20px;
text-align: center;
margin: 0 auto;
width: 800px;
}
.footer ul li {
width: 200px;
padding: 10px;
box-sizing: border-box;
float: left;
list-style: none;
}