V
V
Vladimir Ionenko2016-10-25 15:49:05
css
Vladimir Ionenko, 2016-10-25 15:49:05

How to implement a shadow, or rather, how to correctly specify the shadow parameters based on the layout in Photoshop?

I have a site layout that has elements with a shadow. How to see the shadow parameters in Photoshop, I know how to make a shadow in css, I also know how to correctly transfer the shadow parameters from Photoshop to css.
For example, there is such a shadow
e54939263e7c4e769c249fefe89aa1f5.JPG
How to write it in box-shadow: ? ? ?pxrgba(?);

Answer the question

In order to leave comments, you need to log in

2 answer(s)
T
timfcsm, 2016-10-25
@ionenkovladimir

box-shadow: 1px 1px 5px 0px rgba(0, 0, 0, .75);

D
Dmitry Shvedov, 2016-10-26
@DimaShved

Apparently, your PS is not an old version, and therefore select the layer to which the style is applied, right-click, then copy the CSS and paste it where it is more convenient for you.
Eventually

box-shadow: 0.5px 0.866px 5px 0px rgba(0, 0, 0, 0.75);

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question