div+css美化radio实现点击切换背景颜色效果代码
代码语言:html
所属分类:表单美化
代码描述:div+css美化radio实现点击切换背景颜色效果代码
代码标签: div css 美化 radio 点击 切换 背景 颜色
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<style>
html,body {
height:100%;
font-family:monospace;
margin:0;
padding:0;
}
.container {
width:100%;
height:100%;
display:flex;
justify-content:center;
align-items:center;
}
.source {
position:fixed;
right:2rem;
bottom:2rem;
}
.source a {
color:#fff;
text-decoration:none;
}
.source a span {
opacity:0.32;
}
.phone {
display:flex;
width:25em;
height:25em;
background-color:#f3f3f3;
border-radius:32px;
overflow:hidden;
}
.phone-footer {
display:flex;
justify-content:center;
align-items:center;
width:100%;
height:6em;
padding-left:2em;
padding-r.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0