An open API service indexing awesome lists of open source software.

https://github.com/niklaspor/px-rem-converter

A simple VS Code extension for converting pixel values to rem.
https://github.com/niklaspor/px-rem-converter

Last synced: 25 days ago
JSON representation

A simple VS Code extension for converting pixel values to rem.

Awesome Lists containing this project

README

        

# PX REM Converter

This extensions converts `px` values to `rem` values. As simple as it gets.

## Commands

| Command | Description |
| -------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- |
| `Convert: PX to REM` | Converts all pixel values in the selected text to `rem`. If no text is selected the line in which the cursor is placed is taken instead. |

## Settings

| Option | Default | Description |
| ------------------------- | ------- | ---------------------------------------------- |
| `pxRemConverter.pxPerRem` | 16 | The amount of pixels which fit into one `rem`. |