Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Generally looking in what the task consists. If you do it in a good way, it’s better not to put large photos on avatars, but to crop them first. But if the task is just layout, then I would do this:
1) Wrap these images in div blocks, which I would set the desired size (in pixels or percentages, it doesn’t matter), for example
div{
width: 100px
height: 170px
}
img{
width:100%;
}
img{
width: Npx;
height:auto;
}
Ну или наоборот
img{
width: auto;
height: Npx;
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question