F
F
fleshik2020-10-07 17:22:51
css
fleshik, 2020-10-07 17:22:51

Why Photoshop gradient and CSS don't match?

why if you copy the gradient from the layout in Photoshop by clicking on Copy CSS and then paste the code into css, it turns out that the gradient goes from top to bottom on the layout, and after copying and pasting the code in css, the gradient goes from left to right (code copied from the layout https:/ /jsfiddle.net/atLn5zy1/ on the layout the gradient goes from top to bottom)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Argentinium, 2020-10-07
@Argentinium

This article just sorted out why the gradient in css is not the same as in the graphics editor.
https://9elements.com/blog/gradient-angles-in-css/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question