Viewport-Definition von Mobile HTML5-boilerplate übernommen
authorKai Moritz <kai@juplo.de>
Tue, 17 Dec 2013 19:45:56 +0000 (20:45 +0100)
committerKai Moritz <kai@juplo.de>
Tue, 19 Jan 2016 16:45:40 +0000 (17:45 +0100)
Siehe:

 * https://github.com/h5bp/html5-boilerplate/blob/master/doc/html.md
 * https://docs.google.com/presentation/d/1rmxwWa9P6_xHqonmh5ONXRS-jPc5XKbnv99Rjkhe04s/present
 * j.mp/mobileviewport

src/main/webapp/WEB-INF/templates/html5page.jsp

index 46c4e08..aff3b5f 100644 (file)
@@ -9,6 +9,7 @@
   <head>
     <title>juplo - <t:getAsString name="title"/></title>
     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+    <meta name="viewport" content="width=device-width, initial-scale=1">
     <link rel="stylesheet" type="text/css" href="${base}css/base.css" />
     <style type="text/css">
       @import '${base}css/screen.css' screen and (min-width: 960px);