+ 2
How to add an full screen img?
4 Respostas
+ 12
There are many ways... or not really... depending on what your are exactly expected ( and meaning by "full scren" ) ^^
If "full screen" is for "full viewport", we need to know:
- A full screen alone image?
- An overlay full screen one?
- How handle ratio difference between viewport and picture? ( covering with cropping or not, deform/adapt to viewport ratio )
If you want real "full screen", only the user can set viewport at full screen, or you need to handle some third party technology as Flash...
+ 1
you can set it as a background-image with CSS
+ 1
I agree with Meher, best way is with CSS make: background-size: cover;
0
yes we can increase the height width of an image according to the screen