- 5

How to add in this img with fullscreen?

13th Jan 2021, 4:49 PM
Sazid Ahmed
Sazid Ahmed - avatar
21 Antworten
+ 7
By increasing its height and width .a{ height:550px; width:350px; }
13th Jan 2021, 5:00 PM
Simba
Simba - avatar
+ 3
Sazid Ahmed if you are talking about background then write CSS body { ••• background-image : url(image.jpg); }
13th Jan 2021, 5:01 PM
Krish
Krish - avatar
+ 2
Sazid Ahmed use CSS img { width: 100%; } this might work
13th Jan 2021, 5:09 PM
Krish
Krish - avatar
+ 2
With html <img src="url" heigth="100%" width="100%"/>
13th Jan 2021, 7:42 PM
Emiliano Nahuel Lucero
Emiliano Nahuel Lucero - avatar
+ 1
You put your link as a tag. We can not access the link that way. Please resubmit your question.
13th Jan 2021, 4:53 PM
Chris Coder
Chris Coder - avatar
13th Jan 2021, 5:13 PM
Med Amine Fh
Med Amine Fh - avatar
0
https://code.sololearn.com/W7xDz8qw9tCf/?ref=app
13th Jan 2021, 4:53 PM
Sazid Ahmed
Sazid Ahmed - avatar
0
Thats not the best way to learn. Complete your HTML and CSS course first
13th Jan 2021, 5:00 PM
Med Amine Fh
Med Amine Fh - avatar
0
Krish [less active] url does not working
13th Jan 2021, 5:03 PM
Sazid Ahmed
Sazid Ahmed - avatar
0
Med Amine Fh i already completed short html & Css course. But i practise this coding of mobile. So some problem face to me
13th Jan 2021, 5:05 PM
Sazid Ahmed
Sazid Ahmed - avatar
0
Med Amine Fh i will learn again. do you suggest any platform or YouTube course?
13th Jan 2021, 5:08 PM
Sazid Ahmed
Sazid Ahmed - avatar
0
In your CSS you're missing the ; at the end of the height line
13th Jan 2021, 5:11 PM
Chris Coder
Chris Coder - avatar
0
Sazid Ahmed I will suggest to you Freecodecamp
13th Jan 2021, 5:11 PM
Med Amine Fh
Med Amine Fh - avatar
0
Do you suggest any playlist
13th Jan 2021, 5:14 PM
Sazid Ahmed
Sazid Ahmed - avatar
13th Jan 2021, 5:39 PM
Chris Coder
Chris Coder - avatar
0
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%;}
14th Jan 2021, 6:09 PM
Daniel Kenan Slinda
Daniel Kenan Slinda - avatar
0
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...
15th Jan 2021, 12:51 AM
Go Go Go
Go Go Go - avatar
- 1
img { width : 100%; height : 100%; }
14th Jan 2021, 10:59 AM
Anmol Pal
Anmol Pal - avatar
- 1
try adjusting the img width and height. .img{ width: 100%; height:100%; }
15th Jan 2021, 4:17 AM
Abdimajid Idle
Abdimajid Idle - avatar
- 1
Sazid Ahmed Did any of these suggestions work for you?
15th Jan 2021, 8:48 AM
Chris Coder
Chris Coder - avatar