+ 4
Code problem
How can I get the red stripe to come to the inside edge of the black box but not stick out at all https://code.sololearn.com/W9DCQH0Af9Mf/?ref=app
4 Respuestas
+ 5
thanks 👍🏻
+ 3
Thats not exactly what I wanted. I wanted it to look like a ribbon going around the box. So the stripe would need to have diagonal ends.
+ 3
i put one inside the other and set the overflow of the outer to hidden.Hope this helps.
https://code.sololearn.com/W8zlmwJww5Cr/?ref=app
0
You could mess around with a gradient until you get the look but it might not be exactly what you want
https://www.w3schools.com/css/css3_gradients.asp