Dynamic media query

In WordPress how can I modify the media query screen size? Say if I have a customizer option for mobile size : 600px and the in CSS this value should change.

For javascript, there is wp_localize and similar functionality for CSS?

Please help