“viewport” Kode Jawaban

Viewport meta

<meta name="viewport" content="width=device-width, initial-scale=1.0" />
Misty Millipede

HTML Viewport



<meta name="viewport" content="width=device-width, initial-scale=1.0">

 
Water Monitor

viewport

Viewport = size of the screen

Useful information to know for mobile phones:
 1. "width=device-width" is saying "Use the width of the actual device"
 2. "initial-scale=1" is saying "Dont zoom in or out"
 
In practice:
<meta name="viewport" content="width=device-width, initial-scale=1"/>
QuietHumility

viewport

<!-- Responsive // Viewport -->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
Manu_Gandanga

Jawaban yang mirip dengan “viewport”

Pertanyaan yang mirip dengan “viewport”

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya