CSS Clip Path Tutorial

Поделиться
HTML-код
  • Опубликовано: 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) 💖
    ruclips.net/user/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!

  • @salentipy
    @salentipy Месяц назад +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 Месяц назад

      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

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

  • @bengbeng2005
    @bengbeng2005 2 года назад

    you got a new subscriber Andrew thank you

  • @GraphicDabbles
    @GraphicDabbles 9 месяцев назад

    Very helpful. Thanks :)

  • @Lyonnais1985
    @Lyonnais1985 2 года назад +1

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

  • @fixesdev
    @fixesdev 2 года назад

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

  • @ballonura
    @ballonura 3 года назад

    Thx

  • @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 Год назад

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

  • @manojht8036
    @manojht8036 Год назад

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

  • @MohamedHassan-tk5bq
    @MohamedHassan-tk5bq 3 года назад

    Do you use photoshop or Ai to make your thumbnails?

  • @jssumon1918
    @jssumon1918 3 года назад

    💞💕💕💞