CSS Clip Path Tutorial

Поділитися
Вставка
  • Опубліковано 6 кві 2021
  • 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) 💖
    ua-cam.com/users/FollowAndrew?s...
    Live Scrimba Code: scrimba.com/scrim/cocf6487e99...
    📢 Social Media 📢
    TWITTER (@followandrewedu) ➞ / followandrewedu
    #css #clippath #webdev

КОМЕНТАРІ • 15

  • @FollowAndrew
    @FollowAndrew  3 роки тому +2

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

  • @luiszaragoza969
    @luiszaragoza969 Рік тому

    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! :)

  • @Lyonnais1985
    @Lyonnais1985 2 роки тому +1

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

  • @salentipy
    @salentipy 17 днів тому +1

    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?

    • @ezeanichucks3728
      @ezeanichucks3728 4 дні тому

      They are x, y coordinates. Each pair of numbers always start at the top-left of their containers and find their way around (depending on the value of x and y).
      My explanation might need diagrams for you to further clearly understand, but trust me, it's an extremely simple concept once you get it

  • @bengbeng2005
    @bengbeng2005 2 роки тому

    you got a new subscriber Andrew thank you

  • @colindante5164
    @colindante5164 2 роки тому

    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. *)

  • @bimokayoba
    @bimokayoba 11 місяців тому

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

  • @fixesdev
    @fixesdev Рік тому

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

  • @manojht8036
    @manojht8036 11 місяців тому

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

  • @GraphicDabbles
    @GraphicDabbles 8 місяців тому

    Very helpful. Thanks :)

  • @ballonura
    @ballonura 3 роки тому

    Thx

  • @MohamedHassan-tk5bq
    @MohamedHassan-tk5bq 3 роки тому

    Do you use photoshop or Ai to make your thumbnails?

  • @jssumon1918
    @jssumon1918 3 роки тому

    💞💕💕💞