I am trying to build a DIV with cut corners, like so:
I only managed to do the top right corner using a tutorial and here is the code:
.lifeatblock {
background-color: #435973 !important;
position:relative;
}
.lifeatblock:after {
content: '';
border-style: solid;
border-width: 0 50px 50px 0;
border-color: transparent #fff transparent transparent;
width: 0;
height: 0;
right: 0;
top: 0;
position: absolute;
}
I've tried building the bottom left corner using :before and I've failed. Does anyone know how I can do this? Thanks.