Title: CSS minification breaks calc()
Last modified: November 29, 2021

---

# CSS minification breaks calc()

 *  Resolved [Daniel](https://wordpress.org/support/users/saddeveloper/)
 * (@saddeveloper)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/css-minification-breaks-calc/)
 * Hello Raul!
    Thank you for the great plugin!
 * It seems that minification library in FVM converts `--css-var: 0px;` in to `--
   css-var: 0;`, which cause problems with the `calc(var(--css-var) + 10px)` expression.
 * See `fast-velocity-minify/libs/matthiasmullie/minify/src/CSS.php:564`.
 * Can we do something about it?

Viewing 1 replies (of 1 total)

 *  Plugin Author [Raul P.](https://wordpress.org/support/users/alignak/)
 * (@alignak)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/css-minification-breaks-calc/#post-15310098)
 * Thanks, this will be fixed on the next update.

Viewing 1 replies (of 1 total)

The topic ‘CSS minification breaks calc()’ is closed to new replies.

 * ![](https://ps.w.org/fast-velocity-minify/assets/icon-128x128.jpg?rev=1440946)
 * [Fast Velocity Minify](https://wordpress.org/plugins/fast-velocity-minify/)
 * [Support Threads](https://wordpress.org/support/plugin/fast-velocity-minify/)
 * [Active Topics](https://wordpress.org/support/plugin/fast-velocity-minify/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/fast-velocity-minify/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/fast-velocity-minify/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Raul P.](https://wordpress.org/support/users/alignak/)
 * Last activity: [4 years, 3 months ago](https://wordpress.org/support/topic/css-minification-breaks-calc/#post-15310098)
 * Status: resolved