Web Design » Figma » How Do I Export a CSS Code From Figma?

How Do I Export a CSS Code From Figma?

Last updated on September 29, 2022 @ 12:01 am

Assuming you have already created your design in Figma, go to the top left hand corner and select File, then choose Export from the dropdown menu. You will be given the option to export as a .png, .jpg, .svg, or .pdf. For this tutorial we will be exporting as a .png.

Once you have selected your file type, a pop up window will appear allowing you to choose where you would like to save your file. Once you have found a suitable location, click Export and your file will be saved!

PRO TIP: When exporting CSS code from Figma, be sure to include all relevant code in your export. This includes any media queries, original source files, and any other necessary code. Failure to do so may result in your CSS not working properly.

Now that we have our design saved as a .png, we can open it in our HTML code editor. We will start by adding some basic HTML tags to our code.








Morgan Bash

Morgan Bash

Technology enthusiast and Co-Founder of Women Coders SF.