html - CSS: How to flip this linear-gradient? -
I have this code which creates a line of triangle, it's quite good, but I want it to be inverse. Instead, the edges should be up, down, I tried it 30 minutes to work ... I could not find a linear gradient. Here's the current output
And I think it should be like this: < / P>
Here is the code: Linear- The gradient (45 degrees, # E4E1D6 25%, transparent 25%, transparent), linear shield (-45 degree, # E4E 1D6 25%, transparent 25%, transparent):
< Code> background-image: linear-gradient (45 degrees, transparent 75%, # E4E 1D6 75%), linear shield (-45 degree, transparent 75%, # E4E1D6 75% ); Width: 100%; Background-position: 0x7px; Status: Relative; Top: -47px; Height: 7px; Background size: 10px 12px;
Thanks for the help.
just replace background -position: 0px 7px to Background-position: 0
div {background: linear-gradient (45deg, # E4E1D6 25%, transparent 25 linear-shields (45 degrees, transparent 75%);
& lt; Div & gt; & Lt; / Div & gt;
Comments
Post a Comment