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"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="A page's description, usually one or two sentences." />
<meta name="keywords" content="banana, banana facts" />
// viewport for Responsive Design
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- 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">
h1 {
font-size: 5.9vw;
}
h2 {
font-size: 3.0vh;
}
p {
font-size: 2vmin;
}
h1 {
font-size: 5.9vw;
}
h2 {
font-size: 3.0vh;
}
p {
font-size: 2vmin;
}
Code Example |
---|
Html :: boostrap input tag |
Html :: how do i link back out a folder using th a-href tag |
Html :: how to make bold text in html |
Html :: $ html |
Html :: conditional script tag in html head site:stackoverflow.com |
Html :: object html |
Html :: html title |
Html :: divs html |
Html :: radio button bootstrap |
Html :: bootstrap table small |
Html :: h3 in html |
Html :: nav bar activate in jinja |
Html :: tailwind css width 50 percent |
Html :: form row twig symfony |
Html :: p tags |
Html :: icon for instagram in bootstrap |
Html :: bootstrap tab |
Html :: how to attach pdf on whatsapp through html url |
Html :: v model vue |
Html :: html snippet |
Html :: import ionic html |
Html :: color in html |
Html :: what is <tr in HTML |
Html :: standaard html code |
Html :: table title html |
Html :: remark asp markup |
Html :: how to remove line breaks in html |
Html :: Javascript to select td element that was clicked in a table |
Html :: routerLinkActive in dropdown main text |
Html :: jquery get innerhtml of span |