css实现线条倒影动画效果代码

代码语言:html

所属分类:动画

代码描述:css实现线条倒影动画效果代码

代码标签: css 线条 倒影 动画

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

<!DOCTYPE html>
<html lang="en" >

<head>
  <meta charset="UTF-8">

  
  
  
<style>
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  display: flex;
  min-height: 100vh;
  justify-content: center;
  align-items: center;
  background: #000;
}

.container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  -webkit-box-reflect: below 2px linear-gradient(transparent, #0005);
}

.container .box {
  position: relative;
  width: 300px;
  height: 300px;
  background: linear-gradient(
    45deg,
    #00f376 10%,
    transparent 10%,
    transparent 50%,
    #00f376 50%,
    #00f376 60%,
    transparent 60%,
    transpar.........完整代码请登录后点击上方下载按钮下载查看

网友评论0