A
A
Alexander-K2015-04-15 10:02:31
css
Alexander-K, 2015-04-15 10:02:31

How to make website screens scale to fit the browser window?

How to make landing screens scale to fit the browser window?
Example: kit.yandex.ru/tablet/#about
Does such a jQuery plugin exist?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
T
The Dragger, 2015-04-15
@Alexander-K

if you want to make a site similar to links, then there is a One Page Scroll plugin
https://github.com/peachananr/onepage-scroll
Or some kind of picture to scale to fit the browser window
$('img').css(' height', screen.height);
$('img').css('width', screen.width);

T
teotlu, 2015-04-15
@teotlu

You can specify sizes in vw and vh .
The article contains outdated information about support, here is the current one .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question