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) - Наука
Second part is here: ruclips.net/video/kINNs4uYYnY/видео.html
Well done and thank you :)
I would love to know more about transform and perspective please ❤
That “has” pseudo class is a game changer
10:19 when you click the spoiler button how do you make it unblur without any javascipt
Animate it
Reverse @@mynameisjeff5971
@@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.
@@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.
@@mynameisjeff5971 umm maybe by adding onclick action to button or to change the blur lvl?
Sir, I just wanna thanks to you.
👍
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
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!
This is really helpful, I can't wait to see the second part of it. Thanks
This is amazing stuff ! Thank you for creating this content 🔥🔥🔥
Love it mate! Didn't know this before! Thanks
this was helpful, Thank you, hope to see the second part soon
Pretty awesome! Thanks. We're waiting for more videocss.
Very useful, very straightforward and with the subtitles to the vide you have definitely earned a sub
I'll be trying a few of those! Thank you!
You are the best man. I learned to design with your tutorials
Big yes for transforms and perspective, definitely will be an engaging one, pls do a tutorial on that
Yess! Tutorials on perspective will be very useful!
This is awesome! Thank you so much for the information!
Awesome, thank you the tips are very helpful!
Very informative video, learned a lot myself. Thank you for providing the quality content as always.
Awesome and simply shown. Thank you !
Great video! I learnt a lot. Would love to see another one or a video on perspective.
Just found your channel... Awesome! Thank you for the cool videos they are fantastic for an aspiring web dev.
You always bring great contents. Your explanation is matchless.
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!
Life saver video, clear and precise 👍✨
This is kinda great...just answered so many "hows" questions have been asking since
Thanks
As always, wonderful informative tutorial 🙏
OMG thank you for reveal these knowledges to us. Those are exactly the reason I want to follow into this industry
Very simple explanation, thank you!
Thank you for the great tutorial! Also, cute video at the end there! 😂 Subscribed
Thank you very much for sharing those tricks!
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
Amazing content honesty. Thanks very much Lama Dev
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.
this is one of the best video i ever learnt about css .... thanks alot
Owww Thanks a lot.... thats really Cool!! And with much details..cant wait for part2
Nice work good to have you back
This is so great tutorial, THANK YOU so much.
Waiting for part 2. Thanks, Lema dev.
I subscribed before reaching the end of the video. You're a great teacher!
Love these videos. Thanks so much.
Been using CSS for years and these tips are new. Thank you.
Is html css js is enough to get a 5 lpa job ??
Great tips! I wish I knew before, but thanks to you I now know.
Thank you, Lama Dev. That's such a nice video. I love it.
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.
what a good tutorial 🙌 ....... thanks so much , i would love to see the second part
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
What an amazing secrets you reveal today,
Please continue this series>>>>
Thank you
Wow that's crazy for me right now . I like this tip ! Thanks
This is amazing and incredibly helpful + well explained and demonstrated! Thank you for this.
Please keep creating these types of videos!
Stight to the point, no time wasting. Love it.
Great tricks, brother. Thank you.
Excelente conteúdo mestre.❤
This is very helpful. Thank you lama dev
Thank you sir. I havent used most of them except transition. So glad to know more about css❤❤❤❤❤❤
Great video! Thank you
I want 100parts of those kind videos ... Really awesome tutorial... Lama Dev always Rocks... I learnt Nextjs from your video as well..
brooo so many useful tips! thank you
Great video 💯Need second part too✨
This video was so awesome! I love it! Thank you so much. Please make more videos like this. 🤩
New styles ! Thanks for teaching
this is my first time i see your video from recommendation and it's amazing channel and content
Wow Thank Lama, the video has widen my css knowledge into a whole new level :O.
This is amazing l! Thanks for the video!
Amazing tutorial... Just what I needed
Hi, thanks so much, I have not known or used these tricks before. Great tutorial.
Thank you for these tips . It's will me a lot. ❤
This is amazing! Thank you! ❤
So great! Thanks! 🎉
This is amazing! Thank you so much
Wow I knew clip-path before but what you did was mind blowing
Thanks alot sir, we want more videos like this!!
Owwww man You just a saved me!
That outline of input box bothered me a lot finally get rid of it.. Thanks a lot ❤️
awesome tricks, subscribed !
Wow, those tips are really usefull, thanks! 👍
Amazing video🎉🎉. Very helpful
Great, fun and easy to follow. More videos please. :)
This is incredible! Thnak you
With the video one with captions and ::cue is real;y helpful for WCAG, thanks I didn't known about that
Amazing tutorial, great job 👏
Yes please create more tutorials on animation. New subscriber here. Love your way of teaching 😊
Very informative...need videos like this❤
Such a cool vid! Subscribed ❤
The evolution is becoming amazing
bro u crazy generous with those tips! 🎉
Thank you! Very useful! 😄
Amazing video, very useful ❤
That's awesome I just starting learning Css and this video make me more interesting big heart bro ❤️
Thanks awesome,, I really love the tutorial.
This is Goldmine ! Please keep making these videos
Nice, man ... specially the last one
Useful tips, many thanks
It was really helpful and i appreciate you for new tips :) see you in next one
Great video! Subbed to your channel also since I'm new here lol Definitely want to see the next video!!!
Thanks sir exciting about next css tips videos
Thank you for all content and exlanation. You are very good teacher.
It is just amazing
Thank you so much ❤❤❤❤
This is very useful and wonderful job
Distilled awesomeness. Chapeau 🎩
thank you, this is really helpful
Thanks, very helpful.
Nice css tricks i knew css but this new and helpful development side ❤❤