码迷,mamicode.com
首页 >  
搜索关键字:relative    ( 3126个结果
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...
分类:其他好文   时间:2015-02-07 16:02:00    阅读次数:141
[jQuery编程挑战]002:实现一个转盘大抽奖
body { background-color: #F2F2F2; text-align: center;}.container { position: relative; width: 500px; height: 500px; margin: 0 auto;}...
分类:Web程序   时间:2015-02-06 00:42:27    阅读次数:188
HTML5 canvas 做画板画图 可以做电子白板
HTML5 canvas 做画板画图 可以做电子白板 HTML5 canvas 做画板画图 可以做电子白板 <!-- #container { position: relative;} #imageView { border: 1px solid #000; } ...
分类:Web程序   时间:2015-02-04 21:57:20    阅读次数:317
ie6兼容min-width解决
//若min-width:1000px;*html.ie6_out{margin-left:1000px;zoom:1;}*html.ie6_in{position:relative;float:left;margin-left:-1000px;}<body><!--[iflteIE6]><divclass="ie6_out"><divclass="ie6_in"><![endif]-->body内容<!--[iflteIE6]>&..
分类:其他好文   时间:2015-02-04 18:56:26    阅读次数:88
华为轮播图
<!doctypehtml><html><head><metacharset="utf-8"><title>无标题文档</title><styletype="text/css">*{padding:0;margin:0;}li{list-style:none;}#div1{min-width:1000px;height:400px;position:relative;overflow:hidden;}#div1ul{..
分类:其他好文   时间:2015-02-04 16:50:29    阅读次数:249
使用date-*属性实现纯css的tooltip
HTML: Hover Me! Hover Me!CSS: p { cursor: pointer; position: relative; } p:hover:before{ content:""; position: absolute; left:...
分类:Web程序   时间:2015-02-04 14:22:22    阅读次数:150
android--利用Animation.RELATIVE_TO_SELF做出个性化的动画
在Android开发中,Animation是用来给控件制作效果的。大多数的控件都可以用这个类,这个类包含了4种基本动作,分别为移动,旋转,淡入淡出,缩放。 使用Animation的两种方式: 方式一:在代码中创建、设置以及启动动画(移动TranslateAnimation/旋转RotateAnimation/淡入淡出AlphaAnimation/缩放ScaleAnimation),这样的优点是...
分类:移动开发   时间:2015-02-03 09:32:22    阅读次数:396
Css悬浮
给大家介绍一下position属性,下面是w3c给出的定义:fixed 生成绝对定位的元素,相对于浏览器窗口进行定位。absolute 生成绝对定位的元素,相对于 static 定位以外的第一个父元素进行定位。relative生成相对定位的元素,相对于其正常位置进行定位。static 默认值。没有定...
分类:Web程序   时间:2015-02-02 21:12:56    阅读次数:228
css
@charset"utf-8";*{ margin:0; padding:0; list-style-type:none;}a,img{ border:0;}body{ font:12px/180%Arial,Helvetica,sans-serif,"新宋体";}/*flexslider*/.flexslider{ margin-bottom:10px; position:relative; width:100%; height:100%; overflow:hidden; zoom:1;}.flex..
分类:Web程序   时间:2015-02-02 19:57:20    阅读次数:195
和大家分享表格拖动替换内容以及排序的效果(大牛勿喷)
上代码 Document *{ margin:0; padding:0; } #chenkbox{ margin: 100px auto; width: 500px; position: relative;...
分类:编程语言   时间:2015-02-02 15:54:46    阅读次数:138
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!