CSS Clip Path Tutorial

preview_player
Показать описание
Learn about the fancy CSS Clip Path property and how you can use that to clip (cover or hide) certain areas of images or other design elements. The CSS clip path property is even animatable, allowing for some real fancy user interactions and animations all from within CSS.

💖 SUBSCRIBE (Please) 💖

📢 Social Media 📢

#css #clippath #webdev
Рекомендации по теме
Комментарии
Автор

Half way there! Part 10 of 21 for the 21 CSS Tips for 2021!

FollowAndrew
Автор

Thanks for taking the time to do a tutorial! It would be a lot more beneficial if you explained what each of the numbers/percentages mean in the clip-path. As it stands, watching this, I didn't know what 0% 100%, 30% 0, etc... meant. 0% of what where? 100% of what where? etc. Is this something that one should just know or be able to easily discern?

salentipy
Автор

Thanks for the tutorial Andrew, it got me going in the right direction.

In case you do not have this information available, the overflow attribute is also beneficial in achieving a similar outcome. In addition, it is possible to maintain the original document flow using the position: relative attribute.

In essence, Clip Path kind of screws up document flow, whereas overflow enables you to trim everything that exceeds the boundaries of your container. For anyone that is trying to use pictures in their sites, I recommend the overflow attribute paired with position: relative! :)

luiszaragoza
Автор

Just a heads up to the folks that stumble on this tutorial that both image tags are referenced to the clip path with class attributes and the workaround for applying a drop shadow is to use the "filter" attribute. *)

colindante
Автор

you got a new subscriber Andrew thank you

bengbeng
Автор

is it possible to do this invert? from inside out?

Lyonnais
Автор

You can't control width and height of clipping 😐
Anyone know any workaround for that ?

manojht
Автор

i want a website to edit the clip path for css image online or an app for computer, please !

bimokayoba
Автор

Excellent video! how can I add an animation to it?

fixesdev
Автор

Do you use photoshop or Ai to make your thumbnails?

MohamedHassan-tkbq