js调用手机陀螺仪罗盘数据代码
代码语言:html
所属分类:其他
代码描述:js调用手机陀螺仪罗盘数据代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width">
<link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Droid+Serif:400,700'>
<link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/animate.3.5.1.css">
<style>
body {
background-color:#f1f1f1;
font:24px/1.8 normal normal 'Droid Serif', serif;
padding:20px;
}
body .main .text {
max-width:620px;
min-width:320px;
margin:0 auto;
text-align:center;
color:#666;
}
body .main .text h1 {
padding:10px 20px;
background-color:#F4617B;
border-radius:10px;
color:#fff;
text-shadow:2px 2px 5px rgba(0,0,0,0.2);
}
body .main .text .wowauthor {
font-size:18px;
padding:10px 0;
font-family:"Consolas", monaco, monospace;
}
body .main .text .wowauthor a {
color:#26C544;
text-decoration:none;
border-bottom:1px dashed;
}
body .main .text .output-info {
font-size:24px;
margin:10px 0;
text-align:left;
font-family: Consolas, monaco, monospace;
}
body .main .text .output-info ul {
list-style-type:none;
.........完整代码请登录后点击上方下载按钮下载查看
网友评论0