Skip to content
This repository was archived by the owner on Dec 2, 2020. It is now read-only.

rhyst/vscode-cssToJS

Repository files navigation

cssToJS README

Features

Converts a selected block of css to js format. Good, for example, for copying styling from Chrome dev tools to a React CSS object.

cssToJS preview

How to use

Highlight a some css like

text-align: center;
display: inline-flex;

Open your command pallete (cmd + shift + p on mac) and run the Convert CSS command. Hopefully you'll get some js formatted css:

textAlign: 'center',
display: 'inline-flex',

Github
VSCode Marketplace

About

VSCode extension to convert CSS to JS-style CSS for use in react

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published