S
S
Senseich2019-06-15 16:40:19
css
Senseich, 2019-06-15 16:40:19

What is better to use when adapting: flex-basis or width?

Hello! I'm trying to type on flex, but I don't quite understand the difference between flex-basis (the main axis is horizontal) and width? I looked at examples, and they do it this way and that + if they write flex-basis, then they also add max-width. So, what should be applied and changed accordingly in media queries when layout on
flex: flex-basis or width ?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Artem Cherniavsky, 2017-07-31
@michael_tsaruk

Take a look here: frontend.aliterax.com/newton/card.html

M
Maxim Timofeev, 2017-07-31
@webinar

Take jquery, write. The clickable search field changes its width, and for social media buttons, just hide();

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question