Kevin Powell walks through recreating a tucked-corner photo effect in CSS, using pseudo-elements for shadows, clip-path for the shape, and a fake border and shadow on the image. It is aimed at developers who already know CSS basics.
What you’ll learn
✓Build a tucked-corner photo frame using CSS pseudo-elements
✓Shape an image with clip-path to hide its corners