coming again, about Converts
evanyangg opened this issue · 3 comments
evanyangg commented
now, in my code like this:
rem(75)
.banner {
height: 75px;
.image {
width: 1rem;
}
}
My code may have some weird, I selected all to convert to rem.
the "height" to 1rem and the "width" to 75px;
I have to converts one by one,
I think it might be more convenient if there are two hotkeys,
one converted to rem and one converted to px.
If you convert to rem, you may need to filter out px
I don't know if my thoughts are unreasonable.
evanyangg commented
Maybe px needs to be converted to rem is a decimal, rem is converted to the integer required by px
sainoba commented
You can actually add the keyboard shortcuts yourself
- Go to File > Preferences > Keyboard Shortcuts
- Type px in the searchbox
- Assign a keyboard shortcut to the operation you want to perform px>rem or rem>px
evanyangg commented
My fault. thanks a lot!