[Solved] Background Image Border Styling through CSS
[ad_1] There are 3 ways of doing this in my knowledge: Old way – using order in :after and :before .bg-box { position: relative; background: url(https://static.pexels.com/photos/20974/pexels-photo.jpg) no-repeat 100%; width: 500px; height: 400px; ; display: inline-block; } .bg-box:after, .bg-box:before { content: ”; position: absolute; } .bg-box:before { top: 0px; left: 0px; border-right: 500px solid rgba(221, 221, … Read more