How to use SVG blobs on websites (CSS)

แชร์
ฝัง

ความคิดเห็น •

  • @webdevluc
    @webdevluc ปีที่แล้ว +2

    Loved the video Matt. Great quick tutorial

    • @MattVisiwig
      @MattVisiwig  ปีที่แล้ว

      Thanks my friend! Glad you loved it!

  • @terhuneb
    @terhuneb 3 หลายเดือนก่อน +1

    I really like the effect of overlapping different SVG blobs with some opacity (and possibly different colors) to give it some added visual interest. These techniques will all work with with the overlapping concept. Thanks!
    Could you also share the html you used for these samples?

    • @MattVisiwig
      @MattVisiwig  3 หลายเดือนก่อน

      I like that effect too. I don't have the code I used any more. For the HTML on the first two examples, you'll likely want to place the background class on the container that wraps the section and all its content.

    • @terhuneb
      @terhuneb 3 หลายเดือนก่อน

      @@MattVisiwig I started coding this up, but I can't figure out how to apply opacity on the svg when it's on the background. How would you accomplish this?

    • @MattVisiwig
      @MattVisiwig  3 หลายเดือนก่อน

      @@terhuneb, yeah, you can't place opacity easily on backgrounds. Instead, place it on the SVG. Use fill-opacity="0.5" on the path.