CSS Tips And Tricks I Wish I Knew Before

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

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

  • @LamaDev
    @LamaDev  ปีที่แล้ว +29

    Second part is here: th-cam.com/video/kINNs4uYYnY/w-d-xo.html

    • @ShawnRitch
      @ShawnRitch 10 หลายเดือนก่อน +1

      Well done and thank you :)

    • @okparaeric7637
      @okparaeric7637 6 หลายเดือนก่อน +1

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

  • @gabrielsaunders4642
    @gabrielsaunders4642 ปีที่แล้ว +122

    That “has” pseudo class is a game changer

    • @mynameisjeff5971
      @mynameisjeff5971 10 หลายเดือนก่อน +5

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

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

      Animate it
      Reverse ​@@mynameisjeff5971

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

      @@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 8 หลายเดือนก่อน

      @@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 7 หลายเดือนก่อน +1

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

  • @muhammadzohaib543
    @muhammadzohaib543 ปีที่แล้ว +70

    Sir, I just wanna thanks to you.

  • @anversadutt
    @anversadutt ปีที่แล้ว +17

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

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

    Some great tips.
    Blur for spoilers makes sense. But please don’t give the impression that blur protects sensitive information. Blurring images or text makes it hard to see on the screen. But the original text or image are available to the user in the page source. For text, screen readers would announce it like regular text. So, nobody should rely on blur styles to prevent people from seeing what was loaded into the page.

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

      Would screen readers read text with a display of none?

    • @TappinMyFoot
      @TappinMyFoot 10 หลายเดือนก่อน +1

      Screen readers would not read display:none, but would read text that has a blur style but doesn't have display:none. My point was that, for sensitive info, neither blur, nor display:none is enough to protect anything the visitor shouldn't know. If it's in the http response, the user can see it in inspect or view page source.

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

      @@TappinMyFoot ok thanks!

  • @CodeMom
    @CodeMom ปีที่แล้ว +44

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

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

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

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

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

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

    Yess! Tutorials on perspective will be very useful!

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

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

  • @arshoweo8701
    @arshoweo8701 6 หลายเดือนก่อน +1

    Watching this a few hours before exam and I’m grateful for it ❤️

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

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

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

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

  • @samiransari-fg6kx
    @samiransari-fg6kx ปีที่แล้ว +1

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

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

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

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

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

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

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

  • @mightydawnweb
    @mightydawnweb 10 หลายเดือนก่อน +2

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

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

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

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

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

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

    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!

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

    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.

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

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

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

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

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

    I love them, thank you so much. I'm glad youtube recommended your channel to me.

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

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

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

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

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

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

  •  วันที่ผ่านมา

    Thank you so much. I know it won't be justified enough because this lesson is game-changing.

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

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

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

    Best css reveal video I've ever watched not all those ones repeating same stuff everytime, u should start a tutorial or something....u know a lot

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

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

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

    For a guy who has been using CSS since the 90s, this is all mind blowing!

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

    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!

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

    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.

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

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

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

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

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

    Waiting for part 2. Thanks, Lema dev.

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

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

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

    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

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

    i think it is good to emphasise that we should never ever remove outline of an input because accessibility means a lot to some individuals

  • @WaqarAhmad-jp4mw
    @WaqarAhmad-jp4mw ปีที่แล้ว +2

    Sure would love have a detailed tutorial on perspective and creating amazing layouts using it.

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

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

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

    The video's caption in the tutorial is actually pretty neat, she just wants to watch Lama dev all day 😎

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

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

  • @ОлександрМіленко
    @ОлександрМіленко 7 หลายเดือนก่อน

    Wow! CSS is my favorite WEB technology and maybe even favorite IT technology. So powerful. so fancy!

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

    the best explanation i could ever hear before.

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

    Please more videos on "perspective" and 3d transforms. There aren't many tutorials related to these topics.

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

    Great video 💯Need second part too✨

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

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

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

    The evolution is becoming amazing

  • @mohdali-yq8gq
    @mohdali-yq8gq ปีที่แล้ว

    You always bring great contents. Your explanation is matchless.

  • @PLUS-sj4sf
    @PLUS-sj4sf ปีที่แล้ว

    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

  • @emerson-sheaapril8555
    @emerson-sheaapril8555 10 หลายเดือนก่อน +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

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

    As always, wonderful informative tutorial 🙏

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

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

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

    Awesome and simply shown. Thank you !

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

    Very simple explanation, thank you!

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

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

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

    Clip path trick taking the path from an SVG is sick 🤙🏻🤙🏻

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

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

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

    7:40 input:focus {outline: none;} alone is dangerous, because it creates accessibility issues for users who can’t use a mouse or touch device. When I want to change the blue outline, I often do something different. Like a good box shadow or outline color like you‘ve shown a bit later. But one should not get rid of a visible response entirely.

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

    Life saver video, clear and precise 👍✨

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

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

  • @BlenderModeling-yd5ft
    @BlenderModeling-yd5ft 9 หลายเดือนก่อน

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

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

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

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

    Amazing content honesty. Thanks very much Lama Dev

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

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

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

    Thank you so much for this great tutorial as a frontend developer it is JEM 💎 for me ❤❤

  • @MonkeyCute-y7b
    @MonkeyCute-y7b 8 หลายเดือนก่อน

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

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

    OMG.... you nailed the css...damn amazing....I learnt a lot from u. 2mrw M gonna practice those skills.

  • @Sam-mn4vl
    @Sam-mn4vl ปีที่แล้ว

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

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

    This is so great tutorial, THANK YOU so much.

  • @fierceplannerzzz-bh3ip
    @fierceplannerzzz-bh3ip ปีที่แล้ว

    Yes we need videos on transforms and perspective

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

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

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

    This is Goldmine ! Please keep making these videos

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

    Subscribed bro👌many powerful tools in one video

  • @MrCoder-u9y
    @MrCoder-u9y ปีที่แล้ว

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

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

    You are the best. I wish you success in this life and the hereafter.

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

    This is very helpful. Thank you lama dev

  • @official-k.i.d.u-k5750
    @official-k.i.d.u-k5750 ปีที่แล้ว

    Very Helpfulll....we need 30 days of css tricks code❤❤

  • @SoniaChavez-je7hq
    @SoniaChavez-je7hq 9 หลายเดือนก่อน

    New styles ! Thanks for teaching

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

    Great tricks, brother. Thank you.

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

    bro u crazy generous with those tips! 🎉

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

    very informative.
    Love from Bangladesh 🇧🇩

  • @Maruf_Hasan
    @Maruf_Hasan 2 หลายเดือนก่อน +1

    Caption: She wants to watch Lama Dev every day
    XD

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

    Nice work good to have you back

  • @BB-oq6uu
    @BB-oq6uu 11 หลายเดือนก่อน

    Amazing tutorial... Just what I needed

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

    This is amazing! i started with the Course HTML5 and CSS, this is really helpfull and easy to remember. Thanks for this.
    *Edit: in these few minutes, i learned more than the two months from my course. I subscribed.

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

    Tysm. Yes, Please create tutorials on animation effects, transiition and persepective.

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

    This is a masterpiece. Pls do a full tutorial

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

    That was really helpful! Thank you 🙏

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

    Thank you very much for sharing those tricks!

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

    Keep us updated with the latest trends as well as some niche skills

  • @Adam-nw1vy
    @Adam-nw1vy ปีที่แล้ว

    Distilled awesomeness. Chapeau 🎩

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

    When you upload a video it totally worth to watch and learn something new from Afghanistan🇦🇫 ❤

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

      Taliban ke kya hal h bro enjoying life 😮❤

  • @456_rider
    @456_rider ปีที่แล้ว

    Very informative...need videos like this❤

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

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

  • @johnmicheal5722
    @johnmicheal5722 5 หลายเดือนก่อน +1

    Bro sounds like Clifford and that old Grandpa from Family Guy that is always trying to groom Chris. Awesome tutorial by the way.

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

    Wooo I never thought like this, CSS is awesome 😎 Bro, Thanks 🙏 You Dear.😊😊😊😊😊.

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

    Awesome, thank you the tips are very helpful!