码迷,mamicode.com
首页 >  
搜索关键字:relative    ( 3126个结果
css position 几种定位
绝对定位:position:absolute 绝对定位使元素的位置与文档流无关,因此不占据空间。 绝对定位的元素的位置相对于最近的已定位祖先元素(absoulte、relative),如果元素没有已定位的祖先元素,那么它的位置相对于最初的包含块。 因为绝对定位的框与文档流无关,所以它们可以覆盖...
分类:Web程序   时间:2014-11-21 18:37:52    阅读次数:157
css3 备忘
1、渐变色 从上到下,白色透明度100%到白色透明度0%渐变(注意为避免继承,新建元素,父元素relative,子元素absolute) background-image:linear-gradient(to bottom,rgba(255, 255, 255, 1),rgba(255, 255,....
分类:Web程序   时间:2014-11-21 13:57:42    阅读次数:185
IE中a标签绝对定位时才生的bug
对a链接的display设置为block,以便整个标签可以点击。但是,如果对该标签设置为position:absolute后,会发现在ie6、ie7下有时点击无效,ie8下有效(ie8标准),使用zoom:1方式也无法解决问题。解决方案1、使用position:relative而不是position...
分类:其他好文   时间:2014-11-20 13:25:19    阅读次数:137
[Bhatia.Matrix Analysis.Solutions to Exercises and Problems]ExI.4.6
Let $A$ and $B$ be two matrices (not necessarily of the same size). Relative to the lexicographically ordered basis on the space of tensors, the matri...
分类:其他好文   时间:2014-11-19 18:20:50    阅读次数:142
js 动画初探
absolute relative animate()
分类:Web程序   时间:2014-11-19 07:04:54    阅读次数:167
grails中使用bootstrap后,css样式设置
.pagination>a,.pagination>span{background-color:#fff;border:1pxsolid#ddd;color:#428bca;float:left;line-height:1.42857;margin-left:-1px;padding:6px12px;position:relative;text-decoration:none;}.pagination>a.active,.currentStep,.pagination>span,.pa..
分类:Web程序   时间:2014-11-19 02:05:02    阅读次数:215
CSS position relative absolute fixed
position属性absolute与relative 详解最近一直在研究javascript脚本,熟悉DOM中CSS样式的各种定位属性,以前对这个属性不太了解,从网上找到两篇文章感觉讲得很透彻,收藏下来,唯恐忘记。一.解读absolute与relative很多朋友问过我absolute与relat...
分类:Web程序   时间:2014-11-18 23:18:43    阅读次数:321
改变上传文件样式
首先,给元素戴个套子,这样比较安全嘛,是不是?看代码:浏览...有了这个安全的外层容器,我们就可以开搞了。问题的核心有两点:第一,把丑陋的原生上传控件给藏起来;第二,支持点击上传功能。关键的代码片段:.input-file {overflow:hidden;position:relative;}.i...
分类:Web程序   时间:2014-11-18 13:08:15    阅读次数:187
slider(js)扩展
<!DOCTYPE HTML> <html> <head> <meta charset="UTF-8"> <title>Slider图片轮播</title> <style type="text/css"> *{margin:0;padding:0} ul,li{list-style:none} #slider{ position:relative;width:470px; heigh...
分类:Web程序   时间:2014-11-17 22:59:13    阅读次数:483
[LeetCode]Partition List
Given a linked list and a value x, partition it such that all nodes less than x come before nodes greater than or equal to x. You should preserve the original relative order of the nodes in each of...
分类:其他好文   时间:2014-11-14 17:50:06    阅读次数:137
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!