1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/mirrors-baidu-netdisk-high-speed

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
Клонировать/Скачать
popup.css 1.3 КБ
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
Liang Ding Отправлено 24.12.2017 16:46 cbbe6ba
html, body {
margin: 0;
padding: 0;
}
.container {
width: 200px;
padding: 0 10px;
font-size: 12px;
line-height: 1.5;
font-family: "Helvetica Neue", Helvetica, Arial, "Hiragino Sans GB", "Hiragino Sans GB W3", "Microsoft YaHei UI", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
}
.info {
margin-right: 10px;
}
.switch-title {
flex: 1;
font-size: 1.2em;
font-weight: bold;
text-align: left;
color: #333;
}
.btn-switch {
position: absolute;
z-index: -200000;
opacity: 0;
}
.btn-switch + label {
display: inline-block;
width: 63px;
height: 37px;
position: relative;
margin: auto;
background-color: #ddd;
border-radius: 37px;
cursor: pointer;
outline: 0;
user-select: none;
}
.btn-switch + label:before {
content: '';
display: block;
position: absolute;
top: 1px;
left: 1px;
bottom: 1px;
right: 1px;
background-color: #f1f1f1;
border-radius: 37px;
transition: background 0.4s;
}
.btn-switch + label:after {
content: '';
display: block;
position: absolute;
height: 35px;
width: 35px;
background-color: #fff;
border-radius: 100%;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
transition: margin 0.4s;
}
.btn-switch:checked + label:before {
background-color: #8ce196;
}
.btn-switch:checked + label:after {
margin-left: 28px;
}

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://api.gitlife.ru/oschina-mirror/mirrors-baidu-netdisk-high-speed.git
git@api.gitlife.ru:oschina-mirror/mirrors-baidu-netdisk-high-speed.git
oschina-mirror
mirrors-baidu-netdisk-high-speed
mirrors-baidu-netdisk-high-speed
master