zoukankan      html  css  js  c++  java
  • css

    去除元素最外层的边线

    outline: none;

    实现背景移动

    -webkit-animation: animate-cloud 20s linear infinite;

    animation: animate-cloud 20s linear infinite;

    图标墙

    background-position: 10px -53px !important;

    background: #eae7e7 url(../../Image/8bcLQqF.png) no-repeat;

    before and after

    <style type="text/css">
    #example:before {
    content: "‘我是before’";
    color: red;
    }

    #example:after {
    content: "‘我是after’";
    color:blue;
    }
    </style>
    <p id="example">before and after</p>
    </div>

    :target实现元素的切换

    <style type="text/css">
    #btn{
    80px;
    height:40px;
    border:0px;
    background-color: red;
    border-radius:5px;
    outline: none;
    }
    #btn:target{
    background-color:blue;
    }
    </style>
    <div id="ttttt">
    <a id="aaaaa" href="#btn">1231231231231</a>

    <button id="btn">提交</button>

    高度控制

    rem vh vw vmin vmax ex ch  height:calc(100vh-30px);

  • 相关阅读:
    jedis 连接 虚拟机内redis服务
    数据库存储过程项目总结
    前端jsp联系项目相关经验
    学习做项目的一些随笔
    循环
    字典
    集合
    元组
    列表
    字符串
  • 原文地址:https://www.cnblogs.com/raorao1994/p/6287186.html
Copyright © 2011-2022 走看看