Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removed original devicepixelratio example

  • Loading branch information...
commit 098954fe5811593fd4764e64b6d52141d4645635 1 parent 97ffdaa
@andreasbovens authored
Showing with 0 additions and 48 deletions.
  1. +0 −48 meta-widthdevicewidth-devicepixelratio.html
View
48 meta-widthdevicewidth-devicepixelratio.html
@@ -1,48 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<meta charset="utf-8">
-<title>&lt;meta name="viewport" content="width=device-width"&gt; with device-pixel-ratio media query</title>
-<meta name="viewport" content="width=device-width">
-<link href='http://fonts.googleapis.com/css?family=Terminal+Dosis:200,400,700' rel='stylesheet' type='text/css'>
-<link href="style.css" rel="stylesheet" type="text/css">
-<style>
-@media (-o-min-device-pixel-ratio: 3/2),
- (-webkit-min-device-pixel-ratio: 1.5),
- (min--moz-device-pixel-ratio: 1.5),
- (min-resolution: 1.5dppx) {
- body {background-size: 1000px;}
-}
-</style>
-<script src="report.js"></script>
-<script>
-function init() {
- var article = document.getElementById('article');
- var top = document.getElementById('top');
- top.addEventListener('click', function () {
- article.classList.toggle('fold');
- }, false);
-}
-window.addEventListener('load', init, false);
-</script>
-</head>
-<body>
-<article id="article">
-<h1 id="top">viewport setting</h1>
-<pre><code>&lt;meta name="viewport" content="width=device-width"&gt;
-+
-@media (-o-min-device-pixel-ratio: 3/2),
- (-webkit-min-device-pixel-ratio: 1.5),
- (min--moz-device-pixel-ratio: 1.5),
- (min-resolution: 1.5dppx) {
- body {background-size: 1000px;}
-}
-</code></pre>
-<h1>reported values</h1>
-<output></output>
-<h1>lorem ipsum</h1>
-<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non elit non enim consectetur iaculis ut ac mi. Sed adipiscing nulla id ipsum placerat congue. Quisque nec diam eget libero convallis iaculis. Nam feugiat purus id diam placerat suscipit. Cras nec tincidunt leo. Integer tincidunt porttitor enim, et elementum augue pellentesque id. Quisque leo velit, tincidunt in pretium in, cursus eu elit. Etiam vitae lacus ligula.</p>
-<p>Quisque nec diam eget libero convallis iaculis. Nam feugiat purus id diam placerat suscipit. Cras nec tincidunt leo. Integer tincidunt porttitor enim, et elementum augue pellentesque id. Quisque leo velit, tincidunt in pretium in, cursus eu elit. Etiam vitae lacus ligula.</p>
-</article>
-</body>
-</html>
Please sign in to comment.
Something went wrong with that request. Please try again.