css rainbow built using gradient colors
问题 I have the following problem: Write a web page which has on top of it a rainbow built using gradient colors. The rainbow should be tilted with an angle (it should not be perfectly horizontal) and the width of the rainbow on the left side should be smaller than the width of the rainbow on the right side. I don't know how to do the part with the width. Can anyone help me? #grad1 { height: 200px; background: linear-gradient(45deg, red, orange, yellow, green, blue, indigo, violet); } <div id=