亚洲免费乱码视频,日韩 欧美 国产 动漫 一区,97在线观看免费视频播国产,中文字幕亚洲图片

      1. <legend id="ppnor"></legend>

      2. 
        
        <sup id="ppnor"><input id="ppnor"></input></sup>
        <s id="ppnor"></s>

        純css繪制蜂巢六邊形效果

        字號(hào):


            純css繪制的六邊形
            代碼如下:
            <html>
            <head>
            <title>draw hive</title>
            </head>
            <style type=text/css>
            .hexagon {
            display: inline;
            float: left;
            }
            #second {
            margin-left: 4px;
            }
            #third {
            clear: left;
            margin-left: 54px;
            margin-top: -28px;
            }
            .hivetop{
            width: 0;
            border: 30px solid #6c6;
            border-top: none;
            border-bottom: 30px solid #6c6;
            border-left: 52px solid transparent;
            border-right: 52px solid transparent;
            }
            .hivecenter {
            width: 104px;
            height: 60px;
            background-color: #6c6;
            }
            .hivebottom {
            width: 0;
            border: 30px solid #6c6;
            border-bottom: none;
            border-top: 30px solid #6c6;
            border-left: 52px solid transparent;
            border-right: 52px solid transparent;
            }
            </style>
            <body>
            <div class=hexagon id=first>
            <div class=hivetop>
            </div>
            <div class=hivecenter>
            </div>
            <div class=hivebottom>
            </div>
            </div>
            <div class=hexagon id=second>
            <div class=hivetop>
            </div>
            <div class=hivecenter>
            </div>
            <div class=hivebottom>
            </div>
            </div>
            <div class=hexagon id=third>
            <div class=hivetop>
            </div>
            <div class=hivecenter>
            </div>
            <div class=hivebottom>
            </div>
            </div>
            </body>
            </html>