Add viewport width meta tag
Setting the viewport width meta tag to device-width is the finishing touch on the excellent mobile friendly website you have created. I have tested this change on android, iphone, Mac (chrome), and Windows (IE 11).
This commit is contained in:
parent
c146c3810a
commit
bb8c3ad88f
@ -61,6 +61,7 @@ if( !$title ) { $title = cleanTitle(basename(dirname(__FILE__))); }
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title><?php echo $title; ?></title>
|
||||
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.0/jquery.min.js"></script>
|
||||
<link href="//fonts.googleapis.com/css?family=Lato:400" rel="stylesheet" type="text/css" />
|
||||
|
Loading…
Reference in New Issue
Block a user