Color difference effect for Cagro Collective website (CSS mix blend mode).

Поделиться
HTML-код
  • Опубликовано: 5 сен 2024
  • Here I'll show you how to create this cool difference effect on your Cargo website. I'll show you how to apply it to a fixed element and how to make this element to be a link. It might be used for your menu, the logo, or any other element you want.
    If you find it useful, don't forget to subscribe to my cannel, or follow my Instagram to get more tips about website builders.
    / xiu_web

Комментарии • 28

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

    Очень хорошие цвета и подборка!

  • @usermjk1234
    @usermjk1234 Год назад +1

    Hi, thanks for the great lecture. In addition, I have a very curious question. How can I modify the existing layout to arrange the work so irregularly?

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

      No, here I used a ready template. You also can use this "free gallery" option. The images in the gallery will be arranged randomly.

  • @austinstevens2666
    @austinstevens2666 Год назад +1

    Thank you so much for this tutorial! For some reason, as I try to align the text in the center (text-align:center) in HTML, it will not go to the center. When I add movement right or left, it avoids the center, staying to the right or left, respectively. How would I resolve this issue?

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

      I've made another video about this effect ruclips.net/video/GHQhqF8czKg/видео.html maybe you can try it and the issue will be resolved

  • @leosegonds9426
    @leosegonds9426 Год назад +1

    Hey ! Great Tutorial, I was wondering i you figured out a way to attribute this line of code to a specific page only (the home page in my case) ?
    Keep up the good work !
    Regards

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

      It is possible, but in each case it would depend on how this page was built. Let's say, if the whole content is placed in one page, it is possible to add the same code beneath the existing one directly to this page.

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

    Hey! thanks for this tutorial. I was wondering on how to change che font for the difference layer, could you help me?

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

    Thanks a lot! I was wondering, how to make a rule to make it appear on the desktop but not on the responsive versions?

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

      Not sure what you meant by responsive version, but I have a video about mobile adjustments here. You need @media rule, I guess

  • @paultuttas5977
    @paultuttas5977 10 месяцев назад

    Thanks a lot. Is there any way I can apply this effect to a mobile menu only? I tried to hide this element for desktop by using html (Show the element on screens less than 768 pixels wide (typical mobile devices)). But it messed up my website.

  • @Eelis-rc6ho
    @Eelis-rc6ho Год назад

    Thanks so much for this tutorial! It's super helpful. I have one question though: I want to apply mix-blend-mode on a sticky footer, that was pre-installed on a cargo template. No matter what I do, it doesnt change the color. Is it that it doesn't recognise the backgound? You have any idea how to fix this?

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

      You can show me the website and I'll try to find the right selector :) send me a link here of via inst (xiu_web)

    • @theobragh
      @theobragh Год назад +1

      Hello ! Have you find the solution ? Thank you !

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

    Super Turtorial! It works great, but how can i make it go away on other Pages?

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

      Thank you! I'm not sure how to manage it on Cargo, but I have an assumption: try to create a new pinned page with this property (like to place the html part directly to the page). It might not work correctly, but unfortunately I don't know any better solution.

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

    Hey ! Awesome tutorial, i was trying to do it but it don't work for me. I think i made a mistake somewhere but can't find where. I dont't have any error but it doesn't work also. If you have another video or someone you know that showing this. Thanks !

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

      There might be many reasons. First, check your syntax, secondary, make sure you followed all the steps. Also try changing the color of your text to white, and if you linked this text to something, see other comments, I explained this case there

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

    Thanks a lot for the tutorials and your replies!! Is there a way to turn the text into b/w depending on the brightness of the background? Also how to do it through CSS using H1 or H2 tags?

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

      Read about "mix-blend-mode" and "filter" css attributes, I think you will find the black&white you want there (so if you change mix-blend-mode:difference; to something else, you will get the new result).

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

      using h1, h2, bodycopy or small doesn’t change anything. Replace the tag as you want :)

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

    Just were I was looking for but I can't seem to find out how to add this effect to my navigation on the top of my website 'Home > About > Contact'. Any tips?

    • @xiuweb
      @xiuweb  Год назад +1

      the general principle should be the same. I would try to find this element via inspect, applying mix-blend-mode and z-index properties. When you find the right one (so you see that it works as you want), I would copy its selector and then add it to the CSS editor (with mix-blend-mode and z-index)/ I hope it will help

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

      @@xiuweb thanks for your quick reply! Will dive into this!

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

    This is amazing, can i apply on a image? I want to apply on my logo :)

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

      I think it's possible to apply this effect for an SVG logo, but I'm not sure how it would go on Cargo. Let me know if you try :)

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

      @@xiuweb thank you!!!

    • @arnoaono6651
      @arnoaono6651 Год назад +1

      hi! were you able to apply it on an SVG Logo? I'm trying to do the same. If you were able to apply it, could you tell me how you did it? Because I was only able to apply it on a font. thanks :)