Browse Source

viewport to css

Mstrdav 3 years ago
parent
commit
56834414b7
2 changed files with 7 additions and 1 deletions
  1. 7
    0
      Y/ystyle.css
  2. 0
    1
      index.html

+ 7
- 0
Y/ystyle.css View File

@@ -4,6 +4,13 @@
4 4
   src: url('/Y/Poppins-Light.ttf') format('truetype');
5 5
 }
6 6
 
7
+/* VIEWPORT */
8
+@viewport {
9
+    width: device-width;
10
+    initial-scale: 1.0;
11
+    zoom: 1;
12
+}
13
+
7 14
 /* règles generéales */
8 15
 * {
9 16
   margin: 0px;

+ 0
- 1
index.html View File

@@ -5,7 +5,6 @@
5 5
   <title>D. Le Botlan</title>
6 6
   <meta content="text/html; charset=utf-8" http-equiv="content-type" />
7 7
   <link media="all" href="Y/ystyle.css" rel="stylesheet" />
8
-  <meta name="viewport" content="width=device-width, initial-scale=1.0">
9 8
   <script src="Y/Scripts/yfold.js"></script>
10 9
 </head>
11 10
 

Loading…
Cancel
Save