Answer the question
In order to leave comments, you need to log in
How to layout PX in PX?
For example,
I took a button from .psd. Here is how I used the method of selecting distances to indent "padding"
Here are all the styles of the button:
font-size: 25px;
font-family: OpenSans-Light;
border-radius: 5px;
background: #ffcb08;
border: 0;
border-bottom: 3px solid #c79a06;
margin-bottom: 23px;
padding-top: 15px;
padding-bottom: 10px;
padding-left: 25px;
padding-right: 19px;
Answer the question
In order to leave comments, you need to log in
we take the PerfectPixel chrome extension, overlay the image on top of the site, correct it through devtools, when everything has become normal, copy the styles from devtools to our project (unless, of course, there are preprocessors there)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question