CSS Tips And Tricks I Wish I Knew Before

Поделиться
HTML-код
  • Опубликовано: 28 май 2024
  • Unique CSS tips and tricks that every front-end developer should know. Most underrated CSS properties and pseudo classes, effects. #css #webdesign
    Watch the second part: • CSS Tips And Tricks 2 ...
    Join the newsletter: list.lama.dev
    If it is valuable to you, you can support Lama Dev.
    Join: / @lamadev
    Buy me a coffee: www.buymeacoffee.com/lamadev
    Source Code:
    github.com/safak/css-tips
    Join Lama Dev groups
    Instagram: / lamawebdev
    Facebook: / lamadev
    Discord: / discord
    Twitter: / lamawebdev
    00:00 CSS Clip Path
    02:32 CSS Perspective
    04:57 CSS Aspect Ratio
    05:47 CSS Filters (Blur, Gray Scale Etc)
    07:18 Styling Inputs
    08:20 CSS :is, :where, :has, :not Tutorial
    10:28 HTML CSS Video Captions (Subtitles)
  • НаукаНаука

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

  • @LamaDev
    @LamaDev  7 месяцев назад +20

    Second part is here: ruclips.net/video/kINNs4uYYnY/видео.html

    • @ShawnRitch
      @ShawnRitch 4 месяца назад +1

      Well done and thank you :)

    • @okparaeric7637
      @okparaeric7637 10 дней назад

      I would love to know more about transform and perspective please ❤

  • @gabrielsaunders4642
    @gabrielsaunders4642 8 месяцев назад +81

    That “has” pseudo class is a game changer

    • @mynameisjeff5971
      @mynameisjeff5971 5 месяцев назад +2

      10:19 when you click the spoiler button how do you make it unblur without any javascipt

    • @SamGoldenMan
      @SamGoldenMan 4 месяца назад

      Animate it
      Reverse ​@@mynameisjeff5971

    • @BassByTheBay
      @BassByTheBay 3 месяца назад

      @@mynameisjeff5971 You could use a pseudo-class on the button, e.g.:
      .review:has(button:focus) .content { filter: none }
      But that only works while the button is focused. You could do the checkbox hack, but it's brittle and unnecessarily complex. It really is worth just doing the small amount of simple javascript to add/remove the class name that unblurs the text.

    • @NewLord
      @NewLord 2 месяца назад

      @@mynameisjeff5971Instead of a button use a combination of label + checkbox. Set the "id" attribute on the checkbox and use the "for" attribute on the label to reference it. Style the label as a button. Then you can do this:
      .review:has(label) input[type="checkbox"] { display:none }
      .review:has(label) input[type="checkbox"]:checked ~ .content { filter:blur(0) }
      Your HTML has to be like this: Show Spoiler
      This is something I also use for pure CSS based hamburger menus.

    • @shadowsenpai1
      @shadowsenpai1 Месяц назад

      @@mynameisjeff5971 umm maybe by adding onclick action to button or to change the blur lvl?

  • @muhammadzohaib543
    @muhammadzohaib543 9 месяцев назад +63

    Sir, I just wanna thanks to you.

  • @emerson-sheaapril8555
    @emerson-sheaapril8555 5 месяцев назад +4

    You litterly blew my mind and i love how you tied everything together at the end. I really had bo idea you could add captions like that either!
    Im curious, as im working on a project right now. Would it be possible to highligh each word to bring emphasis to it as people spoke?
    Currently, we are just doing hard copies but i like this idea as it allows for more flexibility

  • @U53RN07F0UND
    @U53RN07F0UND 8 месяцев назад

    You pack so much useful relevant information into a short video. Amazing job!
    I haven't checked yet, but if you haven't, please do make a second part to this video!

  • @ekeminiben6885
    @ekeminiben6885 9 месяцев назад +1

    This is really helpful, I can't wait to see the second part of it. Thanks

  • @naqieuddinazman4677
    @naqieuddinazman4677 9 месяцев назад +2

    This is amazing stuff ! Thank you for creating this content 🔥🔥🔥

  • @shakhzodgayratov5905
    @shakhzodgayratov5905 6 месяцев назад +1

    Love it mate! Didn't know this before! Thanks

  • @GururajSudhindra
    @GururajSudhindra 9 месяцев назад +1

    this was helpful, Thank you, hope to see the second part soon

  • @vastargazing8957
    @vastargazing8957 8 месяцев назад

    Pretty awesome! Thanks. We're waiting for more videocss.

  • @killham1337
    @killham1337 8 месяцев назад +1

    Very useful, very straightforward and with the subtitles to the vide you have definitely earned a sub

  • @kirksurber7262
    @kirksurber7262 8 месяцев назад

    I'll be trying a few of those! Thank you!

  • @coder5336
    @coder5336 9 месяцев назад +5

    You are the best man. I learned to design with your tutorials

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

    Big yes for transforms and perspective, definitely will be an engaging one, pls do a tutorial on that

  • @vishnusidharth9309
    @vishnusidharth9309 8 месяцев назад +1

    Yess! Tutorials on perspective will be very useful!

  • @BlenderModeling-yd5ft
    @BlenderModeling-yd5ft 3 месяца назад

    This is awesome! Thank you so much for the information!

  • @ClipperRoad
    @ClipperRoad 22 дня назад

    Awesome, thank you the tips are very helpful!

  • @buraksurumcuoglu8303
    @buraksurumcuoglu8303 9 месяцев назад +1

    Very informative video, learned a lot myself. Thank you for providing the quality content as always.

  • @Deatomized
    @Deatomized 8 месяцев назад

    Awesome and simply shown. Thank you !

  • @Sam-mn4vl
    @Sam-mn4vl 9 месяцев назад

    Great video! I learnt a lot. Would love to see another one or a video on perspective.

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

    Just found your channel... Awesome! Thank you for the cool videos they are fantastic for an aspiring web dev.

  • @mohdali-yq8gq
    @mohdali-yq8gq 9 месяцев назад

    You always bring great contents. Your explanation is matchless.

  • @emersonguerra2772
    @emersonguerra2772 Месяц назад

    Man, thank you so much for this! I was looking on how to do this clipping path animation for almost a year and I just don't knew what to look for!

  • @gouravkumar772
    @gouravkumar772 Месяц назад

    Life saver video, clear and precise 👍✨

  • @aniefiokasuquo4781
    @aniefiokasuquo4781 7 месяцев назад

    This is kinda great...just answered so many "hows" questions have been asking since
    Thanks

  • @junog5552
    @junog5552 9 месяцев назад +1

    As always, wonderful informative tutorial 🙏

  • @alvin942
    @alvin942 9 месяцев назад +2

    OMG thank you for reveal these knowledges to us. Those are exactly the reason I want to follow into this industry

  • @altantois
    @altantois 7 месяцев назад

    Very simple explanation, thank you!

  • @mightydawnweb
    @mightydawnweb 4 месяца назад +1

    Thank you for the great tutorial! Also, cute video at the end there! 😂 Subscribed

  • @gamingbyweek9411
    @gamingbyweek9411 3 месяца назад

    Thank you very much for sharing those tricks!

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

    thanks a lot for this video dude I was totally unaware of this css tricks
    and if possible I would like to see more parts of this video

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

    Amazing content honesty. Thanks very much Lama Dev

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

    Awesome,
    Please make more videos on different CSS Properties and Values. It is really really helpful to understand the concepts of those advanced CSS Properties and Values.

  • @GameVerse215
    @GameVerse215 8 месяцев назад

    this is one of the best video i ever learnt about css .... thanks alot

  • @nayanbiswas370
    @nayanbiswas370 8 месяцев назад

    Owww Thanks a lot.... thats really Cool!! And with much details..cant wait for part2

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

    Nice work good to have you back

  • @joinglobalnetworks
    @joinglobalnetworks Месяц назад

    This is so great tutorial, THANK YOU so much.

  • @NedumEze
    @NedumEze 8 месяцев назад

    Waiting for part 2. Thanks, Lema dev.

  • @lazolabucwa8821
    @lazolabucwa8821 8 месяцев назад

    I subscribed before reaching the end of the video. You're a great teacher!

  • @cariyaputta
    @cariyaputta 27 дней назад

    Love these videos. Thanks so much.

  • @ctaylor960
    @ctaylor960 8 месяцев назад +16

    Been using CSS for years and these tips are new. Thank you.

    • @stuntersagar5212
      @stuntersagar5212 7 дней назад

      Is html css js is enough to get a 5 lpa job ??

  • @markcooke4866
    @markcooke4866 8 месяцев назад

    Great tips! I wish I knew before, but thanks to you I now know.

  • @muawiznasir4926
    @muawiznasir4926 5 месяцев назад

    Thank you, Lama Dev. That's such a nice video. I love it.

  • @alainroos5383
    @alainroos5383 6 месяцев назад

    Great job as usual ! Thank you! For some reason, I couldn't get the captions to appear on Chrome but it worked fine on Safari.

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

    what a good tutorial 🙌 ....... thanks so much , i would love to see the second part

  • @PLUS-sj4sf
    @PLUS-sj4sf 8 месяцев назад

    Thank you so much!!!!! awesome video! Yes please, these type of practical videos are amazing, would be great to focus more on each title with different examples! thanx a million

  • @samiransari-fg6kx
    @samiransari-fg6kx 9 месяцев назад +1

    What an amazing secrets you reveal today,
    Please continue this series>>>>
    Thank you

  • @user-zs9sx4wd2m
    @user-zs9sx4wd2m 2 месяца назад

    Wow that's crazy for me right now . I like this tip ! Thanks

  • @Jrizy.
    @Jrizy. 8 месяцев назад +5

    This is amazing and incredibly helpful + well explained and demonstrated! Thank you for this.
    Please keep creating these types of videos!

    • @fleboho
      @fleboho 8 дней назад

      Stight to the point, no time wasting. Love it.

  • @tomasburian6550
    @tomasburian6550 8 месяцев назад

    Great tricks, brother. Thank you.

  • @EusebioJoveth
    @EusebioJoveth 9 месяцев назад +3

    Excelente conteúdo mestre.❤

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

    This is very helpful. Thank you lama dev

  • @journeytocoding816
    @journeytocoding816 6 месяцев назад

    Thank you sir. I havent used most of them except transition. So glad to know more about css❤❤❤❤❤❤

  • @anas980
    @anas980 2 дня назад

    Great video! Thank you

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

    I want 100parts of those kind videos ... Really awesome tutorial... Lama Dev always Rocks... I learnt Nextjs from your video as well..

  • @devshashtag
    @devshashtag 7 месяцев назад

    brooo so many useful tips! thank you

  • @jayanth704
    @jayanth704 9 месяцев назад +1

    Great video 💯Need second part too✨

  • @nihal8129
    @nihal8129 7 месяцев назад

    This video was so awesome! I love it! Thank you so much. Please make more videos like this. 🤩

  • @SoniaChavez-je7hq
    @SoniaChavez-je7hq 3 месяца назад

    New styles ! Thanks for teaching

  • @alexdin1565
    @alexdin1565 8 месяцев назад +1

    this is my first time i see your video from recommendation and it's amazing channel and content

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

    Wow Thank Lama, the video has widen my css knowledge into a whole new level :O.

  • @randre83
    @randre83 7 месяцев назад

    This is amazing l! Thanks for the video!

  • @BB-oq6uu
    @BB-oq6uu 5 месяцев назад

    Amazing tutorial... Just what I needed

  • @tubeta028
    @tubeta028 7 месяцев назад

    Hi, thanks so much, I have not known or used these tricks before. Great tutorial.

  • @Screenwave007
    @Screenwave007 5 месяцев назад

    Thank you for these tips . It's will me a lot. ❤

  • @mrgames-Will
    @mrgames-Will 7 месяцев назад

    This is amazing! Thank you! ❤

  • @magoxxii
    @magoxxii 7 месяцев назад

    So great! Thanks! 🎉

  • @LeEn-lz6lj
    @LeEn-lz6lj 9 месяцев назад

    This is amazing! Thank you so much

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

    Wow I knew clip-path before but what you did was mind blowing

  • @user-iz8du7vr4p
    @user-iz8du7vr4p 8 месяцев назад

    Thanks alot sir, we want more videos like this!!

  • @whitemadrid2838
    @whitemadrid2838 8 месяцев назад

    Owwww man You just a saved me!
    That outline of input box bothered me a lot finally get rid of it.. Thanks a lot ❤️

  • @hariprasatht9082
    @hariprasatht9082 3 месяца назад

    awesome tricks, subscribed !

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

    Wow, those tips are really usefull, thanks! 👍

  • @hardikchavada8974
    @hardikchavada8974 8 месяцев назад

    Amazing video🎉🎉. Very helpful

  • @woolgum
    @woolgum 7 месяцев назад

    Great, fun and easy to follow. More videos please. :)

  • @chrisroberts43
    @chrisroberts43 6 месяцев назад

    This is incredible! Thnak you

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

    With the video one with captions and ::cue is real;y helpful for WCAG, thanks I didn't known about that

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

    Amazing tutorial, great job 👏

  • @CodeMom
    @CodeMom 8 месяцев назад +38

    Yes please create more tutorials on animation. New subscriber here. Love your way of teaching 😊

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

    Very informative...need videos like this❤

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

    Such a cool vid! Subscribed ❤

  • @TheMetalMag
    @TheMetalMag 8 месяцев назад

    The evolution is becoming amazing

  • @torn1k3
    @torn1k3 5 месяцев назад

    bro u crazy generous with those tips! 🎉

  • @throbicon
    @throbicon 3 месяца назад

    Thank you! Very useful! 😄

  • @qasimalikan3559
    @qasimalikan3559 5 месяцев назад

    Amazing video, very useful ❤

  • @mohammedsaleh5357
    @mohammedsaleh5357 6 месяцев назад

    That's awesome I just starting learning Css and this video make me more interesting big heart bro ❤️

  • @gabrielkingori3375
    @gabrielkingori3375 2 месяца назад

    Thanks awesome,, I really love the tutorial.

  • @drawingsby_sid
    @drawingsby_sid 4 месяца назад

    This is Goldmine ! Please keep making these videos

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

    Nice, man ... specially the last one

  • @Mrameenmgm
    @Mrameenmgm 8 месяцев назад

    Useful tips, many thanks

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

    It was really helpful and i appreciate you for new tips :) see you in next one

  • @albedesigns
    @albedesigns 5 месяцев назад

    Great video! Subbed to your channel also since I'm new here lol Definitely want to see the next video!!!

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

    Thanks sir exciting about next css tips videos

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

    Thank you for all content and exlanation. You are very good teacher.

  • @huthifabakeer3023
    @huthifabakeer3023 5 месяцев назад

    It is just amazing
    Thank you so much ❤❤❤❤

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

    This is very useful and wonderful job

  • @Adam-nw1vy
    @Adam-nw1vy 9 месяцев назад

    Distilled awesomeness. Chapeau 🎩

  • @user-bn8do8ur2o
    @user-bn8do8ur2o 5 дней назад

    thank you, this is really helpful

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

    Thanks, very helpful.

  • @karnankarna8405
    @karnankarna8405 3 месяца назад

    Nice css tricks i knew css but this new and helpful development side ❤❤