js+css实现液态瀑布流冲刷按钮悬浮动画效果代码

代码语言:html

所属分类:动画

代码描述:js+css实现液态瀑布流冲刷按钮悬浮动画效果代码

代码标签: js css 液态 瀑布流 冲刷 按钮 悬浮 动画

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

<!DOCTYPE html>
<html lang="en" >
<head>
  <meta charset="UTF-8">
<style>
    * {
    box-sizing: border-box;
}
.container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
nav {
  width: 200px;
  height: 245px;
  z-index: 50;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
button {
    width: 100%;
    height: 50px;
    transition: .3s;
    position: relative;
    color: white;
    margin-bottom: 5px;
    font-size: 14px;
    background-color: black;
    border: none;
    outline: none;
    background: black;
}
button::before {
    content: '';
    outline: none;
    border: none;
    width: 100%;
    height: 50px;
    line-height: 50px;
    position: absolute;
    top: 0;
    left: 0;
    transition: .3s;
    background: rgba(0,0,0.........完整代码请登录后点击上方下载按钮下载查看

网友评论0