Skip to main content

Command Palette

Search for a command to run...

Chrome copy all CSS for an element

Published
1 min read
Chrome copy all CSS for an element
C

I'm a full-stack developer from South Africa 🇿🇦. I love writing about JavaScript, HTML and CSS.

In modern-day CSS the styles are divided between many selectors, even tools like Tailwind make this happen.

But what if we want to get all CSS styles for one element?

Chrome dev tools, has a fantastic feature build in.

This is how it works:

chrome-copy-styles-min.gif

Chrome Dev tools Copy CSS Styles

To use it:

  • Open dev tools
  • Right-click an element in the Elements panel
  • Copy > Copy styles
  • Paste them where needed

Amazing and easy right, you won't know the number of times this can be useful!

Thank you for reading, and let's connect!

Thank you for reading my blog. Feel free to subscribe to my email newsletter and connect on Facebook or Twitter

More from this blog

D

Daily Dev Tips

887 posts

Looking to get into development? As a full-stack developer I guide you on this journey and give you bite sized tips every single day 👊

Chrome copy all CSS for an element