I
I
Ivan Ivanovich2019-03-10 12:22:52
css
Ivan Ivanovich, 2019-03-10 12:22:52

Does the display:flex element interfere with mobile adaptation?

Hello. In the header of the site, I applied such a property as display: flex to the li elements. There are 3 of them in total. The fact is that when optimizing a site for mobile, they not only do not follow each other, but also overlap each other. Here is the project - https://clck.ru/FKxL7 . I can't figure out how to fix this.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dymok, 2019-03-10
@UnluckySerivelha

Show the code on codepen, no one will download the archive.
Offhand - in the media query for mobile, specify , or simplyflex-direction: column;flex-wrap: wrap;

D
Denys_24, 2019-03-10
@Denys_24

Hello. So where is the adaptation for the elements?
And yet, it is desirable to insert li into ul.
A piece of your code on CodePen
https://codepen.io/denys-buhlak/pen/drREbX

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question