Copy CSS styles with Tailwind classes
This extension is still in beta. Send any feedback to [email protected]
GD Styles is a free extension that allows the user to get Tailwind class names from the CSS styles of any element while in the DevTools. Restart your browser after installing the extension for it to work. There is a sidebar pane in the DevTools called 'GD Styles', if you right click on an element on the page and click 'Get Styles' the styles will show up in the sidebar pane. From there you can use the 'Copy' button to copy the styles directly to your clipboard.
I'm working on improving the extension and adding more styles. As of now, these CSS attributes are supported:
- Color
- Background color
- Border
- Border radius
- Font size
- Font weight
- Padding