Edit A Line CSS Changes All Design | Zero To Hero CSS Tutorial
ฝัง
- เผยแพร่เมื่อ 9 ก.พ. 2025
- In this video, join me to learn how to change one line of code to change the entire design using only html and css.
The container property shorthand CSS property establishes the element as a query container and specifies the name or name for the containment context used in a container query.
Step by Step:
00:11 Introduction Demo
01:14 Design Product Card
07:53 Container property
10:14 Supported browsers
-----
This youtube channel not only revolves around topics about website programming using HTML CSS Javascript, but also website design, ideation and implementation.
All codes are free. Sharing will help us grow faster.
#css #html #tipscss
-----
React Js Tutorial: • React JS
Design Slider - Carousel web: • Animation Card Slider ...
Design Template Website: • Parallax Scrolling Web...
Design Parallax SCrolling Effect: • Reponsive Parallax Scr...
Effect Image using HTML CSS Javascript: • How To Make Zoom Image...
Design Animation Menu Web: • Design Navigation Menu...
Design Effect Card: • How to make Awesome CS...
There are many other series: www.youtube.co...
-----
Contact With me:
Instagram: / lundev.web
Email: hohoang.dev@gmail.com
Buy me a cup of coffee by clicking the thanks button on any video. Thank you very much for your support.
An interesting line of code changes an interface, isn't it interesting? Don't forget to like and subscribe to the channel to watch new videos ❤❤❤ Thank you ❤❤
Your css and html was already legendary level from the beginning.
Woop thats great 👍
Great example on how to use @container with style, this create a lot of possibilities to organized scalable modifiers for components.
You are awesome dear, God bless you for being there to help out the new learners like me!!
Awesome, Thank you for the tutorial, very clean and neat.. easy to follow and code nesting is very well structured - Keep on growing bro.. All the support.
Thank you so much ☺️☺️😍
Hey nice video! small suggestion you should've used data-attributes instead of css variable to get the values, as that is the recommended way for the example you've shown!
You made a very important and well-crafted video with great content.
extremely interesting information, thanks for sharing! 👏
WOW 💥💥
Thanks for your content, great work as always.
Thanks a lot. Hope it will be useful 😍😍
Great work sir, you're all time fav css teacher
Awesome.
This is next level bro🎉
Keep going! amazing stuff
This is just awesome!
Just amazing!
Thank a lot sir.. very good work
Wow amazing man 👍
wonderful tutorial please
continue thanks
thanks for share. I was trying to get this shape
Really Appreciate your work, there are other ways too, like you can add a :has() attribute too, to do the same as you did with container. Another thing is that, can I get the source code please?
great, yes, has() can replace container in this case
Nice trick for the reverse radius.
For the conditional custom property, what is the interest ?
It's simpler to use a modifier class or a custom attribute, no ?
There are sectioning elements other than divs lol. But good tutorial
Can u please create a CSS tutorial to become this good 🙏🏻
THANKS BRO... APPRECIATE
From the "Zero to hero" name I know you are Indian my guy.
nope, he's cambodian, he doesn't know english
you wouldn't say that If you knew what his channel's name would sound like in India...
@@ipunitbhardwaj😂😂😂 exactly
Hes from vietnam or cambodia I guess
Not Indian. He's Vietnamese. you don't have to guess, just open the channel info and you'd see his location.
Hello We really appreciate what you do, we are constantly learning new things. Can you make a video about Woocommerce products as well, so that we can use these codes on Woocommerce products too. Hope you post more videos also about Woocommerce and possibly Elementor. Thank you
pls can you share how to do this
i love your awesome tutorial
I didn't get the purpose of style --isNew. I mean what are the benefits compared with class?
And this promo element of the card is begging to set its border radius smaller than the card border radius. Subtract gap size between card and promo from card border radius.
Your content is🔥. Please keep uploading awesome CSS content it's really helpful
Thank you so much bro 😍😍😍
How do you get the icons?
Love the design and the concept, but I don’t understand your use of @container in this case. How this is different from simply applying a data attribute or even a class to the block ? @container is really useful when you want your card to have different layouts depending on the size available. The new container style query will be useful to parse styles values outside simple booleans, but it is not yet supported in Firefox and safari.
Which extension u using plz tell
Why don't you use data-attributes ? it's not easier and clearer ?
What about translating the "Popular" and "New" texts of the content rule? Using css custom properties will work, right?
🔥
Can you write what your current topic was in VS code
why is it my popular text is working on container query but box shadow isn't working
what VS Code theme do you use?
Apart from the horrible AI voice, it’s a great content. I’m suscribing.
kindly recreate old videos in english language
🎉
Can you teach us how to do this in bootstrap 5?
Hi, could you please share this code because I couldn't find it in your website
Hello, sorry for the inconvenience. I usually do not post videos with little code on the website, so please write according to the code in the video 😥
@@lundeveloper thanks for the reply. But why I need ur code is that. I wanna implement the CSS code which u wrote for card::before, that's y came across your video. But unfortunately I couldn't achieve it. That's am asking you to provide the code. Hope don't mind
which vs code theme is this ?
I like your editor theme and fonts, would you like to share them?
Yes. I shared it in a recent video
What site are you using to generate your voices?
What's the font name?
What is the name of vs code theme you used, btw nice content bro keep it up❤new sub
can i have full source code ? I tried but it's doesn't work and i don't know where the bug is :(((
Sorry but I didn't save this source code 😥
bro do you can give me that template please
why is my vscode not vscoding like lun dev code's vscode vscodes😠
I don't know 😠
字体和主题是什么
Thanks for your content, great work as always.
😍