Figma and translating designs

Hey quick question, I've just recently started learning Figma coming from a fullstack background. Do you use auto-layout in Figma primarily so it matches up with how you would create it in CSS? or is it all absolute positioning just to get it how you want it to look? Also, should I care about pixel perfect matching between Figma and CSS? with auto-layout it seems like a lot of nesting inside frames because it doesn't have all the alignment options that you can do in CSS
1 Reply
Maynards
Maynards6mo ago
I'm still on my Figma journey, but I use auto layout a lot and always get it to be pixel perfect. I then use that as a guide for translating to HTML/CSS. I don't strive for a 1:1 mapping/relationship between Figma layout nesting and the final HTML/CSS. I tend to only use absolute positioning for putting frames behind other ones (E.g. backgrounds).