I am working on a responsive web application and I need to have two distinct content areas set up in the following manner: https://i.sstatic.net/5Q6L7.jpg
Up to now, I have attempted:
border-right: 30px solid transparent;
border-bottom: 30px solid #4c4c4c;
height: 100%;
width: 100%;
position: fixed;
Unfortunately, I was unable to create a triangle shape.
Is there an alternative method in CSS to create a triangle while still allowing the content to be fully contained within the div, other than using the border property?
Any assistance would be greatly appreciated.