@GerbenDol
Posted
For the blue backgrounds on the image try using a ::before
on the image. Make it absolute, give it the background and proper border radius and give it a width to make it go off-screen.
To make sure you don't get horizontal scrolling use overflow-x: hidden;
on your body.
Hope this helps you in the right direction!
@SahasSaurav
Posted
@GerbenDol sorry but img can't have before and after pseudo event because it is empty tag and it does not have any content
@GerbenDol
Posted
@SahasSaurav Don't let that hold you back! You could easily wrap your image in a <div> for this purpose. 😁