css+svg实现按住不放波形滚动动画效果代码

代码语言:html

所属分类:动画

代码描述:css+svg实现按住不放波形滚动动画效果代码

代码标签: css svg 按住 不放 波形 滚动 动画

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

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

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


  
  
  
<style>
@import url("https://fonts.googleapis.com/css2?family=Edu+NSW+ACT+Cursive:wght@400..700&display=swap");

body,
html {
	height: 100%;
	margin: 0;
	font-family: "Edu NSW ACT Cursive", cursive;
	font-optical-sizing: auto;
	font-weight: 200;
	font-style: normal;
	background: #cdb4db;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 2vh;
	box-sizing: border-box;
	color: #290010;
}

.outter {
	background: #ffadcb;
	padding: 3vh 1.5vh;
	border-radius: 0.8vh;
	box-shadow: 0.6vh 0.6vh #ff99be;
	gap: 0.6vh;
}

button {
	padding: 1.2vh 3vh;
	font-family: "Edu NSW ACT Cursive", cursive;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
	font-size: 2.5vh;
	font-weight: 600;
	color: #290010;
	backgroun.........完整代码请登录后点击上方下载按钮下载查看

网友评论0