CSS Gradients and repeating gradients

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 ก.ค. 2024
  • A quick look at CSS gradients. While the basics of them are really simple, a lot of people don't know about repeating gradients, which are really easy to use and which let you do some pretty cool stuff.
    #fiveminutefriday
    ---
    I have a newsletter! www.kevinpowell.co/newsletter
    New to Sass, or want to step up your game with it? I've got a course just for you: www.kevinpowell.co/learn-sass
    ---
    My Code Editor: VS Code - code.visualstudio.com/
    How my browser refreshes when I save: • How to automatically r...
    ---
    Support me on Patreon: / kevinpowell
    I'm on some other places on the internet too!
    If you'd like a behind the scenes and previews of what's coming up on my TH-cam channel, make sure to follow me on Instagram and Twitter.
    Instagram: / kevinpowell.co
    Twitter: / kevinjpowell
    Codepen: codepen.io/kevinpowell/
    Github: github.com/kevin-powell

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

  • @ahmed.mfawzy3475
    @ahmed.mfawzy3475 5 ปีที่แล้ว +61

    OMG ... finally i know how to use gradient in css !!! thank you man ...

    • @KevinPowell
      @KevinPowell  5 ปีที่แล้ว +6

      Glad I could help!

  • @olawaseem
    @olawaseem 5 ปีที่แล้ว +9

    Thank you so so much, I spent nearly an hour to understand how it works I was changing numbers until everything become clear for me, BTW your videos are giving the motivation :).
    Regards,

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

    Thank you master of CSS!!!. You made me a believer in thinking the impossible with using CSS gradients and it not being possible with making your background being set at an angle and having a line cutting off the different colors, but leave it to no surprise it is definitely possible thanks to this amazing content, so thank you so much for making this video Kevin your the BEST!!. :D

  • @albenideslyma
    @albenideslyma 4 ปีที่แล้ว +5

    Thank you teacher. I am a Brazilian programmer and I follow you to learn more. very good your tips.

  • @arjunlubana9720
    @arjunlubana9720 4 ปีที่แล้ว +1

    These 5 minutes videos are a lifesaver.

  • @kenshinnanashi9469
    @kenshinnanashi9469 5 ปีที่แล้ว

    great video - right in spot. I like the idea of 5-minute video with nothing but pure content.

  • @Pedritox0953
    @Pedritox0953 5 ปีที่แล้ว +3

    #fiveminutefriday thank you!!! You are a genius... lomg enough to cover simple subjects and a day to relax and see something new... wait for more next friday

  • @paullegaspi5384
    @paullegaspi5384 5 ปีที่แล้ว +1

    I love this series!

  • @saurabh75prakash
    @saurabh75prakash 2 ปีที่แล้ว

    Awesome video, thanks Kevin

  • @irenejusto4310
    @irenejusto4310 3 ปีที่แล้ว

    This is so helpful, thank you Kevin!!

  • @umslopogaas
    @umslopogaas 5 ปีที่แล้ว

    Cool narrative style, full of info. Great vid dude. 👌 ♥

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

    Loving the way that format is one your screen mate! super easy to follow cheers.

  • @wall22
    @wall22 4 หลายเดือนก่อน

    This is brilliant. Thank you so much!

  • @alexdogaru4066
    @alexdogaru4066 4 ปีที่แล้ว

    Thank you Kevin! Awesome!

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

    Made it seem so easy
    Thanks a lot

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

    Holy crap that red and blue broke me haha. Keep it up Kevin, I like dropping by and seeing you do simple fun things like this.

    • @KevinPowell
      @KevinPowell  5 ปีที่แล้ว

      Hurt me too, lol. I probably should've redone it with some softer colors. Next time!

  • @CarlosMoreno-vw4ir
    @CarlosMoreno-vw4ir 3 ปีที่แล้ว

    Awesome!!! thanks a lot Kevin!!

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

    a very detailed and simple explained video sir keep going!!!!!

  • @hamzalaarabi8736
    @hamzalaarabi8736 2 ปีที่แล้ว

    nice job Kevin 👏

  • @mlsdd
    @mlsdd 2 ปีที่แล้ว

    It worked, thank you.

  • @shubhamsonawane791
    @shubhamsonawane791 5 ปีที่แล้ว

    i really like how you explain things and your videos are easy to understands

    • @KevinPowell
      @KevinPowell  5 ปีที่แล้ว

      Thank you for the kind words, glad that you like my style :D

  • @MrToRoKoN
    @MrToRoKoN 5 ปีที่แล้ว

    I just love u man. Finally I found something like this on YT.

    • @KevinPowell
      @KevinPowell  5 ปีที่แล้ว

      Thanks for the kind words, and glad you're enjoying my content :)

  • @umarsandaahmed9160
    @umarsandaahmed9160 5 ปีที่แล้ว

    Thank you so much for doing this great work you mean so much to me

  • @Mike01010011
    @Mike01010011 3 ปีที่แล้ว

    Super easy, thanks!

  • @HossamKhalaf-sr1oo
    @HossamKhalaf-sr1oo 5 ปีที่แล้ว

    Cool as always.. many thanks

  • @Frost8488
    @Frost8488 3 ปีที่แล้ว

    DUDE! THANK YOU!!!

  • @BobCat981
    @BobCat981 4 ปีที่แล้ว +7

    super-fast. essentials only. awesome job, sir! thank you!
    9 dislikes are probably flat earthers which mistaken CSS for ISS...

    • @KevinPowell
      @KevinPowell  4 ปีที่แล้ว +6

      Can't be a YT video without a few dislikes :)

  • @pavithraraji7175
    @pavithraraji7175 3 ปีที่แล้ว

    Aww.... thank you man this really made my day🔥🤩🙌

  • @AmirulIslam-gg2fn
    @AmirulIslam-gg2fn 5 ปีที่แล้ว +1

    I was actually really confused about the linear-gradient's values/parameters, but it's crystal clear now. Thanks a lot :)

    • @KevinPowell
      @KevinPowell  5 ปีที่แล้ว

      No problem!

    • @Kendrip
      @Kendrip 4 ปีที่แล้ว

      Yes me too i saw it tedious

  • @user-vk1dn1tl8c
    @user-vk1dn1tl8c 8 หลายเดือนก่อน

    this was very helpful

  • @arafahkawtar4114
    @arafahkawtar4114 2 ปีที่แล้ว

    Thank you teacher🌸🌸

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

    I love how fast this was.

  • @deitherlenesin4359
    @deitherlenesin4359 5 ปีที่แล้ว

    Great Tutorial

  • @sanjayism
    @sanjayism 5 ปีที่แล้ว

    Interesting stuff... I am following you and learning from all tutorials

    • @KevinPowell
      @KevinPowell  5 ปีที่แล้ว

      Glad that you're enjoying my content Sanjay!

  • @neeleshgaur8424
    @neeleshgaur8424 5 ปีที่แล้ว

    It's really really really interesting!!!

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

    Thank you sir 😊

  • @googler5879
    @googler5879 4 ปีที่แล้ว

    Amazing 5min toturial

  • @Dawid-lb8fe
    @Dawid-lb8fe 3 ปีที่แล้ว

    Thank you, nice video!

  • @parasarora5869
    @parasarora5869 5 ปีที่แล้ว

    amazing video...thank you sir 😄

  • @trophieboi1820
    @trophieboi1820 5 ปีที่แล้ว

    This fiveminute thing you're doing is really fun and useful.
    Expecting more....😀

    • @KevinPowell
      @KevinPowell  5 ปีที่แล้ว

      Glad that you're enjoying them!

    • @trophieboi1820
      @trophieboi1820 5 ปีที่แล้ว

      @@KevinPowell Well I used some of them in my competitions.
      😁 So I love these short tricks that help me save a lot of time.

  • @ahmedreja9528
    @ahmedreja9528 4 ปีที่แล้ว

    What a lesson! OMG!

  • @nelsonantonio5870
    @nelsonantonio5870 2 ปีที่แล้ว

    Thanks Sir!

  • @ahmedpak5602
    @ahmedpak5602 3 ปีที่แล้ว

    The king of CSS on TH-cam. Here is the 👑 crown from my side.

  • @fazliddinkhamidullayev4695
    @fazliddinkhamidullayev4695 2 ปีที่แล้ว

    Thank you very much

  • @TheElkster
    @TheElkster 5 ปีที่แล้ว

    Very interesting!!!! Thanks a lot!! :)

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

    Thank you so much sir

  • @user-zp5ev7qt4h
    @user-zp5ev7qt4h หลายเดือนก่อน

    Thank you so much

  • @user-jd6te1ss7u
    @user-jd6te1ss7u 4 ปีที่แล้ว

    Thank you!

  • @priyetamunokuro7950
    @priyetamunokuro7950 3 ปีที่แล้ว

    Thank you

  • @andricjelena
    @andricjelena 2 ปีที่แล้ว

    I like it! This is easy. :D

  • @vimalsurti9165
    @vimalsurti9165 4 ปีที่แล้ว

    Hey, thanks Nice vidéo !

  • @victoreze-yx3ei
    @victoreze-yx3ei ปีที่แล้ว

    Well done

  • @aoporoy7976
    @aoporoy7976 3 ปีที่แล้ว

    Thank you sir

  • @nolisto1
    @nolisto1 5 ปีที่แล้ว

    Awesome channel. I'm starting to really like front-end development

    • @KevinPowell
      @KevinPowell  5 ปีที่แล้ว

      So glad to hear that, and glad that you're enjoying my channel!

  • @anowerfaysal683
    @anowerfaysal683 3 ปีที่แล้ว

    very helpful video ; thanks ; dude;

  • @codingworld348
    @codingworld348 3 ปีที่แล้ว +4

    Finally, a TH-camr who knows why youtube was made

  • @SUPA93200
    @SUPA93200 9 หลายเดือนก่อน

    Nice. Thanks. Coming from the post then learned 😅

  • @saltech2024
    @saltech2024 2 ปีที่แล้ว

    Nice Tut

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

    really helpful thx YYDS for code

  • @Wilton_Gomes.
    @Wilton_Gomes. 3 ปีที่แล้ว

    thanks, great.

  • @kengeorge3003
    @kengeorge3003 2 ปีที่แล้ว

    good work

  • @pemadechen9901
    @pemadechen9901 5 ปีที่แล้ว

    thank you

  • @aalia8345
    @aalia8345 5 ปีที่แล้ว

    Amazing!!

  • @kazimrahman7499
    @kazimrahman7499 3 ปีที่แล้ว

    WoW....Thanks...!!

  • @saleemafayaz1662
    @saleemafayaz1662 3 ปีที่แล้ว

    Used this gradient feature on the Instagram icon my web, it's white and black but when you hover over it it changes into a beautiful gradient colour like on instas icon
    Thanks to you 👍👍

  • @ytkeebOo
    @ytkeebOo 5 ปีที่แล้ว

    Smart way to use it. :)

  • @Knards
    @Knards 5 ปีที่แล้ว +1

    Now the solid lines I did not know!

    • @KevinPowell
      @KevinPowell  5 ปีที่แล้ว

      One of those little hidden gems that I love discovering in CSS

  • @marktheunknown1829
    @marktheunknown1829 10 หลายเดือนก่อน

    Thank you

  • @chakalwatches4882
    @chakalwatches4882 5 ปีที่แล้ว

    Thanks

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

    Thank you ! I'm a third year college student - and my major subject for this 2nd semester is Web designing, we haven't tackled this yet but I got so interested with the subject that I went on ahead and learn by myself 😂
    edit: I took graphics design

    • @dixztube
      @dixztube 2 ปีที่แล้ว

      got a portfolio?

    • @leno7492
      @leno7492 10 หลายเดือนก่อน

      i hate those which get randomly interested in a subject, stupid geeks

  • @shripadyadav6849
    @shripadyadav6849 5 ปีที่แล้ว

    Cool video..
    Like to learn more about gradients..!!

    • @KevinPowell
      @KevinPowell  5 ปีที่แล้ว

      Got a few more videos on them planned for the coming weeks :)

  • @geralddarkobekoe
    @geralddarkobekoe 5 ปีที่แล้ว

    Perfect

  • @sabiruli
    @sabiruli 5 ปีที่แล้ว

    Awesome!!!

  • @mcrick4113
    @mcrick4113 2 ปีที่แล้ว

    Thanks.

  • @pawelmurzinski37
    @pawelmurzinski37 8 หลายเดือนก่อน

    It is very interesing CSS :)

  • @mosopefoluwaogunlaiye240
    @mosopefoluwaogunlaiye240 3 ปีที่แล้ว +1

    Ive seen a lot of css drawings where only one div is used. Radial gradients are also used a lot. Can you do a video explaining this process? Thanks a lot Joe.

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

    So Thanks

  • @Codo-Pro
    @Codo-Pro 4 หลายเดือนก่อน

    thankyou

  • @tanveerkhan9430
    @tanveerkhan9430 5 ปีที่แล้ว

    Amazing

    • @KevinPowell
      @KevinPowell  5 ปีที่แล้ว

      Glad you enjoyeed it :)

  • @yonatan_max_art
    @yonatan_max_art 4 ปีที่แล้ว

    very helpfull

  • @lvekua
    @lvekua 2 ปีที่แล้ว

    Kev, css gradient borders when? ❤️

  • @sjshdhehbesjks
    @sjshdhehbesjks 4 หลายเดือนก่อน

    i got hypnotized

  • @suparnobhattacharya6345
    @suparnobhattacharya6345 4 ปีที่แล้ว

    great tutorials sir. But still, I need an in-depth one.

  • @shubhamdogra566
    @shubhamdogra566 5 ปีที่แล้ว

    Ur great .. just keeping doing :)

  • @techshab9060
    @techshab9060 5 ปีที่แล้ว

    great sir g

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

    Hi, mine looks weird. does this only work in a box like div? i want to make my whole webpage background in gradient. so i got
    body {background: linear-gradient (45deg, pink, teal);}
    I thought it would fill up the whole webpage, but it in lines, like gradient lines pattern. it's like the whole page is fill with gradient boxes. what did i miss?
    THanks

    • @edwinsam2392
      @edwinsam2392 7 วันที่ผ่านมา

      omg same did you find out why?

  • @ArisAris-fs1ip
    @ArisAris-fs1ip 6 หลายเดือนก่อน

    You are a god

  • @ahmedghallab5342
    @ahmedghallab5342 4 หลายเดือนก่อน

    شكرا Thanks

  • @kishorereddy9052
    @kishorereddy9052 3 ปีที่แล้ว

    which one better for html,css

  • @enriquesneffels3053
    @enriquesneffels3053 3 ปีที่แล้ว

    Good tutorial, but not well explained when it comes to the values between parenthesis and their extension across the background. But I'm glad that I found out with a bit of practicing. Thank you a lot for posting this, though, you're always my first source.

  • @KCAOTLEE
    @KCAOTLEE 9 หลายเดือนก่อน

    What if you want to a custom multiple radial gradients that touch into each other like 5 different hex codes?

  • @cptechno
    @cptechno 3 ปีที่แล้ว

    Hi Kevin! I'm shopping around for a nice looking spreadsheet. I would like the spreadsheet to look good because if reflects on my software application. I don't see REACT spreadsheets components use gradients coloring for row background. Gradients can give the rows an illusion of 3D, like each row how a half of round pipe. That's the sort of effect I'm looking for.
    Is that possible?

  • @Atman89
    @Atman89 3 ปีที่แล้ว

    How can I create a linear or radial gradient as a background and also change the opacity without affecting the text that should go in-front of it? I can use Opacity: value; within the css class, but that affects the text, and I just want to dim the gradient. Would I have to to use rgba with the a value set to something like .1 for every rgba value? Thanks. Also, nice quick tutorial.

  • @vinayjadhav5745
    @vinayjadhav5745 3 ปีที่แล้ว

    can you please help giving a tool-tip over the linear gradient with 2 colors, red and blue like if we hover on red show a tooltip and similar way for blue as well. how can we achieve this? pl help

  • @mukeshnegi9720
    @mukeshnegi9720 5 ปีที่แล้ว

    thankyou kevin ,
    it will be very helpful if you make a video with gradients over background images and then some text over it . i really need to learn this please comment if you have time

    • @KevinPowell
      @KevinPowell  5 ปีที่แล้ว

      Maybe this is what you are looking for? th-cam.com/video/-c94pr41jaI/w-d-xo.html

  • @MuhammadAdnan-gx6rd
    @MuhammadAdnan-gx6rd 5 ปีที่แล้ว

    Great

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

    can we use it as a background website?

  • @ankurwaghmare3696
    @ankurwaghmare3696 5 ปีที่แล้ว +1

    Which browser are you using to run the code? Because the linear gradient is not working in crome, edge, firfox browser in my pc.

    • @KevinPowell
      @KevinPowell  5 ปีที่แล้ว +1

      linear-gradients are supported in pretty much all browsers these days, check your syntax, there might be a problem causing them not to render.

  • @rustynail5919
    @rustynail5919 2 ปีที่แล้ว

    how do I fix gradient banding in css

  • @secretvalleyyt2126
    @secretvalleyyt2126 2 ปีที่แล้ว

    which editor did you use?
    i mean online editor