zoukankan      html  css  js  c++  java
  • Common Css [记录]

    clearFix

      .cf:after{ content: ''; display: block; clear: both; height: 0; overflow: hidden; visibility: hidden;}

      .cf{zoom: 1;}

    一行文字...

      .ellip{overflow: hidden;text-overflow: ellipsis;white-space: nowrap;}

    重置
    
    body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,p,th,td{margin:0;padding:0}
            ul,ol,li{list-style: none;}
            fieldset,img{border:0}img{display:block}ol,ul{list-style:none}
            em{font-style:normal}
            input,button,select,textarea{outline:none}
            textarea{resize:none}
            i,s{font-style:normal;text-decoration:none}
            .clearfix:before,.clearfix:after{display:table;content:""}
            .clearfix:after{clear:both}
            .clearfix{zoom:1}
            img{auto9}
            video embed,video object,video iframe{100%;height:auto}
    
            html{font-size: 14px;}
            body{background: #fff;font-size: 14px;}
  • 相关阅读:
    测试开发技术
    测试开发技术难题与解决
    .gitignore文件
    mysql 子查询 联结 组合查询
    DTL
    jquery 基础
    Django操作数据库
    git 进阶篇
    miniconda使用
    pycharm之django基本配置
  • 原文地址:https://www.cnblogs.com/caiCheryl/p/6117076.html
Copyright © 2011-2022 走看看