纯css美化checkbox实现客厅照明开光效果代码
代码语言:html
所属分类:表单美化
代码描述:纯css美化checkbox实现客厅照明开光效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<style>
/* Variables */
/**/
/* Reset */
*, *::after, *::before {
margin: 0;
padding: 0;
box-sizing: border-box;
transform-style: preserve-3d;
}
/* Generic */
body {
display: flex;
justify-content: center;
align-items: center;
width: 100vw;
height: 100vh;
overflow: hidden;
}
.one {
cursor: pointer;
appearance: none;
outline: none;
-webkit-tap-highlight-color: transparent;
display: flex;
justify-content: center;
align-items: center;
flex-shrink: 0;
position: relative;
width: 370px;
height: 280px;
box-shadow: 0 10px 15px #98849b, 0 50px 15px rgba(152, 132, 155, 0.15), inset 5px 0 0 #D5BFBD, inset -5px 0 0 #D5BFBD;
border-top: 5px solid #FFFFFF;
border-bottom: 5px solid #D5BFBD;
border-rad.........完整代码请登录后点击上方下载按钮下载查看
网友评论0