V
V
Vasily Petrov2017-05-01 12:06:42
css
Vasily Petrov, 2017-05-01 12:06:42

Width: calc(% - px), and the output value is in%, why?

calc(100% - 57px) - the browser shows it as calc(43%)
And if you enter it manually in the browser, then everything is fine.
What is the problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Luzanov, 2017-05-01
@mbpig

~"calc(100% - 12px)"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question