p

px2rem

JetBrains

1f0fe86f-08e3-4d96-b95d-654b19ec1bf1 · v—

this is a tool of converting px to rem/vw/vh in a css/less file by a few settings. there are three ways to convert: short-cut key, code intention, code completion. you can find the settings related to these converting ways in settings page with the path 'File - Settings - Px to Rem' 1. short-cut key select a converting type from three options of rem, vw, vh in setting page and give a necessary value set below the ra

Code Tools
Open in store ↗ id: 11187
Downloads
51K
50 510
Rating
4.1 ★
13 ratings
Category
JetBrains Marketplace
Collected
2026-11-04
weekly snapshot

Rating distribution

4.1 ★ 13 ratings
5★ 76.9%
2★ 7.7%
1★ 15.4%

Reviews 8

★★★★★ Leth 2024-11-09

This one is straight up essential. Everyone should use it. Begone the days of typing "x is what percent of y" into google or a converter. I'm also noticing reviews of a few people who didn't set it up properly, the author wrote it very confusingly but in your IDE settings (Ctrl+Alt+S) there's a new tab - Px to rem, there you can pick which one you need converted and the actual values that the...

★★★★★ Anurag Kanwar 2023-03-12

for people who have problem, please check there is an additional setting for px to rem on which we can set root font size

★★★★★ Arkady 2021-07-08

Simple to use. Thank you

★★★★★ Tam 2020-06-15

Does what it says on the tin!

★★★★★ goksel eryigit 2019-05-22

Thanks Yuxuan! This is what I needed

★★★★★ yuan xiaolin 2018-12-10

很好,刚好可以满足需要,点赞

★★★★★ Adam Gąsowski 2022-10-14

The plug-in performs a unit conversion, but with a mistake, in the SCSS file. I don't know if it's because it only supports CSS and LESS or it just doesn't work well. 22px to 0.22rem.

★★★★★ Anzo Impact 2022-11-10

16 px is converted to 0.16rem , this isnt working

Similar in “Code Tools”