Y
Y
Yevhenii K2018-02-23 18:31:40
css
Yevhenii K, 2018-02-23 18:31:40

Why doesn't float work?

Why does b-navbar__search (Red block with text "Icon") not float in this example?
Example

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Spirin, 2018-02-23
@AFI19

If you want text to wrap around it, then swap the b-navbar__nav-cell and b-navbar__search elements . Because floating elements wrap around elements below them.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question