加减步进选择框动画效果
代码语言:html
所属分类:表单美化
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<style>
@import url("https://fonts.googleapis.com/css?family=Rubik&display=swap");
:root {
--color-black: #112c34;
--color-blue-dark: #65849a;
--color-mustard-light: #ede6d9;
--color-mustard-extra-light: #fcf9ed;
--color-mustard-midtone: #9c7830;
}
* {
font-family: "Rubik", sans-serif;
box-sizing: border-box;
font-weight: 400;
color: var(--color-black);
-webkit-font-smoothing: antialiased;
/* disable tap highlight color on mobile safari */
tap-highlight-color: rgba(0, 0, 0, 0);
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
body {
width: 100%;
height: 100%;
margin: 0 auto;
/* disable double tap to zoom on mobile */
touch-action: manipulation;
transition: background-color 0.2s ease-out;
}
#wrapper {
position: absolute;
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
}
form {
width: 100%;
max-width: 340px;
padding: 56px 48px;
.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0