zoukankan      html  css  js  c++  java
  • 呼吸灯框架

    <!DOCTYPE html>
    <html lang="en">
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title>Document</title>
        <style>
            *{
                box-sizingborder-box;
            }
        div.article{
            width:200px;
            height:300px;
            background-colorblack;
            margin:0 auto;
        }
        div.top{
            width:200px;
            height:200px;
            padding:40px;
        }
        div#outer{
            height:100%;
            border :5px solid #ccc;
            border-radius50%;
            padding:20px;
        }
        div.text{
            color:#ffff;
            text-aligncenter;
        }
        div#inner{
            height:100%;

            border:10px solid  #ffff;
            border-radius50%;
        }
        </style>
    </head>
    <body>
        <div class="article">
            <div class="top">
                    <div id="outer">
                        <div id="inner"></div>
                    </div>
            </div>
            <div class="text"> hi!</div>
        </div>
    </body>
    </html>
  • 相关阅读:
    数组协变性
    tomcat源码阅读23
    用枚举来实现单例模式
    CSS 的 zindex 属性
    屏幕大小与视区大小
    CSS 生成的模态窗口
    事件处理程序的绑定
    事件对象的属性和使用
    android打电话,接电话,挂电话过程
    ubuntu 12.04编译ics
  • 原文地址:https://www.cnblogs.com/yangnansuper/p/13407288.html
Copyright © 2011-2022 走看看