Answer the question
In order to leave comments, you need to log in
As when transferring one block to another line, the remaining stretch to full width?
There are three divs on one line, the third one has a fixed minimum width. If three elements do not fit, the third one wraps to the next line, and the first two are stretched to the full width of the parent block. How to do? My troubles are here: jsfiddle.net/npk5L98m/4
You need to do it only on css.
upd. And without media requests.
Answer the question
In order to leave comments, you need to log in
Using media queries.
@media screen and (max-width: 640px) {
.wrp1{
min-width: 100%;
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question