div+css实现天气预报手表ui效果代码
代码语言:html
所属分类:布局界面
代码描述:div+css实现天气预报手表ui效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<link href='https://fonts.googleapis.com/css?family=Roboto:400,300,700' rel='stylesheet' type='text/css'/>
<style>
@-webkit-keyframes bg-slide {
0% {background-position-x: left;}
40% {background-position-x: right;}
50% {background-position-x: right;}
90% {background-position-x: left;}
}
html, body {
position: relative;
margin: 0;
height: 100%;
background: linear-gradient(to bottom, #999, #ddd);
font-family: 'Roboto', sans-serif;
z-index: 1;
}
#controls {
padding: 10px;
text-align: center;
}
#controls button {
margin: 5px;
border: 0;
padding: 5px 0;
width: 55px;
cursor: pointer;
color: #666;
background: #eee;
}
#controls button:focus {
outline: 0;
}
#watch {
position: absolute;
top:50%; left:50%;
height:200px; width:200px;
margin-top:-100px; margin-left:-112px;
border-radius: 50%;
background: #222;
border: 10px solid #333;
color: white;
text-align: center;
}
#watch:before .........完整代码请登录后点击上方下载按钮下载查看
















网友评论0