The viewport meta tag

Initially, the viewport meta tag appeared in the mobile version of Safari, then it was picked up by other developers and mobile browsers, although it is not part of the W3C standard.

The meta tag is placed in the <head> of the page and sets the rules for how the browser fits the page to the width of the mobile phone or tablet screen.

22.01.2020, updated 28.05.2021
54
Next post Sorting in MySQL

Comments

to add a comment.

Other publications

Styling Checkbox
Here are some examples of how to change the look of checkboxes using CSS, images and some JS.
268
0
Smooth background change
This effect can be easily done through the CSS transition property for example buttons, menus, etc.
295
0
Connecting fonts in CSS
If you do not delve into the details, you can quickly connect the font like this ...
113
0
Aligning a block to the center of its parent
Examples of how to position an element in the center of its parent using absolute, flexbox and grid layout.
96
0
Collection of CSS gradients
A selection of 23 backgrounds with linear and radial gradients.
217
0
Non-standard CSS gradient
A selection of unusual CSS3 gradients showing all the power of linear-gradient.
78
0