随笔分类 -  css

有关一些CSS的基础知识
摘要:只要在样式初始化里面加一句去掉css去掉iPhone、iPad的默认按钮样式 input[type="button"], input[type="submit"], input[type="reset"] { -webkit-appearance: none; } textarea { -webki 阅读全文
posted @ 2017-03-30 13:49 天--安静 阅读(239) 评论(0) 推荐(0)
摘要:终极版一:.clearfix:after {     content:"\200B";     display:block;     height:0;     clear:both; } .clearfix {*zoom:1;}      终极版一:.clearfix:after {     co 阅读全文
posted @ 2016-03-14 19:30 天--安静 阅读(138) 评论(0) 推荐(0)
摘要:<!DOCTYPE html><html><head><meta charset="gb2312" /><title>CSS下拉菜单实例模块-www.divcss5.com</title><style>body,ul,li{background-color:white;font-size:12px; 阅读全文
posted @ 2016-03-04 14:19 天--安静 阅读(658) 评论(0) 推荐(0)
摘要:https://github.com/jsfront/src/blob/master/css.md 阅读全文
posted @ 2016-01-21 09:55 天--安静 阅读(139) 评论(0) 推荐(0)
摘要:http://www.planabc.net/2007/03/11/display_inline-block/ 阅读全文
posted @ 2016-01-21 09:25 天--安静 阅读(141) 评论(0) 推荐(0)
摘要:腾讯QQ官网 样式初始化body,ol,ul,h1,h2,h3,h4,h5,h6,p,th,td,dl,dd,form,fieldset,legend,input,textarea,select{margin:0;padding:0}body{font:12px"宋体","Arial Narrow"... 阅读全文
posted @ 2015-12-16 11:17 天--安静 阅读(193) 评论(0) 推荐(0)
摘要:body{font-size:1em;}html{font-size:100%;}浏览器的默认字体大小是16px1em=16px 阅读全文
posted @ 2015-12-16 10:47 天--安静 阅读(131) 评论(0) 推荐(0)
摘要:.floatfix{ *zoom:1;}.floatfix:after{ content:""; display:table; clear:both;} 阅读全文
posted @ 2015-12-16 10:21 天--安静 阅读(137) 评论(0) 推荐(0)