I've been trying to make a border around a div that has its own stroke too. Please see attached img. Any ideas on how to make it work?
.site-wrapper {
position: relative;
display: inline-block;
}
#siteWrapper {
border-left: 1.5vw solid #3f9628 !important;
border-bottom: 1.5vw solid #ffac58 !important;
}
#siteWrapper:before {
content: '';
position: absolute;
z-index: 1;
/*top: 0;*/
left: -1.5vw;
border-top: 1.5vw solid white;
border-right: 1.5vw solid #3f9628;
width: 0;
}
#siteWrapper:after {
content: '';
z-index:99;
position: absolute;
bottom: -1.5vw;
right: 0;
border-bottom: 1.5vw solid white;
border-left: 1.5vw solid #ffac58;
width: 0;
}
The wrapper has id's & class: id="siteWrapper" class="clearfix site-wrapper"