We have a brand new look! Take a tour with us and explore the latest updates on Adobe Support Community.
I have designed a websie in xd and now i want to convert my complete design to HTML or i want CSS how can i get this?
[Moved from the non-technical Lounge Forum to the specific Program forum... Mod]
[Here is the list of all Adobe forums... https://forums.adobe.com/welcome]
Hi Raul. Xd itself doesn't have an export to html/css feature. It is a prototyping tool, and not a website builder like Webflow for example. There are plugins that are able to generate a website from your design, but I wouldn't expect the code to be very efficient, and there are a lot of conditions.
I guess you could compare it to what Photoshop was used for back in the day. The end result is somewhat static, but has interactability. You can click on buttons, have hover effects, dropdown menus, animations and so on. Xd has a much more optimized workflow and prototyping abilities, which PS doesn't have at all. It also makes it easier for devs to get the css code for each element, get variables and download the assets from the prototype.
The usual workflow for UX/UI design is to design the low and/or high fidelity pages in Xd, so you can test your ideas and make quick changes. When you are happy with how everything looks and connects, you go ahead and make the actual website from scratch with html/css/js, using the variables and values from Xd. This is how you will get the best result. Everything else is sub-optimal. You may save some time, but you sacrifice code clarity and efficiency.
There is nothing to be gained from rebuilding your dynamic WordPress site with static HTML pages. You would lose all site functionality and backend CMS.
To change your WP site's appearance, get a new WP Theme. Or develop a custom Theme of your own. Consult WordPress documentation for more details.
Alternatively, use a WP plugin like Elementor.
You would want something that converts the html and css but not with position absolute because that is almost impossible to work with when doing the responsiveness of the website.
You can try Desech Studio to import your adobexd file and this will generate an html structure with css grids for positioning. Know that, you still have to do some adjustments like margins and sizes after the import.