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
Here I am stretching them over the parent with an absolute with a width greater than the parent.
Then you play with the width of the parent.
.parent {
position: reletive;
width: 50%; /*ваша по макету*/
padding-bottome: 69%; /*ваша пропорция, по макету*/
overflow: hidden; /* по требованию*/
}
.parent img {
position: absolute;
top: 0;
left: 0;
width: 105%; /*по необходимости увеличить/уменьшить*/
}
MONO to not change
C++/Qt language if you need
Python/Qt speed, for everything else
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question