Viewport

From wikieduonline
Revision as of 05:42, 31 December 2019 by Welcome (talk | contribs)
Jump to navigation Jump to search

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[1]:

$out->addHeadItem('viewport', '<meta name="viewport" content="width=device-width">');

Advertising: