gsap+svg实现炫酷点击特效的checkbox复选框效果代码
代码语言:html
所属分类:表单美化
代码描述:gsap+svg实现炫酷点击特效的checkbox复选框效果代码
代码标签: gsap svg 炫酷 点击 特效 checkbox 复选框
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en" >
<head>
  <meta charset="UTF-8">
  
  
  
  
<style>
@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@300&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Lexend+Deca:wght@300&display=swap");
html,
body {
  height: 100%;
}
body {
  background-color: #3d3e4a;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #a3a7ad;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 300;
  font-style: normal;
  font-size: 12px;
  flex-direction: column;
  margin: 0;
}
h1 {
  background-color: rgba(0, 0, 0, 0.5);
  color: #76b3fa;
  font-size: 20px;
  font-family: "Lexend Deca", sans-serif;
  font-weight: 300;
  margin-bottom: 30px;
  padding: 20px 0;
  text-align: center;
  width: 100%;
}
.wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 10px;
}
.input-container {
  border-radius: 8px;
  display: flex;
  align-items: center;
  flex-direction: column;
  margin: 10px 20px;
  position: relative;
}
.control-label {
  background-color: #24252c;
  background-image: repeating-linear-gradient(0deg, #181a29, #181a29 2px, #202436 2px, #202436 4px);
  border: 2px solid #.........完整代码请登录后点击上方下载按钮下载查看
















			
			
				
			
	
网友评论0