爱玺玺

爱玺玺的生活日记本。wx:lb87626

css默认position是static

css默认position是static

js onclick打开新的窗口新的页面

 onclick="javascript:window.open('/brand/','_blank');"

superslide.js 控制按钮图滚动

jQuery(".exp_group").slide({ titCell:".dohead li", mainCell:".doctors", effect:"fold", autoPlay:true,delayTime:200,

startFun:function(i,p){

if(i==0){ jQuery(".exp_group .pre").click() } else if( i%3==0 ){ jQuery(".exp_group .nex").click()}

}

});

jQuery(".exp_group .dohead").slide({ mainCell:"ul",delayTime:100,vis:3,scroll:3,effect:"left",autoPage:true,pnLoop:false,prevCell:".pre",nextCell:".nex" });



初步认识css3弹性盒子display:flex align-items:center 定义上下居中对齐。

div

{

    display: flex;

    align-items:center;

}

初步认识css3弹性盒子display:flex的 align-items:center 定义上下居中对齐。

先将div定义成弹性盒子display:flex,然后定义纵轴方向对齐方式 align-items:center。

css sub sup下标上标影响行间距问题修复方案

sup,sub{line-height:0px;}

测试可行。

css3 div边框滑动显示出来效果

原理就是单独写几个div作为边框,然后单独作动画。

Powered By Z-BlogPHP 1.4 Deeplue Build 150101

Copyright Your WebSite.Some Rights Reserved.

蜀ICP备11021721号-5