css+js实现波纹涟漪过渡效果轮播图幻灯片效果代码

代码语言:html

所属分类:幻灯片

代码描述:css+js实现波纹涟漪过渡效果轮播图幻灯片效果代码

代码标签: 涟漪 过渡 效果 轮播 幻灯片 效果

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开

<html>

<head>
    <style>
        @import url("https://fonts.googleapis.com/css?family=Heebo:800");
        * {
          margin: 0;
          padding: 0;
          box-sizing: border-box;
        }
        body{background-color: #1F1F1F;overflow: hidden}
        .parent {
          width: 681px;
          height: 384px;
          top: 0;
          bottom: 0;
          left: 0;
          right: 0;
          margin: auto auto;
          overflow: hidden;
          position: absolute;
          border-radius: 16px;
          -webkit-box-shadow: 0 0 88px 5px rgba(0, 0, 0, 0.75);
          -moz-box-shadow: 0 0 88px 5px rgba(0, 0, 0, 0.75);
          box-shadow: 0 0 88px 5px rgba(0, 0, 0, 0.75);
        }
        
        svg {
          position: absolute;
          z-index: 1;
          width: 681px;
          height: 384px;
        }
        
        button {
          position: absolute;
          z-index: 50;
          width: 40px;
          overflow: hidden;
          height: 40px;
          border: none;
          border-radius: 50%;
          background: #fff;
          cursor: pointer;
          -webkit-box-shadow: 0 0 88px 5px rgba(0, 0, 0, 0.75);
          -moz-box-shadow: 0 0 88px 5px rgba(0, 0, 0, 0.75);
          box-shadow: 0 0 88px 5px rgba(0, 0, 0, 0.75);
        }
        button:focus {
          outline-width: 0;
        }
        
        circle {
          stroke: #fff;
          fill: none;
          .........完整代码请登录后点击上方下载按钮下载查看

网友评论0