Proportional resizing with css variables

Ahmad Shadeed / filed under HTML & CSS

For this snippet, I want to share with you something I do while resizing elements in the browser DevTools.

Subscribe to newsletter

Design and frontend links delivered to your inbox every day and week. No spam, unsubscribe at anytime.

Choose frequency