<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<title>CSS3 水墨风格背景动画按钮DEMO演示</title>
<style>
:root {
--height: 100px;
--width: 200px;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
width: 100%;
height: 100vh;
background-image: linear-gradient(to right, #4facfe 0%, #00f2fe 100%);
font-family: sans-serif;
}
.wrapper {
width: calc(4 * var(--width));
height: calc(4 * var(--height));
display: flex;
justify-content: center;
align-items: center;
}
.button {
position: relative;
width: calc(0.8 * var(--width));
height: calc(0.7 * va