How to layout a responsive design?

0 like 0 dislike
12 views
The question is, the site has a tag
Want that the picture was for example at 100px. But if you set the width of the images 100px, then when you reduce the screen( mostly on smartphones), the picture will be great and will be released from the edge of the screen.

So how to avoid it ? To set the picture 100%, also not an option because I need a fixed size that would fit in a dive..

Here is an example JSFiddle , if you reduce the screen size then the picture will not fit on the screen and at the bottom to receive the horizontal scroll. How to avoid it and make responsive images ?
asked by | 12 views

1 Answer

0 like 0 dislike
Width: 100px
Max-width: 100%
And the edge of the screen nothing happens.
answered by

Related questions

0 like 0 dislike
1 answer
asked Aug 5 by DEATH2298
0 like 0 dislike
1 answer
asked Jul 18 by DEATH2298
0 like 0 dislike
1 answer
asked Jul 8 by DEATH2298
0 like 0 dislike
3 answers
110,581 questions
257,150 answers
0 comments
476 users