标签:bar event style eset pre inpu cti win webkit
<script type="application/x-javascript">
addEventListener("load", function () {
setTimeout(hideURLbar, 0);
}, false);//当页面加载完成出发事件
function hideURLbar() {
window.scrollTo(0,0);//跳转到的坐标位置
}
</script>
/*-- Reset Code --*/
body {
padding:0;
margin:0;
background:#FFF;
font-family: ‘Nunito‘, sans-serif;
}
body a {
transition:0.5s all;
-webkit-transition:0.5s all;
-moz-transition:0.5s all;
-o-transition:0.5s all;
-ms-transition:0.5s all;
text-decoration: none;
}
body a:hover {
text-decoration: none;
}
body a:focus, a:hover {
text-decoration: none;
}
input[type="button"],input[type="submit"] {
transition:0.5s all;
-webkit-transition:0.5s all;
-moz-transition:0.5s all;
-o-transition:0.5s all;
-ms-transition:0.5s all;
}
h1, h2, h3, h4, h5, h6 {
margin: 0;
padding: 0;
font-family: ‘Nunito‘, sans-serif;
}
p {
margin:0;
}
ul {
margin:0;
padding:0;
}
label {
margin:0;
}
a:focus, a:hover {
text-decoration: none;
outline: none
}
/*-- //Reset Code --*/
标签:bar event style eset pre inpu cti win webkit
原文地址:http://www.cnblogs.com/thirteenleaf/p/7028567.html