Professional Documents
Culture Documents
HTML Css Notes 3
HTML Css Notes 3
HTML Css Notes 3
++++++++++++++++
head section:
<meta name="view port" content="width=device-width,initial-scale=1.0">
explanation:
- The "viewport" refers to the area of the browser window where the web page is
displayed.
- width equal to the device width
- The initial-scale of 1.0 tells the browser to set the zoom level of the page to
100% when it first loads. This means that the web page will be displayed at its
actual size, without any zooming or scaling applied.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++
astuce: if i want to diplay:none (for mobile) i have to obligatory use a class for
img .otherwise the image wont disappear