Chrome DevTools: Copy CSS styles as JavaScript compatible properties Last updated: 11th November 2021 Introduction You can now copy CSS styles as JavaScript, so the styles in your clipboard are compatible with CSS-in-JavaScript libraries. How to copy CSS as JavaScript To try this out: Inspect an element via DevTools. Right click on the styles within the Styles Pane. Select Copy all declarations as