码迷,mamicode.com
首页 >  
搜索关键字:box    ( 8232个结果
genymotion不能联网
1.打开OracleVM Virtual Box,选中相应的虚拟机,点击上侧工具栏中的『设置』;2.选择『网络』,接着将: 网卡1的连接方式设置为仅主机(Host-Only)适配器; 将网卡2设置成网络地址转换(NAT)方式;如下图所示:3.这样设置后的重启genymotion虚拟机访问网页,发.....
分类:其他好文   时间:2015-01-06 11:36:54    阅读次数:726
CSS3中的新特性
一、CSS3新属性 1、CSS3边框 边框添加了三种特性,圆角边框border-radius,盒阴影box-shadow,图片边框border-image。 圆角边框border-radius语法:border-radius:1-4 length|%/1-4 length|%;默认值:0;...
分类:Web程序   时间:2015-01-06 00:47:38    阅读次数:189
List
1.块状list.list_box{ padding:0px; 15px 30px; width:970px; margin:0 auto; overflow:hidden;}.list_items{ list-style:none; width:1020px;}.list_items li{ wi...
分类:其他好文   时间:2015-01-06 00:42:37    阅读次数:209
纯 CSS 单行文本溢出追加省略号
.box { width: 200px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}第二个属性是如何处理文本中的空白:nowrap 文本不会换行,文本会在在同一行上继续,直到遇到 <br> 标签为止。第...
分类:Web程序   时间:2015-01-05 16:18:51    阅读次数:177
JS 简单拖拽
var login = document.getElementById('box');login.onmousedown = function(e) { var e = getEvent(e);//获取event对象 var _this = this...
分类:Web程序   时间:2015-01-05 16:11:53    阅读次数:139
Virtual Box 下Ubuntu桥接网络设置
转自:http://os.51cto.com/art/200908/144564.htm一般而言,安装完VirtualBox设定网路时选择默认的NAT模式,Guest就可顺利联网了,但是这种方式比较死板,要作更有弹性的变化,应该采用桥接模式(Bridged),这里的桥接模式就如同VMware中的Br...
分类:系统相关   时间:2015-01-05 00:32:19    阅读次数:289
HDU 5155 Harry And Magic Box(组合数学+容斥)
Problem Description One day, Harry got a magical box. The box is made of n*m grids. There are sparking jewel in some grids. But the top and bottom of the box is locked by amazing magic, so Harry ca...
分类:其他好文   时间:2015-01-04 23:04:13    阅读次数:315
before和:after伪元素
before和after都是前端常用到的伪元素,在中文的直接翻译里,before代表着之前after代表着之后在css中,也大概是这样子;如下代码:HTML代码<pclass="box">thisiselement</p>css代码//before中文翻译为在前 //after中文翻译为在后 p.box{ width:500px; border:soli..
分类:其他好文   时间:2015-01-04 19:40:00    阅读次数:189
background-origin
background-origin 设置元素背景图片的原始起始位置。 ? 语法: background-origin?:?border-box?|?padding-box?|?content-box; 参数分别表示背景图片是从边框,还是内边距(默认值),或者是内容区域开始...
分类:其他好文   时间:2015-01-04 17:26:52    阅读次数:147
HDU 5147 Harry And Magic Box dp+组合数
点击打开链接 Harry And Magic Box Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 197    Accepted Submission(s): 97 Problem Descript...
分类:其他好文   时间:2015-01-04 17:16:39    阅读次数:142
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!