Difference between revisions of "Viewport"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
Viewport in [[web browsers]] is the visible portion of the entire page. If the document is larger than the viewport, the user can shift the viewport around by scrolling. | Viewport in [[web browsers]] is the visible portion of the entire page. If the document is larger than the viewport, the user can shift the viewport around by scrolling. | ||
+ | |||
+ | In [[Mediawiki]] software can be solved by adding to [[LocalSettings.php]]: | ||
+ | $out->addHeadItem('viewport', '<meta name="viewport" content="width=device-width">');<ref>https://www.mediawiki.org/wiki/Topic:Rrwecyshgzzcat0l</ref> | ||
[[Category:web]] | [[Category:web]] |
Revision as of 05:42, 31 December 2019
Viewport in web browsers is the visible portion of the entire page. If the document is larger than the viewport, the user can shift the viewport around by scrolling.
In Mediawiki software can be solved by adding to LocalSettings.php:
$out->addHeadItem('viewport', '<meta name="viewport" content="width=device-width">');[1]
Advertising: