+ 2
What is the syntax in Javascript to control the size of an image in HTML or css?
thanks to the person who answers
5 Answers
+ 4
https://code.sololearn.com/WvrA6sURF00W/?ref=app
Well I'm not really sure which one
+ 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
+ 3
background-image or imageElement?
0
imageElement
- 1
background-size