CSS: iPad Full screen background

เขียน HTML ง่ายๆ กับ Full screen background Responsive บน iPad

Note: Meta -> apple-mobile-web-app-capable

<html>

<head>
<meta name=”apple-mobile-web-app-capable” content=”yes”>
<script src=”//ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js”></script>
<title></title>
</head>
<body>
</body>
</html>

<style>
html {
background: url(asset/images/main.gif) no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
</style>