博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Common Css [记录]
阅读量:4488 次
发布时间:2019-06-08

本文共 922 字,大约阅读时间需要 3 分钟。

 

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{width:auto\9}        video embed,video object,video iframe{width:100%;height:auto}        html{font-size: 14px;}        body{background: #fff;font-size: 14px;}

 

转载于:https://www.cnblogs.com/caiCheryl/p/6117076.html

你可能感兴趣的文章
文件下载隐匿执行
查看>>
【导图控】各软件开发版本详解
查看>>
HDU 1533 Going home
查看>>
Extjs面板和布局初探
查看>>
箭头函数
查看>>
SharePoint【ECMAScript对象模型系列】-- 11. Enable/Disable Ribbon上的Button
查看>>
C#委托-怎样理解C#中“委托”的含义和用途
查看>>
Spring数据访问1 - 数据源配置及数据库连接池的概念
查看>>
setting.xml配置详解
查看>>
工作笔记——使用Jest时遇到的一些问题
查看>>
jQuery 遍历--siblings() 方法、each() 方法
查看>>
window系统下调度数据库类型资源库中的kettle job
查看>>
10、小易记单词--2017网易春招
查看>>
monkey 命令详解
查看>>
Scrapy XPath语法
查看>>
《Entity Framework 6 Recipes》中文翻译系列 (8) -----第二章 实体数据建模基础之继承关系映射TPT...
查看>>
图像预处理
查看>>
16个Web开发的IDE
查看>>
Oracle KEEP的用法
查看>>
Java动态代理与Cglib库
查看>>