Y
Y
Yaroslav2017-01-04 15:25:04
css
Yaroslav, 2017-01-04 15:25:04

Why doesn't transition work for span of main items?

The people why moveFromLeft does not work on the span of the main points, here:
codepen.io/anon/pen/wgvOXQ
The original is taken, here:
codepen.io/rizky_k_r/full/sqcAn

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Y
Yaroslav Ivanov, 2017-01-04
@YarkoDzech

Give them display: block

R
Roman Romanov, 2017-01-04
@RomanWP

set span to inline-block span is an inline element by default.

.m__menu li a span {
  display:inline-block;
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question