Skip to content

Instantly share code, notes, and snippets.

@trevorgreenleaf
Last active April 1, 2024 15:42
Show Gist options
  • Star 68 You must be signed in to star a gist
  • Fork 17 You must be signed in to fork a gist
  • Save trevorgreenleaf/0aef4a3c33cdc8011affb170cef4384c to your computer and use it in GitHub Desktop.
Save trevorgreenleaf/0aef4a3c33cdc8011affb170cef4384c to your computer and use it in GitHub Desktop.
PX to REM'S to TAILWIND CSS
PX REM TW
4 0.25 1
8 0.5 2
16 1 4
32 2 8
48 3 12
64 4 16
80 5 20
96 6 24
112 7 28
128 8 32
144 9 36
160 10 40
176 11 44
192 12 48
208 13 52
224 14 56
240 15 60
256 16 64
272 17 68
288 18 72
304 19 76
320 20 80
336 21 84
@b-d-m-p
Copy link

b-d-m-p commented Jul 9, 2020

Thanks!

@ayoa77
Copy link

ayoa77 commented Sep 12, 2020

Beautiful !!! Thanks a lot for this!

@DarthShmev
Copy link

Thanks, this has been helpful!

@tarunama
Copy link

👍

@emicheldev
Copy link

Thanks

@tonkotsuboy
Copy link

💐💐💐💐💐

@tabishiqbal
Copy link

@b-d-m-p
Copy link

b-d-m-p commented Aug 25, 2021

You can use this too: https://tailwindtemplates.io/rem-converter/

Nice, thanks!

@Byenna
Copy link

Byenna commented Nov 2, 2022

Great😃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment