码迷,mamicode.com
首页 >  
搜索关键字:absolute    ( 3571个结果
[leetcode]Simplify Path
Simplify PathGiven an absolute path for a file (Unix-style), simplify it.For example,path="/home/", =>"/home"path="/a/./b/../../c/", =>"/c"click to sh...
分类:其他好文   时间:2014-07-25 02:25:34    阅读次数:247
transition过度效果 + transform旋转360度
css样式:.animate{ width:65px; height:40px; background:#92B901; color:#ffffff; position:absolute; font-weight:bold; font:12px '微软雅黑'...
分类:其他好文   时间:2014-07-24 17:11:05    阅读次数:295
之前项目中用到的简单的自定义弹出提示框的实现,整理整理,当然开源的插件很多,但自己写的可以随意发挥
效果如下:html代码: click on me! CSS代码:#contentPopup { position: absolute; display: none; ...
分类:其他好文   时间:2014-07-24 14:42:15    阅读次数:303
【webQD】☆★之详解position: absolute、relative属性
【webQD】☆★之详解position:absolute、relative首先我们来看一下W3C对position的解释:我们再看,W3C对position属性值的解释:ok,我们需要了解的是:其中absolute和relative是最常用的,fixed用得也比较多(其中IE6并不支持fixed)。1、absolute(绝对定位)absolute是生成觉对..
分类:Web程序   时间:2014-07-23 21:09:46    阅读次数:308
(40)JS运动之右下角悬浮框
#div1{ width:100px; height:150px; background:red; position:absolute; right:0; bottom:0; }  window.onscroll=function (){ var oDiv=document.getElementById('div1'); var s...
分类:Web程序   时间:2014-07-23 13:33:26    阅读次数:216
(41)JS运动之右侧中间悬浮框(对联悬浮框)
#div1{ width:100px; height:150px; background:red; position:absolute; right:0; bottom:0; }  window.onscroll=function (){ var oDiv=document.getElementById('div1'); var s...
分类:Web程序   时间:2014-07-23 13:33:17    阅读次数:286
关于absolute定位
先上图吧。as you see这是一个购物车的表单,有商品的各种信息。让我们观察红色方框圈起来的部分,第一行只有一个价格$117,第二行除了这个价格,还有个原价(划掉的部分)$130。整个表是一个,价格部分在中。关键是样式,$117那一部分文字总是在一行的中间,与本行的其他文字在一条水平线上,这一部...
分类:其他好文   时间:2014-07-22 23:07:32    阅读次数:208
几种代价函数
SAD(Sum of Absolute Difference)=SAE(Sum of Absolute Error)即绝对误差和 SATD(Sum of Absolute Transformed Difference)即hadamard变换后再绝对值求和 SSD(Sum of Squared Dif...
分类:其他好文   时间:2014-07-22 22:43:32    阅读次数:246
(37)JS运动之“分享到”移入移出功能
基本思路:采用定时器, #div1{ width:150px; height:200px; background:green; position:absolute; top:50px; left:-150px; } #div1 span{ position:absolute; width:20px; height:60px; line-he...
分类:Web程序   时间:2014-07-22 22:39:15    阅读次数:255
(36)JS运动之使物体向右运动
基本思路:样式 #div1{ width:200px; height:200px; background:red; position:absolute;//不加绝对定位,就跑不起来 top:50px; left:0px; }  var timer=null; function startMov...
分类:Web程序   时间:2014-07-22 22:38:54    阅读次数:194
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!