• Resolved Webprom Design

    (@webprom)


    Hi!

    I’ve noticed that such rules in CSS:
    padding: calc(4.88vw + 82px) 1em calc(4.88vw + 82px) 0;

    are minified incorrectly to:
    padding: calc(4.88vw + 82px) 1em 0;

    This is still works:

    padding-top: calc(4.88vw + 82px);
    padding-bottom: calc(4.88vw + 82px);
    padding-left: 0;
    padding-right: 1rem;

    Please check.

Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Minification problem with calc CSS’ is closed to new replies.