zoukankan      html  css  js  c++  java
  • Div圆角边框

    <html>
     
    <head>
       
    <style type="text/css">
       u.corner u
       
    {
           height
    : 1px;
           font-size
    :1px;
           display
    : block;
           overflow
    : hidden;
           
    /*author: meizz*/
           text-decoration
    : none;
           background-color
    : green;
       
    }
       u.corner u.h1
    {margin: 0 5px;}
       u.corner u.h2
    {margin: 0 3px;}
       u.corner u.h3
    {margin: 0 2px;}
       u.corner u.h4
    {margin: 0 1px; height: 2px}
       
    </style>
     
    <head>
     
    <body>
       
    <div>
       
    <class="corner"><class="h1"></u><class="h2"></u><class="h3"></u><class="h4"></u></u>
         
    <div style="background-color: green; height: 200">content</div>
       
    <class="corner"><class="h4"></u><class="h3"></u><class="h2"></u><class="h1"></u></u>
       
    </div>
     
    </body>
    </html>
  • 相关阅读:
    2-SAT
    模板 两次dfs
    SG函数与SG定理
    NIM博弈
    python 给小孩起名
    pytest 数据驱动
    pytest 结合selenium 运用案例
    字符串的转换方法与分割
    字符串的方法
    字符串常量池与字符串之间的比较
  • 原文地址:https://www.cnblogs.com/scgw/p/927682.html
Copyright © 2011-2022 走看看