I try to set also opacity for my color. How to manage also this option as it is without opacity.
background: linear-gradient(to bottom,transparent 80%,#FFC85B 0) center center/0 20% no-repeat;
Need help.
I try to set also opacity for my color. How to manage also this option as it is without opacity.
background: linear-gradient(to bottom,transparent 80%,#FFC85B 0) center center/0 20% no-repeat;
Need help.
Convert the hex number into rgba values where the last value is the opacity level.
background: linear-gradient(to bottom,transparent 80%,rgba(255, 200, 91, .5) 0);
#FFC85B in rgba = rgba(255, 200, 91, 1).
The 1 at the end means fully opaque and zero would be fully transparent.
Ok, it works.
This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.