• 清除的通用样式 css


    /*公共样式--开始*/
    html, body, div, ul, li, h1, h2, h3, h4, h5, h6, p, dl, dt, dd, ol, form, input, textarea, th, td, select {
        margin: 0;
        padding: 0;
    }
    *{box-sizing: border-box;}
    html, body {
        min-height: 100%;
    }
    
    body {
        font-family: "Microsoft YaHei";
        font-size:14px;
        color:#333;
    }
    h1, h2, h3, h4, h5, h6{font-weight:normal;}
    ul,ol {
        list-style: none;
    }
    
    img {
        border: none;
        vertical-align: middle;
    }
    
    a {
        text-decoration: none;
        color: #232323;
    }
    
    table {
        border-collapse: collapse;
        table-layout: fixed;
    }
    
    input, textarea {
        outline: none;
        border: none;
    }
    
    textarea {
        resize: none;
        overflow: auto;
    }
    
    .clearfix {
        zoom: 1;
    }
    
    .clearfix:after {
        content: ".";
        width: 0;
        height: 0;
        visibility: hidden;
        display: block;
        clear: both;
        overflow:hidden;
    }
    
    .fl {
        float: left
    }
    
    .fr {
        float: right
    }
    
    .tl {
        text-align: left;
    }
    
    .tc {
        text-align: center
    }
    
    .tr {
        text-align: right;
    }
    
    .ellipse {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .inline{
        display: inline-block;
        *display: inline;
        *zoom: 1;
    }
  • 相关阅读:
    Postman请求Https接口与认证
    HTML实用
    ORM实例教程_转
    web跨域问题CORS
    gin入门
    swagger应用
    k8s之容器
    腾讯高级工程师:如何从头开始写游戏服务器框架_转
    tensorflow入门
    sublime Text 3实用功能和常用快捷键收集
  • 原文地址:https://www.cnblogs.com/jassin-du/p/9523585.html
Copyright © 2020-2023  润新知