T
T
TheBenifis2016-04-04 20:53:31
css
TheBenifis, 2016-04-04 20:53:31

How to make a non-scalable image for a website?

Dear web developers
I have a question, I have been in web development for a long time.
Could you tell me how to compose a picture, for example, on such sites
www.glowheadphones.com/#intro (video at the top of the page)
andrewgavrilov.me (video at the top of the page)
So that when the page is scaled, it does not change its size, and when this was exactly 1 screen

Answer the question

In order to leave comments, you need to log in

2 answer(s)
N
Neyury, 2016-04-04
@Neyury

There are vh and vw units that set the size relative to the visible part of the screen (height and width respectively, 100vh is the height of the screen)

N
Nokhchi Borz, 2016-04-04
@CheeBorz

< img src="images/image.jpg" width="300" height="214" border="0">
This is how you can set the image size.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question