码迷,mamicode.com
首页 >  
搜索关键字:margin    ( 11204个结果
Footer固定在底部
这里用的是CSS Sticky Footer,支持主流浏览器(包括IE6)html内容©css*{margin:0;}html,body{height:100%;}.wrapper{min-height:100%;height:auto !important;height:100%; ma...
分类:其他好文   时间:2015-04-10 09:31:42    阅读次数:116
博皮CodingLife发布,无死角模板
博皮CodingLife发布使用本皮需要禁用默认CSS,支持首页、博文页、标签归档、目录归档、时间归档、留言部分、广告部分。应该是所有地方无死角。欢迎使用,欢迎反馈。.topicListFooter { text-align: right; margin-right: 10px; ...
分类:其他好文   时间:2015-04-10 06:35:14    阅读次数:128
CSS布局中一个简单的应用BFC的例子
什么是BFCBFC(Block Formatting Context),简单讲,它是提供了一个独立布局的环境,每个BFC都遵守同一套布局规则。例如,在同一个BFC内,盒子会一个挨着一个的排,相邻盒子的间距是由margin决定且垂直方向的margin会重叠。而float和clear float也只对同...
分类:Web程序   时间:2015-04-09 23:41:52    阅读次数:179
六种清除浮动方法,强力推荐after清除浮动
清除浮动的六种方法 1.给父级也加浮动 float:left.box{ width:300px;margin:0 auto;border:10px solid #000; float:left;}.div{ width:200px;height:200px;background:red;float:...
分类:其他好文   时间:2015-04-09 23:20:30    阅读次数:284
「闲来无事」写了个类似于微博的效果
* {margin: 0;padding: 0;font-size: 20px;font-family: 'microsoft yahei';}.clear {overflow: hidden;height: 0;clear: both;}textarea {width: 500px;height:...
分类:其他好文   时间:2015-04-09 19:07:34    阅读次数:157
iOS 8和Xcode 6的各种坑
1项目路径坑   模拟器的路径从之前的 ~/Library/Application Support/iPhone Simulator 移动到了 ~/Library/Developer/CoreSimulator/Devices/ 这相当的坑爹,之前运行用哪个模拟器直接选择这个模拟器文件夹进去就能找到项目  8和Xcode 6的各种坑" style="margin:0px;...
分类:移动开发   时间:2015-04-08 16:24:20    阅读次数:171
css通用初始化样式
body{ margin: 0;padding: 0;font-family: "微软雅黑";overflow: hidden;}body,html{-webkit-text-size-adjust: none;width: 100%;height: 100%;}*{text-decoration:...
分类:Web程序   时间:2015-04-08 14:38:03    阅读次数:149
jquery幻灯片
HTML:图片图片图片图片1234css:*{margin:0; padding:0; list-style:none; }body{ background:#fff; font:normal 12px/22px 宋体; }img{ border:0; }a{ text-decoration:non...
分类:Web程序   时间:2015-04-08 00:44:18    阅读次数:177
css3-columns多列布局
1 /*css3中的布局*/ 2 .wrapper{ 3 margin:auto; 4 width:300px; 5 height:200px; 6 border:2px dotted blue; 7 -webkit-columns:15px 3;/*表示多列布局,每...
分类:Web程序   时间:2015-04-07 23:00:43    阅读次数:137
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!