Use the following css:
div { background: linear-gradient(45deg, lightgreen 50%, blue 50%), linear-gradient(-45deg, green 50%, darkgreen 50%), linear-gradient(-45deg, #e5e500 50%, yellow 50%), linear-gradient(45deg, tomato 50%, red 50%); background-position: 0% 0%, 100% 0%, 0 100%, 100% 100%; }
div { width: 200px; height: 200px; border-radius:100%; background: linear-gradient(45deg, lightgreen 50%, blue 50%), linear-gradient(-45deg, green 50%, darkgreen 50%), linear-gradient(-45deg, #e5e500 50%, yellow 50%), linear-gradient(45deg, tomato 50%, red 50%); background-size: 50% 50%; background-position: 0% 0%, 100% 0%, 0 100%, 100% 100%; background-repeat: no-repeat; }
<div></div>
source share