js实现一个炫酷的图片缩放光标效果代码
代码语言:html
所属分类:动画
代码描述:js实现一个炫酷的图片缩放光标效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en-US" class="is-smooth-scroll-compatible is-loading">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
@charset "UTF-8";h4{margin:0!important}.h100h{height:100vh}::selection{background:#000!important}[type=checkbox]:not(:checked),[type=radio]:not(:checked){position:absolute;left:-9999px}[type=checkbox]:not(:checked)+.checkbox-label,[type=radio]:not(:checked)+.checkbox-label{position:relative;cursor:pointer;line-height:20px;padding-left:35px!important;background-color:transparent!important;display:block;position:static!important;color:#999;margin:9px 0;font-size:12px}[type=radio]:not(:checked)+label:after,[type=radio]:not(:checked)+label:before{border-radius:100%!important}[type=checkbox]:not(:checked)+label:before,[type=radio]:not(:checked)+label:before{content:'';position:absolute;left:0;top:8px;width:22px;height:22px;border:1px solid #666;border-radius:5px;background:0 0}[type=checkbox]:not(:checked)+label:before,[type=radio]:not(:checked)+label:before{border:1px solid #666!important;border-radius:5px;background:0 0}[type=checkbox]:not(:checked)+label:after,[type=radio]:not(:checked)+label:after{content:'';width:12px;height:12px;border-radius:2px;background:#666;position:absolute;top:13px;left:5px;-webkit-transition:all .2s ease;transition:all .2s ease}[type=checkbox]:not(:checked)+label:after,[type=radio]:not(:checked)+label:after{opacity:0;-webkit-transform:scale(0);transform:scale(0)}@media (max-width:767px){.font70{font-size:40px!important}}@media (max-width:991px){.h100h{height:100%}.frame{height:100vh!important;padding:0rem 1rem 0!important}}@media (max-width:1199px){body,html{overflow-y:visible!important}.content{display:none!important}}@media not all and (min-resolution:0.001dpcm){@supports (-we.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0