CSS Centering vs text-align

CSS Centering vs text-align

74,013 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@barungh
@barungh - 25.08.2019 16:01

Crystal clear 👌👍

Ответить
@rohil3023
@rohil3023 - 25.08.2019 20:32

amazing explanation :)))

Ответить
@sourishdutta9600
@sourishdutta9600 - 25.08.2019 21:25

Amazing Amazing!!! Nobody explains like this way.sir genius!! Need more videos like this and Thank you so much <3

Ответить
@SteveRunciman
@SteveRunciman - 25.08.2019 21:29

Steve, wanted to tell you that your videos are amazing and to thank you for providing the world with an amazing resource. Truly astonishing work.

Ответить
@fxstreamer238
@fxstreamer238 - 26.09.2019 01:52

Thats false. margin doesnt align your text. learn css before teaching it

Ответить
@naruto5437
@naruto5437 - 29.09.2019 23:37

awesome channel....better than even css books

Ответить
@GregPeters1
@GregPeters1 - 15.11.2019 20:29

Steve - you have a gift. Thank you for sharing that gift! Appreciated it...

Ответить
@21agdmnm
@21agdmnm - 04.02.2020 23:38

Just add add the box-sizing: border-box property to body element so it gets inherited to all elements, so when you use % values it will use the content box as reference without the padding and margin

Ответить
@Digmen1
@Digmen1 - 08.02.2020 12:19

What can I say, other than amazing!

Ответить
@ukaszniedziaek3097
@ukaszniedziaek3097 - 15.03.2020 02:22

u saved my night ;)

Ответить
@jennifercarpio8231
@jennifercarpio8231 - 21.03.2020 05:03

Hey Steve, I started learning this attribute today and understood it the first time! Awesome content :) thank you

Ответить
@jl-fz3um
@jl-fz3um - 28.03.2020 21:58

your voice is really comforting

Ответить
@sergogabunia
@sergogabunia - 02.04.2020 02:11

Thank you

Ответить
@thickerthoughts9107
@thickerthoughts9107 - 08.05.2020 06:47

This channel is coronavirussickly underrated.

Ответить
@idontwhy3132
@idontwhy3132 - 23.07.2020 01:09

def textAlign(parent):
applyCenteringOnText(parent)
for i in parent.children:
if type(i) != textNode:
textAlign(i)

some pseudocode that helped me visualize how textAlign inheritance might selectively ignore children nodes for centering but recurse on them for aligning their textNodes relative to the container

Ответить
@elkhanhamet2561
@elkhanhamet2561 - 27.07.2020 19:53

thanks steve!!!

Ответить
@_philani_
@_philani_ - 20.08.2020 01:24

Amazing, great explanaition

Ответить
@fbenfrank
@fbenfrank - 13.09.2020 21:42

you are a genius!!!

Ответить
@asfiaoishy6152
@asfiaoishy6152 - 24.09.2020 17:36

you're an amazing teacher..I just love the way you describe every point .

Ответить
@n9dhal
@n9dhal - 27.09.2020 10:42

Summary :
Text-align - To center the content present inside a container
Margin: 0 auto - To center the container(horizontally)

Ответить
@zinf5140
@zinf5140 - 05.03.2021 04:00

Very good explanation, thank you

Ответить
@timothyvowell4773
@timothyvowell4773 - 16.04.2021 01:06

Great explanation. Thanks

Ответить
@zaynsaifi5331
@zaynsaifi5331 - 02.05.2021 01:38

That's really helpful dude

Ответить
@rhymekidstv
@rhymekidstv - 09.06.2021 00:59

Wow! Well explained 👏. Thank you so much

Ответить
@reidwilliamson6477
@reidwilliamson6477 - 20.07.2021 04:26

This was superb, masterful work sir.

Ответить
@janaelmourad9681
@janaelmourad9681 - 29.08.2021 20:27

:))) thank you!!!

Ответить
@dela_dem1355
@dela_dem1355 - 31.08.2021 23:41

I should have found this channel earlier
Thanks sir for these useful information

Ответить
@briant9966
@briant9966 - 11.11.2021 12:19

that's great thank you very much sir

Ответить
@elikarashedi6770
@elikarashedi6770 - 22.11.2021 17:59

Such a highly pedagogical explanation of hierarchies and relations between different elements and how tweaking them will affect not only them, but also potentials child elements. So easy to digest for a beginner. You are amazing!

Ответить
@gilgameshgaming4210
@gilgameshgaming4210 - 06.02.2022 20:29

That is the kind of explation that i was looking for! Thanks.

Ответить
@durgaprasadthota2093
@durgaprasadthota2093 - 18.04.2022 20:07

Awesome tutorial, Thank you for your time

Ответить
@aaronbalaguer9614
@aaronbalaguer9614 - 26.04.2022 19:27

A detailed explanation! Thank you❤️

Ответить
@borsaba
@borsaba - 20.06.2022 07:10

your videos are really helpfull. thank you so so much!

Ответить
@md.tanjilurrahman5949
@md.tanjilurrahman5949 - 01.08.2022 16:20

Great Explanation

Ответить
@Mudi2783
@Mudi2783 - 30.09.2022 19:19

Wow, you have a very soothing voice! It's so satisfying to listen to, it's like listening to ASMR.... and learning code at the same time... This is amazing!

Ответить
@Mohammed.Ashraf
@Mohammed.Ashraf - 24.01.2023 21:31

Thank you

Ответить
@prasathj7436
@prasathj7436 - 12.08.2023 00:04

I have been looking for this everywhere and you nailed it. Thanks a lot.

Ответить
@noname_9370
@noname_9370 - 09.10.2024 14:45

Thank you very much!! This was a very useful video for me. I have a another question, do you have video about floating top backgrounds??

Ответить
@mitababii
@mitababii - 16.10.2024 12:41

Thank you

Ответить
@John-x1h1j
@John-x1h1j - 08.04.2025 00:58

margin: auto !!!!! Really, that's it. One damn word...unbelievable. Centering has driven me nuts more than once. I've been writing code for nearly 40 years, have 2 degrees, am an MCSE and MCSD since 1996 and today I finally learned about centering...WOW!!! You are the first to expose me to this. I thought there was no solution to my ;align-items: center; issue today, so I watch some videos and found you.

I'm very good at workarounds but today I learned how to do it right. Thank you

Ответить