I am currently facing an issue with my webpage and would greatly appreciate some help from the community.
My goal is to create a skewed border inside a div, similar to the example on this JSFiddle link: https://jsfiddle.net/kx6f9rsd/
.container {
background-color:purple;
height:100px;
width:100vw;
}
.container:before {
content: '';
position: absolute;
top: 0;
right: 0;
border-bottom: 70px solid transparent;
border-left: 100vw solid yellow;
width: 0;
}
Although the skewed border appears correctly on all browsers, it seems to have an issue on Firefox for MacOS, displaying differently like this:
Is there a specific webkit/prefix that should be used when working with the MacOS version of Firefox?
Thank you in advance!