1
Hello, I’m finishing developing an app, I put in it the images with 450px wide, thinking it would work, because currently all devices have at least 480x800 resolution, while compiling I went to test the smartphone with this resolution and the image is great, outside the body.. I don’t know what’s going on, I’m using the code like this:
<div align="center"><img src="imagens/inicio.jpg" class="imagem" /></div><br>
The image class is just to put a shadow.. How do I resize the images according to the device screen?
It gets inside the body yes, what it gets outside is the screen limit. You need to learn about responsive layouts.
– Guilherme Nascimento
possible duplicate of Responsive Design
– Guilherme Nascimento
Yes it is inside the body, but not within the limit that I established for him, the design is responsive, I just faced a small problem with the article’s images.. I used Bootstrap to make them responsive without having to have several images of different sizes.
– Leonardo
Understood leandro, actually to work in the images it is necessary to add the elements
col-*
, but may not work properly, the link in my second comment may be the way.– Guilherme Nascimento
Look at the answer as I did
– Leonardo