D
D
DiziBreath2022-03-15 21:06:02
Layout
DiziBreath, 2022-03-15 21:06:02

Why is layout different from figma?

Hello, I worked in figma, I made a layout, I'm trying to transfer it to the layout, I take out css through inspect, I transfer it to the code, but the object looks larger and the indent is further than on the layout, if you know what the problem could be, please tell me6230d5c22756b203128034.jpeg6230d5c89858f569637680.jpeg

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sasha, 2022-03-15
@DiziBreath

You should not copy all the styles from Figma, pay attention only to the actual css.

D
DiziBreath, 2022-03-17
@DiziBreath

In general, I found the answer to the question!
My problem was that the site scaled 125%, as did the entire interface in windows. If you have the same problem and you only need to zoom out for this site, then use the zoom attribute in the css.

body {
    zoom: 80%;
}

If it didn’t help, here’s an article there, a link there, there are more solutions: https://ru.stackoverflow.com/questions/429448/%D0%... .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question