css实现悬浮切换背景动画特效
代码语言:html
所属分类:悬停
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title> Only CSS: Usually Button</title>
<link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Anton'>
<style>
:root {
--base-color: rgba(255, 255, 255, 1);
--hover-color: rgba(220, 120, 150, 1);
}
body {
height: 100vh;
overflow: hidden;
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center;
font-family: 'Anton', sans-serif;
background: radial-gradient(ell.........完整代码请登录后点击上方下载按钮下载查看
网友评论0