jquery实现手机端移动端九宫格抽奖页面代码

代码语言:html

所属分类:布局界面

代码描述:jquery实现手机端移动端九宫格抽奖页面代码

代码标签: 移动 九宫 抽奖 页面

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开

<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<meta name="format-detection" content="telephone=no">
		<meta http-equiv="Expires" content="-1">
		<meta http-equiv="Cache-Control" content="no-cache">
		<meta http-equiv="Pragma" content="no-cache">
	<style>
	    @charset "utf-8";
html {
	font-size: 50px;
	height: 100%;
}

body {
	position: relative;
	max-width: 100%;
	min-width: 320px;
	width: 100%;
	margin: 0 auto;
	padding: 0px;
	font-family: "microsoft yahei";
	font-size: 100%;
	background:#6dcaf2;
	overflow-x: hidden;
	background-size: 100% 100%;
}
div,
h1,
h2,
h3,
h4,
h5,
h6,
img,
ul,
li,
dl,
dd,
strong,
span,
a,
input,
button,
select,
form,
textarea,
td {
	padding: 0;
	margin: 0;
}

img {
	border: none;
	display: block;
	width: 100%;
}

ul,
dl {
	list-style-type: none;
	margin: 0px;
	padding: 0px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-size: 100%;
	font-weight: normal;
}

a {
	color: #666;
	text-decoration: none;
}

a:link {
	color: #666;
}

a:visited {
	color: #666;
}

a:hover {
	color: #666;
	text-decoration: none;
}

a:active {
	color: #666;
}

a:active {
	outline: none
}

::-webkit-input-placeholder {
	color: #999999;
}

input,
button,
textarea,
select {
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
	vertical-align: middle;
	outline: none;
}

* {
	margin: 0;
	padding: 0;
}

a {
	-webkit-appearance: none;
	-webkit-tap-highlight-color: transparent;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	outline: none;
}

* {
	-webkit-appearance: none;
	-webkit-tap-highlight-color: transparent;
	outline: none;
}

textarea {
	-webkit-appearance: none;
	-moz-appearance: none;
}

select {
	border: solid 1px #fff;
	appearance: none;
	-moz-appearance: none;
	-webkit-appearance: none;
	padding-right: 1px;
}

select::-ms-expand {
	display: none;
}

input[type="button"],
input[type="submit"],
input[type="text"],
input[type="password"],
input[type="reset"],
select,
input[type="radio"],
input[type="checkbox"] {
	-webkit-appearance: none;
	-moz-appearance: none;
	-webkit-tap-highlight-color: transparent;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
	-webkit-appearance: none !important;
	margin: 0;
}

a:active,
input:focus,
img:focus {
	-webkit-tap-highlight-color: transparent;
}

input[type="number"] {
	-moz-appearance: textfield;
}

@media only screen and (min-width: 360px) {
	html {
		font-size: 56.25px;
	}
}

@media only screen and (min-width: 375px) {
	html {
		font-size: 58.5938px;
	}
}

@media only screen and (min-width: 384px) {
	html {
		font-size: 60px;
	}
}

@media only screen and (min-width: 400px) {
	html {
		font-size: 62.5px;
	}
}

@media only screen and (min-width: 414px) {
	html {
		font-size: 64.6875px;
	}
}

@media only screen and (min-width: 424px) {
	html {
		font-size: 66.25px;
	}
}

@media only screen and (min-width: 480px) {
	html {
		font-size: 75px;
	}
}

@media only screen and (min-width: 540px) {
	html {
		font-size: 84.375px;
	}
}

@media only screen and (min-width: 640px) {
	html {
		font-size: 100px;
	}
}

input::-webkit-search-decoration,
input::-webkit-search-cancel-button {
	display: none;
}

*{
  -webkit-overflow-scrolling: touch;
}
 * { touch-action: pan-y; } 
 .banner {
	position: relative;
	width: 100%;
	height: 5.3rem;
	box-sizing: border-box;
	margin: -1.4rem auto 0.2rem;
}

.banner-container {
	width: 78%;
	height: 100%;
	margin: 0 auto;
	padding: 0 0.2rem;
	box-sizing: border-box;
}

.swiper-slide {
	position: relative;
	text-align: center;
	display: -webkit-box;
	display: -ms-flexb.........完整代码请登录后点击上方下载按钮下载查看

网友评论0