1 Star 0 Fork 1

张宇 / 网页抽奖程序

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
input.scss 1.37 KB
一键复制 编辑 原始数据 按行查看 历史
张宇 提交于 2023-08-21 06:43 . 第一次上传
//** variables
$background: #f5f6fa;
$text: #9c9c9c;
$input-bg-color: #fff;
$input-text-color: #a3a3a3;
$button-bg-color: #7f8ff4;
$button-text-color: #fff;
//** root
:root {
background: $background;
color: $text;
font: 1rem "PT Sans", sans-serif;
}
html,
body,
.container {
height: 100%;
}
a {
color: inherit;
&:hover {
color: $button-bg-color;
}
}
//** helper
.container {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.uppercase {
text-transform: uppercase;
}
//** button
.btn {
display: inline-block;
background: transparent;
color: inherit;
font: inherit;
border: 0;
outline: 0;
padding: 0;
transition: all 200ms ease-in;
cursor: pointer;
&--primary {
background: $button-bg-color;
color: $button-text-color;
box-shadow: 0 0 10px 2px rgba(0, 0, 0, .1);
border-radius: 2px;
padding: 12px 36px;
&:hover {
background: darken($button-bg-color, 4%);
}
&:active {
background: $button-bg-color;
box-shadow: inset 0 0 10px 2px rgba(0, 0, 0, .2);
}
}
&--inside {
margin-left: -96px;
}
}
//** form
.form {
&__field {
width: 360px;
background: #fff;
color: $input-text-color;
font: inherit;
box-shadow: 0 6px 10px 0 rgba(0, 0, 0 , .1);
border: 0;
outline: 0;
padding: 22px 18px;
}
}
1
https://gitee.com/zhang-yuabcdef/website-lottery-program.git
git@gitee.com:zhang-yuabcdef/website-lottery-program.git
zhang-yuabcdef
website-lottery-program
网页抽奖程序
master

搜索帮助