T
T
timtimIT2015-11-11 21:51:39
css
timtimIT, 2015-11-11 21:51:39

Why is the orange square not vertically centered?

Hello.
Here is the code .
Why is the orange square not vertically centered?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
A
Andrey Fedorov, 2015-11-11
@timtimIT

codepen.io/aliencash/pen/BoGMrJ

N
Nikolai Shabalin, 2015-11-11
@nikolayshabalin

codepen.io/aurfon/pen/bVQzmK
Required reading -> css-live.ru/articles/obzor-inlajnovyj-kontekst-for...

D
Denis, 2015-11-11
@SvDenys

The easiest way to vertically align with flexboxes: codepen.io/SvDen/pen/OyadQO
If you add an external div, then you can get rid of the float altogether.

M
Mikhail Makarov, 2015-11-11
@NightmareZ

codepen.io/anon/pen/EVOMJv

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question