摘要:
box-shadow box-shadow曲线阴影 box-shadow翘边阴影 阅读全文
摘要:
::-webkit-scrollbar :滚动条整体部分 ::-webkit-scrollbar-thumb :滚动条里面的小方块样式 ::-webkit-scrollbar-track 滚动条的轨道 ::-webkit-scrollbar-button 滚动条轨道两端的小按钮,允许通过点击微调小方 阅读全文
摘要:
1.安装 npm install react-slick; //安装样式 npm install slick carousel; 再在App.css中引入 @import "~slick-carousel/slick/slick.css"; @import "~slick-carousel/slic 阅读全文
摘要:
1.安装命令: npm install -g create-react-app create-ract-app projectName cd projectName npm start; 2.安装react-router npm isntall -S react-router //引入 import 阅读全文
摘要:
var EventUtil = { addHandler:function(elm,type,handler){//添加事件 if(elm.addEventListener){ elm.addEventListener(type,handler,false); }else if(elm.attachEvent){ ... 阅读全文
摘要:
/* http://blog.csdn.net/kepoon/article/details/53608190 */ //x5-video-player-type="h5" x5-video-player-fullscreen="true" <video id="video" src="http:/ 阅读全文
摘要:
(function(){ var supportOrientation = (typeof window.orientation === 'number' && typeof window.onorientationchange === 'object'); var init = function(){ var htmlNode = document.body.parentNode, orien... 阅读全文
摘要:
/* Track */::-webkit-scrollbar-track { -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); -webkit-border-radius: 5px; border-radius: 5px;} /* Handle * 阅读全文
摘要:
//$('.news-list').width($('.nw-wraper').width()); var timer = null, $newBox = $('.nw-box'),//元素盒子 $items = $newBox.children(),//子元素 $pre = $('.news-prev'), $next = $('.news-next'), ... 阅读全文
摘要:
/* http://blog.csdn.net/kepoon/article/details/53608190 */ //x5-video-player-type="h5" x5-video-player-fullscreen="true" <video id="video" src="http:/ 阅读全文