HTML object doesnt show fully on mobile | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

HTML object doesnt show fully on mobile

So I had a spinner wheee made but now I realize that it wont fit fully while on mobile phone. Is there a code or plug in I can add to my website to make it look properly? Thanks a lot

25th May 2020, 3:13 AM
Mini Bilinguals
Mini Bilinguals - avatar
3 Answers
+ 4
you need to make the user able to view the content of your website from any available screen size, that's called responsiveness. in order to make your html elements responsive you may need to use 'CSS media query' https://www.w3schools.com/css/css_rwd_mediaqueries.asp or just use the percentage values when specifying the width and height of the element.
25th May 2020, 3:27 AM
Ahlin Chan
Ahlin Chan - avatar
+ 4
please use the search bar before asking, this question is duplicate of https://www.sololearn.com/Discuss/2299622/?ref=app
25th May 2020, 3:30 AM
Ahlin Chan
Ahlin Chan - avatar
+ 3
You may want to use relative instead of absolute values in your CSS. For example: You could set the width to 80% instead of 80 pixels to make it fit on any device.
25th May 2020, 3:18 AM
Jayden LeCorps
Jayden LeCorps - avatar