码迷,mamicode.com
首页 >  
搜索关键字:width    ( 32014个结果
遮罩层可滚动
1.解决方法 给弹层加个高度height:100%;然后overflow-y:auto; .choseareaWrap { position: fixed; top: 0; width:100%; height:100%; overflow:auto; z-index:9999; backgroun ...
分类:其他好文   时间:2016-08-17 11:52:13    阅读次数:121
JQ 动态加载多选框--随记
html <table> <tr> <td style="Width: 100px; text-align: right;"><span class="sp">借款产品:</span></td> <td id="checlboxlist"> </td> </tr> </table> jq代码func ...
分类:其他好文   时间:2016-08-17 10:32:46    阅读次数:166
jQuery Flickerplate 幻灯片
Flickerplate 是个轻量级 jQuery 插件,大小仅为 12 kb。它允许用户点击鼠标然后转换内容,非常容易使用,响应式,支持触摸设备 在线实例 使用方法 复制 复制 参数详解 flick_position inner_width 下载 ...
分类:Web程序   时间:2016-08-17 09:01:13    阅读次数:272
0815 document对象
p{ color:#F00;font-size:36px;}#aa{ width:500px; height:400px; position:relative; background-image:url(images/1.jpg); background-size:contain; backgrou ...
分类:其他好文   时间:2016-08-17 08:56:01    阅读次数:144
通过获取input的值来设置box的style属性
在第一个input里输入属性的名字,在第二个input里输入单位,通过点击按钮,改变下面box的属性, 比如,在第一个input里输入width,第二个输入,200px,点击按钮,box,宽就会改变 首先还是要通过id获取到每个需要的东西 给点击按钮设置点击事件onclick事件 比如,通过点击,b ...
分类:其他好文   时间:2016-08-17 01:24:44    阅读次数:841
元素居中问题
一.浮动元素居中 div{ width: 100px; height: 100px; background-color: red; float: left; position: absolute; left: 50%; top: 50%; margin-left: -50px; margin-top ...
分类:其他好文   时间:2016-08-16 23:53:39    阅读次数:174
jquery 写的折叠菜单
<!-- 总栏 --> <div style="width:180px;height:50px;background-color:#000;"> <button class="btn btn-primary btn-lg" id="btn_packinglist" > 单机折叠菜单 </button ...
分类:Web程序   时间:2016-08-16 23:41:36    阅读次数:190
$符号的封装
<!DOCTYPE html><html><head lang="en"> <meta charset="UTF-8"> <title></title> <style> div { width: 100px; height: 100px; background-color: pink; margin ...
分类:其他好文   时间:2016-08-16 21:55:10    阅读次数:154
js实现简单的匀速回到页面顶部。
<!DOCTYPE html><html> <head> <meta charset="utf-8"/> <title>回到顶部</title> <style> body{ height:1600px; } .top{ width:100%; height: 30px; background:red ...
分类:Web程序   时间:2016-08-16 21:38:40    阅读次数:476
JS产生随机一注彩票
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>彩票</title> <style type="text/css"> #wrap{ width: 300px;height: 150px; border: 1px ...
分类:Web程序   时间:2016-08-16 20:14:00    阅读次数:469
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!