M
M
Mark2017-04-05 05:53:15
HTML
Mark, 2017-04-05 05:53:15

How to make a horizontal menu with a logo in the middle?

Hello everyone, please help me to make a horizontal menu with a logo in the middle.
I did, but when you reduce the screen, then the left and right sides run into each other.
Correctly displayed only on large screens.
and on the left and right, the background is padded with a gradient from the edge to white and transitions to transparency in the middle.
https://jsfiddle.net/xzpnzb3j/5/

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Mary Solar, 2017-04-05
@Mark54

Your markup is so funny. Most likely, everything was there for your tasks, but you can simplify it a bit:
1) parent block > container block for flex> child blocks that you will flex
Child blocks are links. Add your logo as a menu link
Like this:
Tyts

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question