Looking to create a div with a gray border that is 20px thick all around. I also want a cut out in the top right corner of the div, with the rest of the borders matching the thickness. The cut out should be transparent.
Here is my attempt:
http://jsfiddle.net/tybourque/2bZAW/5959/
.card-cutout:before {
content: '';
position: absolute;
top: -20px;
right: -80px;
border-top: 80px solid transparent;
border-left: 80px solid #828282;
width: 0;
z-index: 10;
}
.card-cutout:after {
content: '';
position: absolute;
top: 0px;
right: -62px;
border-top: 65px solid transparent;
border-left: 62px solid white;
width: 0;
z-index: 11;
}
Any suggestions on an easier way to achieve this look? https://i.sstatic.net/doz1u.png