3 ms·
I hate when figma just always gives me CSS for absolute positioning. Is there any way around that?
by yewenjie 3y ago
I hate when figma just always gives me CSS for absolute positioning. Is there any way around that?
- replygirl 3y agoSupposedly the codegen is more useful now, erring on the side of using flex
- emilsjolander 3y agoEmil from Figma here! We have made a ton of improvements to the generated CSS code, and while we still sometimes provide absolute positioning we now separate it from the styling & flexbox code that you might actually want to pull into your codebase. We've also introduced an API extension point so third parties can now provide their own implementation of code snippers (code generation) in Figma's Dev Mode which Anima and a few other partners have already released plugins for :)
- jt_b 3y agoAn option for TailwindCSS classes would be really clean too.
- luyuanxin1995 3y agoHello, We developed an open source plugin that let you go from Figma to tailwindcss + react. Feel free to check it out https://www.figma.com/community/plugin/1178847414663679049/Bricks---AI-Powered-Design-to-TailwindCSS-Code https://www.figma.com/community/plugin/1178847414663679049/B...
- andruby 3y agoYes! Absolutely. I've been looking for best practices around Figma + Tailwind.