S
S
spacekk2018-05-16 08:03:27
css
spacekk, 2018-05-16 08:03:27

How to make a horizontal stripe between two blocks?

Hello! Tell me how to add a horizontal strip with small indents between the logo and the nav menu in the header of the site, which would occupy all the free space between the blocks and decrease when the screen narrows without overlapping the navigation bar.
5afbba9867fb3262554845.png

Answer the question

In order to leave comments, you need to log in

3 answer(s)
C
Camaro67, 2018-05-16
@spacekk

For example, like this https://jsfiddle.net/bv6ge7cm/

T
Timur Khudiyev, 2018-05-16
@t_khudiyev

Take this place with block div.A in it already make a line. Since it is a divblock element, it will shrink. It's hard to advise without knowing how you implemented this part.

A
A person from Kazakhstan, 2018-05-16
@LenovoId

https://codepen.io/topicstarter/pen/OZodQZ

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question