码迷,mamicode.com
首页 >  
搜索关键字:solid    ( 1783个结果
HTML5基础小结(二)——标签小例
随篇博客的思维导图,继续:   二,看下标签的使用,这里看几个小例子(效果图不再给出):           1,结构标签的使用,这里来看一个页面的布局: /* *{border:1px solid red;height:20px} 所有的HTML5结构标签本质上来说就是一个div标签,只不过有意义 */ /*页面头部 header*/ heade...
分类:Web程序   时间:2014-10-27 19:31:02    阅读次数:245
img图片加载前显示load图片
只需要设置img的background即可   css设置: #detailModel .detailImg{     width: 100%;     border-radius: 5px;     border: 1px solid #c3c3c3;     background:url("../img/load2.gif") no-repeat  cente...
分类:其他好文   时间:2014-10-27 17:48:15    阅读次数:203
每天一个JavaScript实例-操作元素定位元素
每天一个JavaScript实例-操作元素定位元素 div#a{ width:500px; } div{ border:1px solid #000; padding:10px; } #cursor{ position:absolute; background-color:#ff0; width:20px; height:20px; left:50px;...
分类:编程语言   时间:2014-10-27 12:49:20    阅读次数:209
实现图片分割---产生多个div分割图片 使用for和二维数组来设置背景定位
#box{width:832px;height:832px;margin:0 auto;border:1px solid red;}         .col{width:50px;height:50px;border:1px solid #fff;float:left;background:url(xin.jpg) no-repeat;}             ...
分类:编程语言   时间:2014-10-25 17:23:21    阅读次数:192
关于左右浮动元素的同行问题
在实现散列布局的时候,遇到一个问题,想用自适应布局,即左右两列分别为左右浮动,中间列自适应html代码如下 对应CSS代码为:#wrap{ width: 80%; border: 1px solid #dda; height: 98px; margin: 0 auto; } #le...
分类:其他好文   时间:2014-10-24 16:00:08    阅读次数:194
table 斜线
.out{ border-top:40px #f0efeb solid;/*上边框宽度等于表格第一行行高*/ border-left:200px #e6faf9 solid;/*左边框宽度等于表格第一行第一格宽度*/ position:relative;/*让里面的两个子容器绝对定位*/ }....
分类:其他好文   时间:2014-10-23 17:34:24    阅读次数:118
jQuery 遍历 - eq() 和siblings() 方法
eq() 方法将匹配元素集缩减值指定 index 上的一个。 通过为 index 为 2 的 div 添加适当的类,将其变为蓝色: div { width:60px; height:60px; margin:10px; float:left; border:2px solid blue; } .blue { background:blue; } ...
分类:Web程序   时间:2014-10-21 21:36:56    阅读次数:241
缓冲运动-1-[解决1].html
body{margin:0;padding:0;}         div{width:100px;height:100px;background:red;position: absolute;left:0;}         span{width:0;height:600px;position:fixed;left:600px;top:0;border-left:1px solid red;...
分类:Web程序   时间:2014-10-21 17:45:09    阅读次数:150
Jquery选择器小节
在学习Jquery选择器之前我们先简单的回想一下CSS选择器;以下为CSS常用选择器:选择器语法描述示例标签选择器E{CSS规则}以文档元素作为选择器1 tr{2 border: solid 1px red;3 width: 120px;4 }5 a{6 text-decoration:...
分类:Web程序   时间:2014-10-21 17:06:54    阅读次数:205
uva 10047 - The Monocycle bfs
题目链接      Problem A: The Monocycle  A monocycle is a cycle that runs on one wheel and the one we will be considering is a bit more special. It has a solid wheel...
分类:其他好文   时间:2014-10-20 23:20:06    阅读次数:309
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!