CSS Pro
  • Initial page
  • Quick Start
    • Installing it
      • On Google Chrome
      • On Firefox
      • On Safari
  • Inspecting
    • Choosing what happens when you click on an element
    • Inspecting invisible, overlapping, and parent elements
    • Comparing multiple elements at the same time (Pinning)
    • Measuring distances and checking alignments
    • Inspecting animations
    • Identifying fonts
  • Editing
    • Code Editor (Code tab)
      • Forcing a state or pseudo
    • Visual Editor (Design tab)
      • Editing media queries and pseudo states
      • Editing backgrounds
      • Auto unit conversion
    • HTML Editor (HTML tab)
    • Handling CSS changes
    • Editing texts
    • Removing elements
  • Copying
    • Copying CSS and HTML
    • Exporting elements
    • Downloading page assets (images)
    • Copying colors
  • License
    • Managing your license activations
    • Retrieving your license key (forgot)
  • Subscription
    • Switching from the monthly to the annual plan
    • Canceling your subscription
Powered by GitBook
On this page

Was this helpful?

  1. Copying

Exporting elements

PreviousCopying CSS and HTMLNextDownloading page assets (images)

Last updated 5 months ago

Was this helpful?

With CSS Pro, you can copy/export the HTML and CSS of not only the element you select but also of ALL its children. That means you can export hundreds or even thousands of elements in a single time.

You can share these web elements (as files or Codepen snippets) with your team or keep them on your desktop and start your folder of beautiful elements that you can use on your projects from today on.

There are 2 ways to export elements:

  • On a , click on "Export element"

  • On , click on "Export Element"

When you export elements, no matter what settings you're using, it will export:

  • the outer HTML of the element

  • the CSS of the element

    • with pseudo-codes and pseudo-elements

  • the CSS of all its children

    • with pseudo-codes and pseudo-elements

  • all CSS variables

It does listen to your settings about one thing: if you want pseudo-classes and pseudo-elements to be copied as nested (for SASS/LESS), so if you export it to Codepen, it will already choose SCSS as the preprocessor.

If you use Elementor, for example, you can also add these exported elements as an "HTML widget".

pinned CSS window
Select mode