22 Answers
New Answer22 Answers
New AnswerFullscreen? Use this in css: img { height:100vh; width:100vw; } Using css units like vh and vw will adjust the Image According to screen. Hope my answer is helpful! -Krishna Therokar
Sazid Ahmed if you are talking about background then write CSS body { ••• background-image : url(image.jpg); }
You put your link as a tag. We can not access the link that way. Please resubmit your question.
Var a =Document.getElementById("example"); a.width =innerWidth; a.height = innerHeight; // With JavaScript // With Css Body, html {padding:0; Margin:0;} img{ height : 100%; width: 100%;}
Med Amine Fh i already completed short html & Css course. But i practise this coding of mobile. So some problem face to me
You could learn from this. https://www.w3schools.com/howto/tryit.asp?filename=tryhow_css_full_page
Firstly remove margin and padding, by default there are margin and padding are given. Then use box-sizing with value border-box, lastly make img width 100%, 100vh etc...
Learn Playing. Play Learning
SoloLearn Inc.
4 Embarcadero Center, Suite 1455Send us a message