zoukankan      html  css  js  c++  java
  • 第三十四节 新闻标题练习

     1 <!DOCTYPE html>
     2 <html lang="en">
     3 <head>
     4     <meta charset="UTF-8">
     5     <title></title>
     6     <style type="text/css">
     7         .box{
     8             width: 400px;
     9             height: 40px;
    10             margin: 50px auto 0;
    11             /*background-color: black;*/
    12             border-bottom: 1px solid #ff8200;
    13             text-align: center;
    14         }
    15         .box div{
    16             float: left;
    17             width: 80px;
    18             line-height: 40px;
    19             background-color: #ff8200;
    20             font-size: 16px;
    21             color: #fff;
    22         }
    23         .box a{
    24             float: right;
    25             text-decoration: none;
    26             color: #666;
    27             line-height: 41px;
    28             font-family: 'Microsoft Yahei';
    29             font-size: 14px;
    30         }
    31         .box a:hover{
    32             color: #ff8200;
    33         }
    34     </style>
    35 </head>
    36 <body>
    37     <div class="box">
    38         <div>新闻列表</div>
    39         <a href="#">更多&gt;</a>
    40     </div>
    41 </body>
    42 </html>
  • 相关阅读:
    jedis 连接 虚拟机内redis服务
    数据库存储过程项目总结
    前端jsp联系项目相关经验
    学习做项目的一些随笔
    循环
    字典
    集合
    元组
    列表
    字符串
  • 原文地址:https://www.cnblogs.com/kogmaw/p/12423775.html
Copyright © 2011-2022 走看看