zoukankan      html  css  js  c++  java
  • css复习内容

    有时候 自己动手写一遍比想十遍都有用  

    <!DOCTYPE html>
    <html>
    <head>
    <meta charset="utf-8">
    <title></title>
    <style>
    .in{
    120px;
    height: 40px;
    border: 2px solid black;
    text-align: center;
    line-height: 40px;
    border-radius: 15px;
    }
    .in:hover{
    background-color: lightskyblue;
    color: red;
    transition: 1.5s;
    box-shadow: 3px 3px 3px royalblue;
    text-shadow: 3px 3px 3px darkblue;
    transform: rotate(3deg);
    /*transform: rotateX(15deg);*/
    /*transform: rotateY(360deg);*/
    transform: rotateZ(360deg);
    /*margin-left: 10px;*/
    /*margin-right: 100px;*/
    opacity: 0.5;
    }
    a{
    text-decoration: none;
    color: black;
    }
    a:visited{
    text-decoration: none;
    color: black;
    }
    .in2{
    100px;
    height: 100px;
    border: 1px solid black;
    position: relative;
    }
    .in2 div{
    60px;
    height: 45px;
    border: 1px solid black;
    position: relative;
    }
    #vvv{
    30px;
    height: 20px;

    visibility: hidden;
    display: none;
    }
    .in2:hover #xxx{
    color: red;
    }

    ul{
    /*list-style: none;*/
    list-style-image: url(img/HBuilder.png)
    }
    ul li{
    /*float: left;*/
    50px;
    }
    </style>
    </head>
    <body>
    <a href="#"><div class="in">按&nbsp;钮</div></a>
    <div class="in2">
    <div id="vvv">HBuider</div>
    <div>1234</div>
    </div>
    <ul>
    <li>1</li>
    <li>2</li>
    <li>3</li>
    <li>4</li>
    </ul>
    </body>
    </html>

  • 相关阅读:
    Shell编程—用户输入
    Shell编程—结构化命令
    Shell编程—基础脚本
    跳表
    分布式项目——电商秒杀
    Dubbo详解
    Kafka工作流程
    Kafka内部实现原理
    Zk实现分布式锁
    Leetcode::Pathsum & Pathsum II
  • 原文地址:https://www.cnblogs.com/sunzhenkun/p/7197521.html
Copyright © 2011-2022 走看看