Thanks so much for this. This is the kind of tutorial we need more of .
@Flyers88106 ай бұрын
real world examples, not just isolated demos are so so so helpful! Thank you!
@dmtrmrv6 ай бұрын
Glad it was helpful!
@adhipathis125 ай бұрын
Thank you, this helped me a lot. Please keep making more videos like these. 😄
@dmtrmrv5 ай бұрын
Glad it helped! Thank you :)
@adhipathis125 ай бұрын
@@dmtrmrv Hi, I have a request. Could you please make a video about the design tokens (such as --size-1) and the essential ones needed before starting a project? Also, could you create a video discussing the CSS reset you use? Thank you!
@dmtrmrv5 ай бұрын
@adhipathis12 Thank you for the suggestion! I'll def make a video on design tokens. Stay tuned!
@adhipathis125 ай бұрын
@@dmtrmrv thanks😀
@Pharmtechie6 ай бұрын
Thanks bro💯 Keep up the good work
@writerkatya6 ай бұрын
Thank you, it helped to solve my problem!
@kristoferpersson67516 ай бұрын
This cleared a few things up for me, so thank you! 🙏 Is there a specific reason why you use "margin-block-start" instead of just "margin-top"? Subscribed!
@dmtrmrv6 ай бұрын
Happy to hear the video was helpful! Margin-block-start is a logical property, whereas margin-top is a physical one. I have a video planned about that, but in short, the first one is better because it supports different writing modes out of the box, like in the Japanese language, for example.
@lysak_coding6 ай бұрын
Damn your english is so good
@dmtrmrv6 ай бұрын
Thank you
@NedumEze6 ай бұрын
Sorry Dmitry, "site__header site-header". What's with the site-header class? Is this another flavor of BEM? Familiar BEM would have "site--header" for a Modifier as "site__header is correctly the Element's class.
@dmtrmrv6 ай бұрын
Hey @NedumEze! Great question. I think it is easier to think like this There is a `site` block: site site__header site__main site__footer And three separate blocks: `site-header`, `site-main`, `site-footer`. The first one acts as a container, like a box that holds actual `site-header`, `site-main`, `site-footer` blocks or other elements. It's perfectly fine to set margins on `site__header`, `site__main`, `site__footer` because they aren't used on their own outside of `site`. I talk more about it in this video too: kzbin.info/www/bejne/h6bblWifg6qjY5Y I know it may be a bit confusing at first, but this structure is very robust. It allows for easy swapping of components inside the header, main and footer while keeping spacing consistent. Let me know if this answers your question!
@NedumEze6 ай бұрын
@@dmtrmrv Thanks @dmtrmrv. It does. I appreciate.
@dmtrmrv6 ай бұрын
@NedumEze you are welcome!
@romanperera6 ай бұрын
margin-block* and padding-block* etc are new to me 😑