首页 >

css静态滤镜 + A:Hover 效果第1/3页【javascript】

web前端|js教程css静态滤镜 + A:Hover 效果第1/3页【javascript】
css静态滤镜,+,A:Hover,效果
web前端-js教程
IE Only
Step1:
android版高仿淘宝客户端源码,VScode如何操作,vm16装不了Ubuntu,tomcat在哪配置,c 如何访问sqlite,shopex免费插件,微信公众前端框架,爬虫触犯刑法吗,linux 定时 php,16个seo案例分析seo公司,婚恋网站php源码,双击放大打开网页,豪华企业工作室dz模板,文章系统小程序源码lzw
     WU XIN       * { margin:0px; padding:0px; }          .i1 { width:64px; border:0px none #888; margin:0px; }          .a0 { filter:Gray() Alpha(Opacity=40); display:block; height:64px; width:64px; }     .a0:hover, .a0:active { filter:Alpha(Opacity=100); display:block; height:64px; width:64px; }     .a1 { border:1px solid #999; } .a1:hover { border:1px solid gold;}     .a2 { border:1px solid #999; } .a2:hover { border:1px solid green; }     .a3 { border:1px solid #999; } .a3:hover { border:1px solid blue;}     .a4 { border:1px solid #999; } .a4:hover { border:1px solid red;}     .a5 { border:1px solid #999; } .a5:hover { border:1px solid silver;}     .a6 { border:1px solid #999; } .a6:hover { border:1px solid black;}     .a7 { border:1px solid #999; } .a7:hover { border:1px solid #FEE;}      

然后配合上两行 JS, 做成这样
依然 IE Only
Step2:

opencart 源码分析,ubuntu 源哪个快,爬虫科技小制作,php rows,sem seo saolzw
     WU XIN  /*  Author: Hutia  */ function chkScroll(obj){     var y0=obj.offsetTop, y=event.y, h0=obj.offsetHeight, h1=obj.scrollHeight;     obj.scrollTop=parseInt((y-y0)/h0*(h1-h0)); }       * { margin:0px; padding:0px; }          #main { height:198px; width:66px; overflow:hidden; }          .i1 { width:64px; border:0px none #888; margin:0px; }          .a0 { filter:Gray() Alpha(Opacity=40); display:block; height:64px; width:64px; }     .a0:hover, .a0:active { filter:Alpha(Opacity=100); display:block; height:64px; width:64px; }     .a1 { border:1px solid #999; } .a1:hover { border:1px solid gold;}     .a2 { border:1px solid #999; } .a2:hover { border:1px solid green; }     .a3 { border:1px solid #999; } .a3:hover { border:1px solid blue;}     .a4 { border:1px solid #999; } .a4:hover { border:1px solid red;}     .a5 { border:1px solid #999; } .a5:hover { border:1px solid silver;}     .a6 { border:1px solid #999; } .a6:hover { border:1px solid black;}     .a7 { border:1px solid #999; } .a7:hover { border:1px solid #FEE;}      

继续努力,加上磁性效果…………就是测试久了会看的头晕…….
Step3:

ichat源码,虚拟机怎么装vscode,创建分区ubuntu,tomcat网页有乱码,python 爬虫qq,php都可以开发什么,上海seo网络推广多少钱lzw
     WU XIN  /*  Author: Hutia  */ function chkScroll(obj){     var y0=obj.offsetTop, y=event.y, h0=obj.offsetHeight, h1=obj.scrollHeight;     var sT=parseInt((y-y0)/h0*(h1-h0));     var dif=sT+y-y0-33;     if(dif%6654)sT=sT-dif%66+66;     obj.scrollTop=sT; }       * { margin:0px; padding:0px; }          #main { height:198px; width:66px; overflow:hidden; }          .i1 { width:64px; border:0px none #888; margin:0px; }          .a0 { filter:Gray() Alpha(Opacity=40); display:block; height:64px; width:64px; }     .a0:hover, .a0:active { filter:Alpha(Opacity=100); display:block; height:64px; width:64px; }     .a1 { border:1px solid #999; } .a1:hover { border:1px solid gold;}     .a2 { border:1px solid #999; } .a2:hover { border:1px solid green; }     .a3 { border:1px solid #999; } .a3:hover { border:1px solid blue;}     .a4 { border:1px solid #999; } .a4:hover { border:1px solid red;}     .a5 { border:1px solid #999; } .a5:hover { border:1px solid silver;}     .a6 { border:1px solid #999; } .a6:hover { border:1px solid black;}     .a7 { border:1px solid #999; } .a7:hover { border:1px solid #FEE;}      

上一个效果鼠标动的快了会很头晕…….
又做了一个磁性效果
Step4:

     WU XIN  /*  Author: Hutia  */ function chkScroll(obj){     var y0=obj.offsetTop, y=event.y, h0=obj.offsetHeight, h1=obj.scrollHeight;     var sT=parseInt((y-y0)/h0*(h1-h0));     if(sT%6656)sT=sT-sT%66+66;     obj.scrollTop=sT; }       * { margin:0px; padding:0px; }          #main { height:198px; width:66px; overflow:hidden; }          .i1 { width:64px; border:0px none #888; margin:0px; }          .a0 { filter:Gray() Alpha(Opacity=40); display:block; height:64px; width:64px; }     .a0:hover, .a0:active { filter:Alpha(Opacity=100); display:block; height:64px; width:64px; }     .a1 { border:1px solid #999; } .a1:hover { border:1px solid gold;}     .a2 { border:1px solid #999; } .a2:hover { border:1px solid green; }     .a3 { border:1px solid #999; } .a3:hover { border:1px solid blue;}     .a4 { border:1px solid #999; } .a4:hover { border:1px solid red;}     .a5 { border:1px solid #999; } .a5:hover { border:1px solid silver;}     .a6 { border:1px solid #999; } .a6:hover { border:1px solid black;}     .a7 { border:1px solid #999; } .a7:hover { border:1px solid #FEE;}      

然后再加上一些不知所谓的特效,让这个东东有点动感(小新:看我的动感光波,BBBBB……..) -_-
Step 5: (永远的 IE Only)

     WU XIN  /*  Author: Hutia  */ function chkScroll(obj){     var y0=obj.offsetTop, y=event.y, h0=obj.offsetHeight, h1=obj.scrollHeight, currentNode;     var sT=parseInt((y-y0)/h0*(h1-h0));     var pT=document.getElementById("pointer");          if(sT%6656)sT=sT-sT%66+66;     obj.scrollTop=sT;          currentNode=obj.children[parseInt((sT+y-y0)/66)];     if(!currentNode)return;     with(pT.style){         display="block";         backgroundColor=currentNode.currentStyle.borderColor;         pT.baseY=top=currentNode.offsetTop-sT;         left=currentNode.offsetLeft+currentNode.offsetWidth+2;     }      } function crazyPointer(){     try{         var pT=document.getElementById("pointer");         if(isNaN(parseInt(pT.baseY)))pT.baseY=0;         if(isNaN(parseInt(pT.y)))pT.y=0;         if(isNaN(parseInt(pT.h)))pT.h=0;         if(isNaN(parseInt(pT.vy)))pT.vy=1;         if(isNaN(parseInt(pT.vh)))pT.vh=1;                  pT.y+=pT.vy*parseInt(Math.random()*3);         if(pT.y>65){pT.y=65;pT.vy=-1;}         if(pT.y65){pT.h=65-pT.y;pT.vh=-1;}         if(pT.h<0){pT.h=1;pT.vh=1;}                  pT.style.top=pT.baseY+pT.y;         pT.style.height=pT.h;     }catch(e){}     setTimeout(crazyPointer,10); } function hidePointer(){     document.getElementById("pointer").style.display="none"; } crazyPointer();       * { margin:0px; padding:0px; }          #main { height:198px; width:66px; overflow:hidden; }          #pointer { display:none; position:absolute; width:3px; overflow:hidden; }          .i1 { width:64px; border:0px none #888; margin:0px; }          .a0 { filter:Gray() Alpha(Opacity=40); display:block; height:64px; width:64px; }     .a0:hover, .a0:active { filter:Alpha(Opacity=100); display:block; height:64px; width:64px; }     .a1 { border:1px solid #999; } .a1:hover { border:1px solid gold;}     .a2 { border:1px solid #999; } .a2:hover { border:1px solid green; }     .a3 { border:1px solid #999; } .a3:hover { border:1px solid blue;}     .a4 { border:1px solid #999; } .a4:hover { border:1px solid red;}     .a5 { border:1px solid #999; } .a5:hover { border:1px solid silver;}     .a6 { border:1px solid #999; } .a6:hover { border:1px solid black;}     .a7 { border:1px solid #999; } .a7:hover { border:1px solid #FEE;}     

css静态滤镜 + A:Hover 效果第1/3页【javascript】
  • css静态滤镜 + A:Hover
  • css静态滤镜 + A:Hover | css静态滤镜 + A:Hover ...

    css静态滤镜 + A:Hover 效果第1/3页【javascript】
  • css静态滤镜_CSS/HTML
  • css静态滤镜_CSS/HTML | css静态滤镜_CSS/HTML ...