M
M
Mariana Marianova2017-08-18 09:56:12
Fonts
Mariana Marianova, 2017-08-18 09:56:12

Two column website with flex-box?

It so happened that I had to type in flex,
There is a container whose width is 1297 pixels
. It has two columns - a side bar (260 pixels) and the main container, I need the sidebar not to shrink when the screen narrows, but only the right column (the blocks in it are rearranged), I gave the sidebar flex-basis: 260px, flex-shrink: 0; and the right column in the layout takes 1008px, I prescribe it flex-basis: 1008px, when the screen narrows at a resolution of 1350px, the right column flies to a new line, Please tell me how to deal with styles
Answer: you need to prescribe the right block flex: 1 0; then it will take up all the remaining space and shrink
Source: https://ru.stackoverflow.com/questions/473493/%D0%...

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Moskus, 2019-04-15
@h0w4rd

https://en.m.wikipedia.org/wiki/OCR-A

A
Alexander Wolf, 2017-08-18
@idmarishik

en.lmgtfy.com/?q=%D1%84%D0%B8%D0%BA%D1%81%D0%B8%D1... - the first link.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question