D
D
doctorcat2016-04-12 18:20:50
css
doctorcat, 2016-04-12 18:20:50

How to set multiple gradient in sass?

One of the buttons in the code is styled like this

background-color: #000;
  background-image: linear-gradient(45deg, rgba(255,255,255,.0) 30%, rgba(255,255,255,.8), rgba(255,255,255,.0) 70%), radial-gradient(190% 100% at 50% 0%, rgba(255,255,255,.7) 0%, rgba(255,255,255,.5) 50%, rgba(0,0,0,0) 50%);
  background-repeat: no-repeat;

How can this construction, namely the task of a multiple gradient, be transferred to sass? i tried with mixins but they only support 1 gradient. And here so that the list to set - does not work. Maybe someone came across. Thanks in advance

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis Ineshin, 2016-04-12
@doctorcat

For example

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question