css+js实现自适应联系人电话拨号打电话 ui效果代码
代码语言:html
所属分类:其他
代码描述:css+js实现自适应联系人电话拨号打电话 ui效果代码
代码标签: css js 自适应 联系人 电话 拨号 打电话 ui
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/font-awesome-4.7.0/css/font-awesome.min.css">
<style>
section.controls,
.numblock, aside, .display .delete, .display .add, .display .number {
user-select: none;
-moz-user-select: none;
-khtml-user-select: none;
-webkit-user-select: none;
-o-user-select: none;
}
/* basic settings */
html {
box-sizing: border-box;
}
*, *:before, *:after {
box-sizing: inherit;
margin: 0;
padding: 0;
}
img[src="Error.src"] {
display: none;
}
html, body {
width: 100%;
height: 100%;
}
body {
background-color: #8860b5;
font-family: sans-serif;
}
body:after {
content: "";
position: fixed;
left: 0;
top: 0;
width: 100%;
height: 100%;
opacity: 0.2;
}
/**/
.ui-box, aside, .dailer {
height: 100%;
position: relative;
z-index: 2;
}
.dailer ul {
margin: 0 auto;
}
.dailer ul:after {
clear: both;
display: table;
content: "";
}
.display {
height: 20vh;
max-width: 26.25em;
width: 100%;
padding: 0 4.5em;
overflow: hidden;
margin: 0 auto;
position: relative;
}
.display .number {
color: #63d91c;
text-align: center;
line-height: 20vh;
font-size: 5vh;
overflow: hidden;
margin: 0 auto;
}
.display .delete, .display .add {
position: absolute;
top: 50%;
transform: translate(0, -50%);
color: #b2b2b2;
cursor: pointer;
border-radius: 50%;
border: 1px solid #fff;
width: 4vh;
height: 4vh;
line-height: 3.5vh;
font-size: 2vh;
text-align: center;
transition: border-color 0.2s ease-in;
}
.display .delete:hover, .display .delete:focus, .display .delete:active, .display .add:hover, .display .add:focus, .display .add:active {
border-color: #63d91c;
}
.display .add {
left: 1.5em;
}
.display .delete {
right: 1.5em;
}
.more {
display: none;
}
.dail-cancel,
.dail {
margin: 0 auto;
padding: 0 2vh;
display: block;
height: 10vh;
width: 10vh;
}
.dail-cancel {
position: absolute;
left: 50%;
margin-left: -5vh;
bottom: 4vh;
}
figure {
height: 100%;
background: #ccc;
width: 5.625em;
left: 0;
position: absolute;
}
figure .fa {
color: #fff;
width: 5.625em;
height: 100%;
background: #63d91c;
position: absolute;
left: 0;
top: 0;
text-align: center;
line-height: 5.625em;
}
/* the contact list */
aside {
font-family: "Helvetica Neue", "Helvetica", "Arial", sans-serif;
background: rgba(0, 0, 0, 0.2);
padding: 1.25em 0.938em;
}
aside li {
margin: 0 0 1.25em 0;
cursor: pointer;
}
aside li:last-child {
margin-bottom: 0;
}
aside div {
position: relative;
background: #fff;
padding: 0 0 0 5.625em;
min-height: 5.625em;
box-shadow: 8px 40px 80px -10px rgba(0, 0, 0, 0.75);
cursor: pointer;
}
aside label {
padding: 1.563em;
display: block;
cursor: pointer;
}
aside img {
height: 100%;
}
aside strong, aside a {
display: block;
}
aside strong {
font-weight: 300;
color: #666;
padding-bottom: 0.25em;
}
aside .hit {
color: #63d91c;
}
aside a {
color: #b3b3b3;
text-decoration: none;
}
.dailer {
background: #fff;
padding-bottom: 4vh;
}
ul {
list-style-type: none;
}
button {
border: 0;
border-radius: 50%;
outline: 0;
background: transparent;
color: inherit;
cursor: pointer;
height: 13vh;
width: 13vh;
}
button strong, button span {
display: block;
}
bu.........完整代码请登录后点击上方下载按钮下载查看
网友评论0