Tell us what’s happening:
In the below image you can see a white border which goes transparent to bottom-right,
I am trying to achieve the same functionality but i cannot do it.
I have used border-image property but it didn’t give me desired result. I also tried to find it on internet i was unable to find.
Can any one help me here. Please https://codepen.io/DVGY/full/VwYGbaR
Look for main-content class and cointainer class in css.
It should still be responsive. I would put your Red div inside of the Green div, and give it negative location for the border thickness. and the height/width would be a percentage of the Green container.
… and since you have a solid background it should be quick… But see if you can get it with an image or ‘shadowed’ background