Z
Z
ZackYTPlay2020-05-09 18:26:01
css
ZackYTPlay, 2020-05-09 18:26:01

How to take a photo in full screen?

How to make this site on bootstrap 4?

folkbeat.ru

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
sldo_ru, 2020-05-11
@ZackYTPlay

To make an image full screen, just apply width: 100%; height: 100%; This will allow you to use 100% of the parent element, but here it is important that the html, body also have these values. There is also an entry width: 100vw; height: 100vh;
Such a solution would be adaptive:

img {
    width: 100vw;
    height: 100vh;
}

N
ninja op op, 2020-05-09
@kur4chyt

If the question is in the title, then I think:

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question