Last active
January 3, 2018 13:22
-
-
Save authenticsebastian/f2fd4ca6f47fbc1a3348967b0f261aa1 to your computer and use it in GitHub Desktop.
Recalculating `px` value to `vw` value for 1920px
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const px2vw = (value) => (100 * value) / 1920; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment