css h5

 <!DOCTYPE html>
 <html>
  
 <head>
 <meta charset="utf-8" />
 <title></title>
  
 <style type="text/css">
 * {
 margin: 0px auto;
 padding: 0px;
 }
  
 body {
 background: url(img/bg.jpg) no-repeat;
 background-size: 100%;
 }
  
 .main {
 width: 800px;
 height: 700px;
 }
  
 .img0 {
 margin-top: 10px;
 margin-left: 10px;
 }
  
 .nav {
 border-radius: 5px;
 background: gray;
 height: 40px;
 }
  
 .nav_ul {
 list-style: none;
 }
  
 .nav_ul li {
 margin-top: 5px;
 float: left;
 padding: 5px;
 color: white;
 }
  
 .search {
 float: right;
 height: 36px;
 margin-top: 2px;
 margin-right: 10px;
 border-radius: 5px;
 }
  
 .section {
 width: 800px;
 height: 600px;
 margin-top: 10px;
 }
  
 .article {
 width: 500px;
 height: 600px;
 background: white;
 float: left;
 border-radius: 5px;
 padding: 10px;
 }
  
 .img1 {
 width: 100%;
 height: 200px;
 }
  
 .p {
 color: #B4B6AB;
 }
  
 .myVideo {
 width: 100%;
 }
 .aside_ul{
 list-style: none;
 float: right;
 background: white;
 border-radius: 5px;
 width: 200px;
 }
  
 </style>
 </head>
  
 <body>
  
 <div class="main">
  
 <img src="img/a19.png" class="img0" />
 <nav class="nav">
 <ul class="nav_ul">
 <li>HOME</li>
 <li>HOME</li>
 <li>HOME</li>
 <li>HOME</li>
 </ul>
 <input type="search" placeholder="请输入" class="search">
 </nav>
 <section class="section">
 <article class="article">
 <h3>标题</h3>
 <time>2017-11-29</time><br>
 <img src="img/a19.png" class="img1" />
 <p class="p">
 啊算法撒旦飞洒打发似的撒旦法大师傅似的啊算法撒旦飞洒打发似的撒旦法大师傅似的啊算法撒旦飞洒打发似的撒旦法大师傅似的
 </p>
 <video src="videos/video2.MP4" controls="controls" class="myVideo"></video>
 </article>
 <aside>
  
 <ul class="aside_ul">
 <li>SlideBar</li>
 <li>SlideBar</li>
 <li>SlideBar</li>
 <li>SlideBar</li>
 </ul>
  
 </aside>
 </section>
 </div>
 <progress></progress>
 <details class="d">
 <ul>
 <li>hello</li><li>hello</li>
 <li>hello</li>
 </ul>
 </details>
 </body>
  
 </html>
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值