码迷,mamicode.com
首页 >  
搜索关键字:vagrant box vagrantfile    ( 8589个结果
js函数
ECMAScript函数不介意传递进来多少参数,也不会因为参数不统一而错误。实际上,函数体内可以通过arguments对象来接收传递进来的参数。function box() { return arguments[0]+' | '+arguments[1]; //得到每次参数的值}alert(box....
分类:Web程序   时间:2015-01-09 17:11:10    阅读次数:116
关于数组的一些方法
var box = ['lili','nana','xiaoxiao'];//alert(box.join('|'));//在数组间插入|//alert(box.push('mm')); //进栈,数组末尾添加一个元素,并返回数组长度//alert(box.pop()); //出栈...
分类:编程语言   时间:2015-01-09 17:00:25    阅读次数:183
纯css实现粒子效果
好久没有更新的CSS3演武场系列,半年前搁浅的一篇文章赋予新年新气象闪亮登场了,研究一下利用css(sass)实现粒子效果,主要使用box-shadow生成粒子,利用css3 animation和translateZ实现动画。...
分类:Web程序   时间:2015-01-09 14:19:18    阅读次数:1032
ie6/7/8中span右浮动折行问题的解决方案
浮动标准:W3C CSS 2.1 规范文档里对于浮动元素与非浮动行内元素相邻时的情况有如下解释。以下是关键段落:A floated box is shifted to the left or right until its outer edge touches the containing bloc...
分类:其他好文   时间:2015-01-09 14:14:39    阅读次数:322
hdu--5155Harry And Magic Box(组合数+容斥原理)
Harry And Magic Box Time Limit:1000MS     Memory Limit:32768KB     64bit IO Format:%I64d & %I64u Submit Status Appoint description:  System Crawler  (2015-01-07) Description One day,...
分类:其他好文   时间:2015-01-08 21:37:43    阅读次数:261
css中的宽度
浏览器通过CSS对元素的盒子模型的描述进行页面渲染的。因此,元素的宽度受到父元素、css描述的影响。 通常,元素的宽度是指盒子模型中content-box所占用的宽度。也就是说,默认box-sizing:content-box.在这里,css的width与图中的width一致。 当设置box-siz...
分类:Web程序   时间:2015-01-08 12:54:49    阅读次数:263
Fast algorithm to compute minimum volume oriented bounding box
Computing minimum volume bounding box is a hard problem in computer science. Exact algorithm costs O(n3) time complexity.However, for lots of applicat...
分类:其他好文   时间:2015-01-08 10:58:58    阅读次数:239
Unity 制作滚动物品界面
Unity 制作滚动物品界面: 第一种方式: (panel的方式实现) 1. 创建一个GameObject(A),添加UIPanel和UIScrollView 2. 物品放入A中,添加Drag Scroll View 和 box Colliders(一般是添加一个Grid,物体放入Grid,把Gri...
分类:编程语言   时间:2015-01-08 00:46:43    阅读次数:350
css3过度效果
New Document p a{ font-size:20px; display:block; font-weight:bold; background:#00aaFF; color:#FFF; width:200px; padding:10px; text-shadow:0px 1px #ccc; border-radius:5px; box-shadow: 5px 5px 5px hs...
分类:Web程序   时间:2015-01-07 22:12:26    阅读次数:165
jquery 仿百度搜索下拉框的插件
今天写了个下拉插件分享出来 效果: , 可以搜素,也可以使用上下键选择匹配出来的值 css .select4_box{border: 1px solid #5897fb;position: absolute;width:250px;background: #fff; border-radius: 4px;-webkit...
分类:Web程序   时间:2015-01-07 13:20:03    阅读次数:121
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!