Toggle project menu
Feeling lost? Feel free to get in touch!
Image clipped using a SVG element.
Compatible CSS frameworks:
This component is used to create clipped images using the SVG clip-path element.
For the clipping to work properly, make sure the image ratio is the same as the SVG viewBox. In all the demos, the image ratio is 16:9.
The clipping effect is created using the SVG clipPath element. Its id is set equal to the clip-path url of the image to clip.
If you have multiple clipped images components on the same page, make sure to use different ID values for each one of them.
Component Github page ↗
Each month we email a 1-minute CSS tutorial to 20K developers
Awesome! We just sent you a confirmation link by email
Error - please try again or contact us
Your email address is already subscribed
Create a CodyHouse account to unlock members-only features and join our community of web designers!
Error: email or password not valid. Need help? Contact us.
or create an account
There was an error while trying to export your project. Please try again or contact us.