Spice up your site | Easy waves, angles, & other creative shapes with CSS

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 ก.ย. 2024

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

  • @koigorfogbawa8238
    @koigorfogbawa8238 ปีที่แล้ว +222

    Kevin...your TH-cam channel is literally a beginner to advance CSS course...and it's for free and constantly updated 😀.. Thanks Kev...really really appreciate you.

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

      TOTALLY AGREED!! :)

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

      😂! Everything I know in css I learned from Kevin's TH-cam channel...
      I'm super grateful 🙌

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

      @@johnnyjev9840 I would probably stop making money if he quit this channel LOL!

    • @8koi245
      @8koi245 ปีที่แล้ว +1

      his Scrimba course is also free!!

  • @rickardelimaa
    @rickardelimaa ปีที่แล้ว +40

    12:39 - this is why I listen to all your videos. I think I'm pretty good at CSS, but having you present newer CSS properties keeps me constantly updated.
    _margin-inline_ and _padding-inline_ are new to me as well. This video felt really pedagogic, even more than usual. Thanks!

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

      As someone who usually works with CSS for a decade now, keeping up with these new properties and functions are both godsend and a nightmare.

    • @ihelpdogs
      @ihelpdogs 6 หลายเดือนก่อน

      *googling "pedagogic"....

  • @trueberryless
    @trueberryless ปีที่แล้ว +12

    I want to thank you Kevin because I agree with each goal you discussed in the first few minutes and I also think that it is much better, programming without SVGs as long as it is possible. And you are one of the only people on TH-cam knowing how to create anything with only CSS. This is what your channel stands for... Thank you!

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

      Oh, maybe I didn't quite understood what you said... Unfortunately, I don't like using SVGs...

  • @norboost
    @norboost ปีที่แล้ว +10

    You could flip the after element in the triangle example horizontally as well, that way they would be symmetrical on top and bottom.

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

    Hey Kevin, as a beginner I can't thank you enough for the first 8 minutes of this video. So much helpful advise that 99% of the other tutorials/guide would just completely skip. Thanks a lot 🙂

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

      “So I’ve got here an HTML file with content and a CSS file with 600 lines of code, now all I need to do is…”
      *Viewer crying in amateur *

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

    Kevin, you are an absolute god send. Im self studying, and you are my number one go-to channel for CSS. You really did help me fall in love with CSS

  • @mobile_genshin
    @mobile_genshin 6 หลายเดือนก่อน

    Wow! Omg this is amazing, thank you so much! I was making a website for my firend as a practice and I wasted so much time trying to figure out ways to do this diagonal section and nothing was working, but now thanks to this video my firend will get his cool skewed sections design! I am so grateful, this channel is the best!

  • @aln.2366
    @aln.2366 ปีที่แล้ว +1

    I'm new to web development, and you are a golden source of knowledge. thanks a million.

  • @matt.604
    @matt.604 ปีที่แล้ว +2

    I like your angles on the angels. 👼

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

    Thanks, Kev! You're a seasoned css practitioner 🙏✌🏻

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

      Are you peppering him with accusations of being salty?

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

      @@BryanMaxDobberstein Not at all, my intentions and appreciations for him have always been authentic, since I've known him (via inter webs) as long as since 2014'ish when I myself first got into the web dev world, migrating from Java and C++ programming. I can't say for sure whether he had his own dedicated channel back then, however he was one of the patreons of another awesome channel named "devTips"!

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

    I'm a Sr. Dev and I learned quite a few helpful things from this video, very well done! 🏆

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

    Frankly speaking, your videos are priceless. Whenever youtube suggests them, even though I'm doing something else, I always wanna stop by because there's always something valuable to learn that will improve my CSS. Thank you so much Kevin

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

    Unfortunately it's not allowed for one person to give 100000 likes for a video. It's awesome. Thank you very much. 👏🏿👏🏿👏🏿👏🏿👏🏿

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

    21:38 You can actually do it with just linear-gradients
    ex:
    background-image:
    linear-gradient(-135deg,
    purple 15px, transparent 0%), linear-gradient(135deg,
    purple 15px, transparent 0%)
    ;

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

    "margin-inline" ... "padding-block"... you saved my life !

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

    So effortless! Thanks Kevin!

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

    You are born to be a teacher Kevin.

  • @worldpeace1822
    @worldpeace1822 6 หลายเดือนก่อน

    Kevin regarding the issue with the rendering when zooming in I suggest trying to transform the image in by 0.5 px in so that there is an overlap… this might do the trick and fix the problem. You might have to adjust the svg vor that.

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

    Kev, you're an angel, absolute godsend. Cant tell you how much your videos do to my progress. Thank you

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

    Kevin, you did it : I’m in love with css! You’re amazing, thanks for all 🙌🏻

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

      Amazing! So happy to hear that :D

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

    Damn. I considered myself a CSS master since taking your Conquering Responsive Layouts course... But you keep showing me there's new levels to this

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

    I'm learning something new all the time with fundamentals too. Thank you so much KP sir🙏🏼🙏🏼

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

    I Learned 90 percent of all my css from this guy. Thank you Kev!!!

  • @hugosales8102
    @hugosales8102 11 หลายเดือนก่อน

    25:00 You could use either `background: transparent`, or even better `background: none` and you could have a gradient underneath

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

    today i finished my page with svgs to create some waves etc and now im seeing this video :O

  • @mkl.stranger
    @mkl.stranger 7 หลายเดือนก่อน

    Hi Kev, thank you very much for your consistent effort. It's gets a little distracting with the position of your selfi camera view. Please adjust somewhere it don't distract.

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

    awsome video btw love the way you repeat the basics of everything helps refresh the mind, subbed!

  • @oredeinbabajide3419
    @oredeinbabajide3419 5 หลายเดือนก่อน

    God bless you Kevin. Thank you for all that you do.

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

    I love your tutorials. Semantic HTML and easy to understand pure CSS are just the best! 👍

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

    Super thankful for this channel as I slowly learn to stop hating CSS...... By learning CSS properly 😅

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

    Kevin you're truly the boss, thanks your content is top notch...

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

    Thank you for the easy to understand explanation! I'll try it on my website right away.

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

    Love you Kevin, You really make us fall in love with CSS

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

    Only starting to use custom CSS variables. Setting one for --spike-color that references the one set for --body-bg is interesting. It seems like it complicates things unnecessarily, but I will have to ponder on this one a little longer to see the worth. Overall, great lesson.

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

    Just discovered ur channel. Feels like I found a cheatcode 😃

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

    OMG, man! I love your videos! isolation: property... I would never know something that usefull even exist!

  • @nomadshiba
    @nomadshiba ปีที่แล้ว +12

    i think one bad thing about using pseudo elements is
    if you have two different classes trying to use the same pseudo element, it becomes problematic
    and thats why we need unlimited pseudo elements like :before(foo) :before(bar) with an id

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

      I'd love to have something like that :)

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

      That's a really great concept. 😀

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

    Godd of CSS is here ... 🎉🎉🎉

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

    Good Video, nice to see the full fresh start approach.

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

    Wow.. with just one of your videos I learn a lot. They are very exciting! 🔝Thank you Kevin

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

    看到有人说是给初学者的视频,我认为即使是有经验的人,也能学到很多东西,谢谢

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

    This channel is just so good... It has solution to everything i am concerned abt in web development

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

    pretty cool things. I am really confident with css but some solutions are just so smooth and clean. thanks for the video /cheers

  • @1909jaya
    @1909jaya ปีที่แล้ว

    I love this!
    Thank you CSS king of kings!

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

    Great video! Learned a bunch! 🙏

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

    Pretty cool stuff. I'm stuck with using clip-path and triangles made from borders. Now I'm gonna try mask-image.

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

    omg did I just spot eye tracker your eyes go over your glasses at 1:18 mhhhh

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

      haha, yup, testing using one for my intros 😅

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

      @@KevinPowell haha honestly good idea it really pulls me in with my full attention when openingen your video keep it up!💡

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

    Honoured to watch you styling, Master! ^^

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

    Learned a lot in a short time and well explained

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

    just exactly what I needed right now.THANK YOU SO MUCH!

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

    I'm paranoid about the algorithm, so I never subscribe, like , or leave comments...ever. Your content has been SO inspiring and incredible, and I wanted to express this to you. I recently landed a QA job and during the in-between, your videos helped me keep learning and growing. I couldn't possibly describe how appreciative I am, but I want to say, from my whole heart:
    - Thank you -
    (Also, I subscribed, liked, and left a comment. I also subscribed to your emailing list. However I can show my appreciation. )

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

    A great video mate. Thanks again Kevin!! These are great little tricks that produce a big punch, and not too difficult to achieve!! Just awesome!

  • @c-eagle
    @c-eagle ปีที่แล้ว +1

    Regarding the rendering issues with rotation-transforms... I've been writing a JS/CSS-based dungeon crawler (3D and grid-based like Dungeon Master), and I've had the same rendering issues between textures/walls - only using HTML elements for those, no WebGL or anything, so it works on more devices. And after a lot of frustration, I found a fix by accident: I just added 0.01 to each and every deg-value in rotation-transforms. That was the lowest I could go before the problem would re-appear. So for example, instead of 180deg I'd use 180.01deg. Suddenly I really regretted deleting a CSS-based shading-engine (using gradients with different alpha values to add light/shadows) I developed for 5 weeks prior to noticing this rendering issue...

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

    Beautifully Explained!

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

    Wow, I always thought it was rocket science, but when you explain it, it's suddenly very simple. Thank you a lot 🥰

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

      🇺🇦❤🇺🇦❤🇺🇦

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

    I often run in to these little rendering issues. I used a skew technique for an angled panel in a project, with the background being a radial gradient. I didn’t want the gradient skewed though, so I made the gradient a child element and skewed it the opposite way so it looked normal again, but Firefox wasn’t having it. Little 1px gaps in the gradient.

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

    Really great video! Thanks again Kevin!

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

    Always such helpful videos brother!

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

    So FUN!!! Luv this; once again you blow it right out of the water :) 😃

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

    Thank you for sharing! 🙌🏼

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

    Thank you for sharing these tips, very helpful :)

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

    First, thank you for all your tutorials, they are so wonderful! I do have one question though. Wouldn't it just be better to use actual images in the background rather than all the gradient and avg imports? Then we wouldn't have to worry about everything breaking if something gets slightly changed, and wouldn't have to worry about creating all those different asset files. Just wondering why we would do all this? I just try to stick with what is easier with all the different browsers and coding. Please correct me on this if I'm off in my concept of the big picture overall. :)

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

      Sorry, I meant svg not avg.

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

    Thank you Kevin, very cool!

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

    Such a great video! I’m currently stuck on the spikes section when we put in the WebKit mask image. I’m following the video step by step and I’ve looked over my code and it’s the exact same yet when I input the path into the WebKit, it’s not creating the spikes and stays as regular horizontal bars. I don’t know what I’m doing wrong 😢 any help from anyone figuring out how to deal with this would be great. I’ve never used WebKits before so is it possibly a setting I don’t have set?

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

      Actually, they don’t stay as regular bars, they just disappear
      I’m using Chrome

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

      @Dustin Yochim so I tried that and it still didn’t work 😭

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

      Same problem here

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

      I found the solution. The problem: (Chrome don't recognize "mask-image: URL" on computer),
      The Solution: Create a Chrome browser's shortcut. Right-click on the icon and in properties, edit target to "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --disable-web-security --user-data-dir="C:/ChromeDevSession" and save. Then using Chrome open the page using ctrl+o. NOTE: Do NOT use this shortcut for regular browsing .

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

    Kevin, with all these videos you seem to be the kind of man who has his chair/desk setup and sitting position dialed in.
    Now i have personally tried to follow many TH-cam videos about how to sit for extended periods of time without feeling like a grandpa climbing a mountain after each sit.
    Perhaps i wasn't asking it to the right people, maybe i should've asked a fellow coder.
    So, mister Kevin sir.
    Any advice or personal insights on how you deal with this constant risk of back pain?
    i know it's a bit off topic but i would genuinely appreciate any kind of advice at this point really hahah.
    P.S. This video was yet again one of those videos i didn't know was going to be so helpful and motivating for my own project, really only clicked because i know the welcoming quality of your videos and also for the nice colors and shapes in the thumbnail :p

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

    ...you sir, are the best!

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

    Kevin, j"aime ton chandail :) from Quebec Canada

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

    I love skiing Owl’s Head

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

      I've spent the last 30 odd years skiing there, my parents live pretty close to it 😀

  • @sebastian.schwarz
    @sebastian.schwarz ปีที่แล้ว

    Awesome stuff! Thank you!

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

    thx this helped me a lot :)

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

    Thank you sir 😃

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

    Awesome content! 😍

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

    Great, thank you so much!

  • @hdubey64
    @hdubey64 2 หลายเดือนก่อน

    Awesome

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

    great content

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

    awesome , mate .. awesome

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

    I can't see the spike either, even when I download the source code. I'm on firefox 109.0.1. Stop working as soon as I had the image-mask

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

    How come you have time to create all these contents and i dont have time to watch all of them. You amazing

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

    nice video love it

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

    a fix for the rotated bottom spike shape "sub-pixel-rendering" situation could be to add a bottom margin to the pseudo element

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

    Great video! I'm in the process of making a Parallax Effect using transparent .png(s), but would some of these mountainous container shapes be more optimal for a Parallax Effect?

  • @kc-ep8yx
    @kc-ep8yx ปีที่แล้ว

    Thank you

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

    Great video! To fix the zoom in and out, maybe a -1px on top and bottom of the ::before & ::after ?

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

    @kevin Powell plz help i got stuck as -webkit-mask-image: url('triangle.svg'); not working

  • @Abdulwahab-hj4me
    @Abdulwahab-hj4me ปีที่แล้ว

    Absoulutely Fansastic 😵

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

    whoaah finally a tutorial for shapes and stufss. Thanks Kevin

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

    FIRST HERE. Loving your content since 2019

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

    Nice thumbnail

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

    Is it me or does he have the nvidia eye contact thing that replaces your eyes so you can read the script?

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

    Hey, nice sweater! Greetings from Ottawa haha :)

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

      I'm just outside of Montreal, though will be relocating to Halifax shortly :)

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

      @Kevin Powell Wow nice! Enjoy the move, hope it goes well!

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

    Hello Kevin, could you show how you configured "Prettier" for HTML and CSS?
    There's some problem with and tags

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

    you should make version with custom backgrounds

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

    -webkit-mask-image: url('triangle.svg'); not work

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

    bro's using RTX Eyes
    ty for the video btw

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

      Haha, yeah, might not keep up with it though, lol

  • @clevermissfox
    @clevermissfox 11 หลายเดือนก่อน

    29:23 how do you highlight and delete -WebKit on both lines at the same time? I always see it giving a slight highlight to the same word that I’m selecting but never knew you could select a couple , what kind of dark arts is that???

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

    Hello, Sir! Respectfully suggesting, can you make an update video of html and css? I've been looking for tutorials in yt to learn and your channel is a good place to start. TY.

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

    you rock

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

    28:45 In some cases i fixed this with transform scale 1.01 or 1.02

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

    28:42 can't you transform the ::after 1 pixel up so the the line should show up?

  • @a.galvaop.787
    @a.galvaop.787 ปีที่แล้ว +2

    Angels