+ 2

What is the syntax in Javascript to control the size of an image in HTML or css?

thanks to the person who answers

13th Oct 2017, 1:57 AM
Brayan Morales
Brayan Morales - avatar
5 ответов
+ 4
https://code.sololearn.com/WvrA6sURF00W/?ref=app Well I'm not really sure which one
13th Oct 2017, 2:58 AM
Yanothai Chaitawat
Yanothai Chaitawat - avatar
+ 4
OMG That's like 3 hours ------ Then as you can saw in there I use imgEle.width=200; imgEle.height=200; Which mean that set your image element's width and height to 200 pixel
13th Oct 2017, 6:38 AM
Yanothai Chaitawat
Yanothai Chaitawat - avatar
+ 3
background-image or imageElement?
13th Oct 2017, 2:43 AM
Yanothai Chaitawat
Yanothai Chaitawat - avatar
0
imageElement
13th Oct 2017, 3:21 AM
Brayan Morales
Brayan Morales - avatar
- 1
background-size
13th Oct 2017, 3:09 AM
林偉雄
林偉雄 - avatar