随笔分类 -  css

摘要:<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/> 加上一个禁止缩放的meta标签就可以了。 阅读全文
posted @ 2017-08-21 18:03 ifIhaveWings 阅读(2304) 评论(0) 推荐(0)
摘要:Document ... 阅读全文
posted @ 2017-06-23 10:11 ifIhaveWings 阅读(169) 评论(0) 推荐(0)
摘要:当css文件的编码 阅读全文
posted @ 2017-03-08 17:44 ifIhaveWings 阅读(514) 评论(0) 推荐(0)
摘要:Title 房天下承诺:您提交的所有房源信息,我们将严格保密,绝不向房天下经纪人及第三方泄露。 *搜房帮房源ID: *楼&emsp;&emsp;&emsp;&emsp;栋: *单&ems... 阅读全文
posted @ 2017-02-28 09:54 ifIhaveWings 阅读(201) 评论(0) 推荐(0)
摘要:background: #000; width: 100%;height: 100%; filter: alpha(opacity=30); opacity: 0.3; 阅读全文
posted @ 2016-08-29 10:00 ifIhaveWings 阅读(224) 评论(0) 推荐(0)
摘要:.demo { padding:10px; padding:9px\9; /* all ie */ padding:8px\0; /* ie8-9 目前应用于IE8的单独hack,情况比较少 */ *padding:5px; /* ie6-7 */ +padding:7px; /* ie7 */ _ 阅读全文
posted @ 2016-08-05 09:13 ifIhaveWings 阅读(135) 评论(0) 推荐(0)
摘要:<!DOCTYPE html><html><head><meta charset="utf-8" /><style> * {margin:0; padding:0; list-style: none; } .main { position: relative;} .clear { clear: bo 阅读全文
posted @ 2016-07-05 16:09 ifIhaveWings 阅读(384) 评论(0) 推荐(0)
摘要:<!DOCTYPE html><html><head><meta charset="utf-8" /><style> * {margin:0; padding:0; list-style: none; } .main { position: relative;} .clear { clear: bo 阅读全文
posted @ 2016-07-05 16:09 ifIhaveWings 阅读(255) 评论(0) 推荐(0)
摘要:方法1:::-webkit-scrollbar{display: none;} 方法2:::-webkit-scrollbar{height:0; width:0:} 阅读全文
posted @ 2016-05-09 17:41 ifIhaveWings 阅读(291) 评论(0) 推荐(0)
摘要:/* webkit, opera, IE9 */div.highlightBlue::selection { background:lightblue; }/* mozilla firefox */div.highlightBlue::-moz-selection { background:ligh 阅读全文
posted @ 2016-05-03 16:21 ifIhaveWings 阅读(179) 评论(0) 推荐(0)
摘要:前端之Sass/Scss实战笔记 时间 2015-09-14 13:04:06 极客头条 原文 http://segmentfault.com/a/1190000003742313 主题 Sass 时间 2015-09-14 13:04:06 极客头条 原文 http://segmentfault. 阅读全文
posted @ 2016-05-03 15:43 ifIhaveWings 阅读(154) 评论(0) 推荐(0)
摘要:原文地址:http://blog.jobbole.com/31926/ 英文原文:CSS Baseline,编译:飞鸟分享 译者注:网页设计布局中一直比较流行网格对齐,但只是针对水平的对齐,很少或者没有涉及垂直对齐,这篇文章很详细的讲解了垂直网格,乃至基线对其的相关,而css3中的多列布局的也使其显 阅读全文
posted @ 2016-04-27 19:13 ifIhaveWings 阅读(2140) 评论(0) 推荐(0)
摘要:原文地址http://www.cnblogs.com/exmyth/p/3226654.html a与a:link、a:visited、a:hover、a:active 起因: a与a:link的CSS代码处,忽觉茫茫然不知所以然:这a的CSS和a:link什么关系?貌似有些冲突啊?还有这a:lin 阅读全文
posted @ 2016-04-20 17:29 ifIhaveWings 阅读(268) 评论(0) 推荐(0)
摘要:input {-webkit-appearance:none; } 阅读全文
posted @ 2016-04-19 18:45 ifIhaveWings 阅读(304) 评论(0) 推荐(0)
摘要:在iphone手机中,有些字段的颜色会自动发生变化,在head中添加如下meta即可。<meta name = "format-detection" content="telephone = no" /> 阅读全文
posted @ 2016-04-19 18:33 ifIhaveWings 阅读(208) 评论(0) 推荐(0)
摘要:注意p.wrap的定位是固定定位。转载请注明网址。1 2 3 4 5 6 8 9 10 11 12 13 14 15 16 17 86 87 88 89 90 91 ... 阅读全文
posted @ 2016-04-08 20:28 ifIhaveWings 阅读(833) 评论(0) 推荐(0)
摘要:原文地址:http://www.codefans.net/articles/653.shtml 因CSS很多布局是需要浮动的,当属性设置float(浮动)时,其所在的物理位置已经脱离文档流了,为了使float后面的元素不被float浮动层的影响,我们就需要用clear:both;来清除。比如下面的例 阅读全文
posted @ 2016-04-06 09:56 ifIhaveWings 阅读(203) 评论(0) 推荐(0)
摘要:对100%宽度的元素0001添加position-relative属性,如果再给left/right属性,可能会导致0001元素超出其父盒子的范围。如果盒子0001的父级元素是body,可能会出现滚动条。出现宽度、高度问题等盒子模型问题时,加上border去检查比较有效。 阅读全文
posted @ 2016-03-09 13:53 ifIhaveWings 阅读(227) 评论(0) 推荐(0)
摘要:<!DOCTYPE html> <html> <head lang="en"> <meta charset="UTF-8"> <title></title> <style> .center_box{ width: 80%; height: 50%; position: absolute; top: 阅读全文
posted @ 2016-03-03 18:15 ifIhaveWings 阅读(304) 评论(0) 推荐(0)
摘要:1.在页面固定定位的按钮<!DOCTYPE html><html><head lang="en"> <meta charset="UTF-8"> <title></title> <style> * { padding: 0; margin: 0; } .box1 { width: 400px; he 阅读全文
posted @ 2016-03-02 10:39 ifIhaveWings 阅读(207) 评论(0) 推荐(0)