I
I
Immix2015-11-02 14:51:47
css
Immix, 2015-11-02 14:51:47

Is it possible to indent like this with line-height?

If the top and bottom are the same indents, then why not? This property was not invented for this, after all ...
9d2d1830936e4a69b32e6c9ce3f33597.PNG
.menu {font: 0.938em/10em}

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alexander Wolf, 2015-11-02
@Immix

What is the question?)

L
L0k1, 2015-11-02
@L0k1

can

D
Denis Bochkov, 2015-11-03
@DENCREAT

but if later the client changes the text in the menu, for example, with a long name, then there will be horror)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question