In a project, they make us use the clip property:
But according to mozilla developper, that feature is deprecated. Should I use this feature in real life project or not? Is this source reliable?
https://developer.mozilla.org/en-US/docs/Web/CSS/clip
Thanks in advance!
Think of the clip
property as an older, less versatile tool for shaping how elements on a webpage appear. It’s being replaced by a newer, much more powerful tool called clip-path
. While clip
could only create simple rectangular cutouts, clip-path
gives you the freedom to define all sorts of shapes – circles, ovals, multi-sided polygons, and even intricate paths you draw yourself. This opens up a world of possibilities for creating visually interesting and unique layouts.
If you want to see clipped path and what it can do you can use this link: CSS Clip-Path Generator - CSS Portal