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

  • @ro3843
    @ro3843 4 года назад +21

    I've watched a number of videos on positioning in css and this absolutely (pun) is the clearest explanation with understandable examples. anyone who doesn't get this simply isn't paying attention closely and may need to watch the video a few times over. looking forward to more of your vids!

  • @siriusgd4753
    @siriusgd4753 5 лет назад +78

    Very useful. I may have to watch again a couple times to get it set in my brain but this is the best explanation so far.

  • @Webnoob
    @Webnoob 5 лет назад +32

    The basics are always important. Thx for sharing your great content. ;-)

    • @emmittsutton3561
      @emmittsutton3561 3 года назад

      I know I'm kind of off topic but do anybody know a good website to stream newly released series online ?

  • @passingby1350
    @passingby1350 4 года назад +5

    Actually seeing people show the difference is way better than having it explained in words lol, thanks.

  • @justanothercuriouscat
    @justanothercuriouscat 3 года назад +3

    Custody is complicated when parents can't get along.
    Kidding aside, this is the best simplified explanation so far! Thank you!

  • @amalaljohari9358
    @amalaljohari9358 4 года назад +2

    It's the first time I understand the difference, thank you for the video, you're the best one who explained this topic

  • @rabiyabibi4821
    @rabiyabibi4821 4 года назад +1

    Best explanation.Understand in one attempt although watched lot of stuff before this video but could not understand.Thousands likes.Good work.Really appreciate it.

  • @alexiospapadopoulos9601
    @alexiospapadopoulos9601 4 года назад +18

    Video summarized in a few words:
    ~ Relative: Used to position the element based on the webpage's sides. (top,bottom, left, right). So when you use top: 50px; for example, you position the element 50px from the top of the whole website.
    ~ Absolute: Used to position the element based on the sides of the PARENT element. So by doing top: 50px; with this one, you are positioning the element 50px from the top of the parent element.

    • @nectarichard6775
      @nectarichard6775 Год назад

      this is what i needed

    • @w0rd735
      @w0rd735 Год назад +1

      I may be wrong but isnt it opposite?

    • @vikk1249
      @vikk1249 Год назад

      This seems opposite

  • @halifaxlithos2488
    @halifaxlithos2488 Год назад

    Addendum to my earlier expression of gratitude:
    I "thought" I understood your explanation, but I really didn't. It took me several days to figure out that one of my assumptions was just plain wrong.
    However, after watching your video a few more times, and paying attention, I was able to figure it out. So, again I must thank you.
    Thank you!

  • @shabinashukoor5430
    @shabinashukoor5430 3 года назад +3

    Thank You so much for this very clear, straight-to-the-point, no-frills, yet elegant and concise explanation. I've subscribed based on the creative intelligence and simplicity of your teaching approach on a tricky topic, based on this 1 video :)

  • @rishabhgupta2085
    @rishabhgupta2085 3 года назад

    when people say that they want good content, this is what they mean. great video

  • @Navii-CN
    @Navii-CN 4 года назад +1

    I watched many videos on position but i didn't get any clarity, but this one is good and with in 3:36minutes I got an idea on relative and absolute.. Thanks for this video.

  • @set_app
    @set_app Год назад +2

    So basic yet so essential! Much nicer explanation than GPT 😁👍🏻

  • @hosseinghanaati728
    @hosseinghanaati728 5 лет назад +98

    just made me more confused

    • @infoharvester
      @infoharvester 5 лет назад +10

      watch it a coupple times more. I had to. I got it in the end

    • @neatpolygons8500
      @neatpolygons8500 3 года назад +1

      maybe you are THAT stupid

    • @gayathri-8-i6s
      @gayathri-8-i6s 2 года назад

      Turn on the subtitles and watch;! it'll be understood

    • @superkinguniverse
      @superkinguniverse Год назад +3

      Let me explain
      Suppose you have two divs - div1 and div2
      Div2 is inside div1 ->


      So if you give position: relative to div 2 , it will be remain in lts current position, so you can use top: , left: , if you want to move the div from it's original position
      And if you give position: absolute to div2, So you have give position: absolute to div 1 also , So it (div2) will take position of div 1 , if you use top and left in this div you can see it is moving not from it's original position, it is moving from the div 1 position

    • @somadinakyrian3064
      @somadinakyrian3064 Месяц назад

      @@infoharvesterAswear

  • @slayermm1122
    @slayermm1122 Год назад

    most concise explaination i've ever watched, thanks

  • @adrianqx
    @adrianqx Год назад

    Need this once in a while to refresh my mind thanks , clear and concise

  • @yesican3073
    @yesican3073 3 года назад

    Clear explanation, no bla-bla. Great job! Thanks a lot! Like the video.

  • @deepakatmaprakash1632
    @deepakatmaprakash1632 4 года назад

    great video... better & easier explanation than all other lengthy videos

  • @andromilk2634
    @andromilk2634 Год назад

    Thanks, very clear explanation! Best so far I have found.

  • @themessagist
    @themessagist 4 года назад

    And just like that, something that was confusing me has been simplified. Awesome!

  • @mdsaddamhossain
    @mdsaddamhossain 7 месяцев назад

    Completely mind-blowing teaching! Do you have any CSS playlist?

  • @1AlejoYT
    @1AlejoYT 3 года назад

    Thank youuuuu. Crazy how something so simple can make you struggle at the beginning :D

  • @ruchitmicro8409
    @ruchitmicro8409 5 лет назад +28

    I am still confused

  • @javierpizarro7806
    @javierpizarro7806 4 года назад

    This is the simplest i have come to, thanks althought i don't feel 100% confortable i got a better more solid understanding

  • @johnconley4955
    @johnconley4955 4 года назад

    Thank you for that, so much easier to understand now I've watched it a couple of times

  • @forg_tfuI
    @forg_tfuI 2 года назад +2

    very helpful thank you 🙏

  • @shindensen6664
    @shindensen6664 4 года назад

    this is much more easier to understand compare to the previous videos i watched

  • @vivianeb90
    @vivianeb90 3 года назад +1

    By far the best tutorial on this topic!

    • @sergiohilario426
      @sergiohilario426 3 года назад

      you sure about that?

    • @vivianeb90
      @vivianeb90 3 года назад

      ​@@sergiohilario426 It's just my opinion. Do you know a better one?

  • @rejinks9489
    @rejinks9489 4 года назад

    thanks red stapler for making this video🙏

  • @awabelmahe9700
    @awabelmahe9700 2 года назад

    Great video, your explanation is very clear and consious. Thank you very much.

  • @halifaxlithos2488
    @halifaxlithos2488 Год назад

    Thank you for explaining this so well.

  • @kriziacarissepangan1590
    @kriziacarissepangan1590 2 года назад

    Clear as crystal!! Wooaah! Thank youu! God bless! New subscriber here!

  • @francisjacquart9618
    @francisjacquart9618 2 года назад

    AT GOOD LAST A CLEAR EXPLANATION! THANKS SO MUCH FOR THIS VIDEO. I HAD FORGOTTEN MY MATHS AND NOW I DO UNDERSTAND IT ALL HERE. COULD YOU ALSO DO OTHER VIDEOS ON FIXED, STICKY, ETC. THANKS...LOVE AND TAKE CARE!

  • @Acesif
    @Acesif 2 года назад

    I've been confused about this even after watching so many tutorials, but this one did the trick

  • @vinao_4558
    @vinao_4558 5 лет назад

    wow , thanks for your help! its seems to be easy, but sometimes confuses even the most experient. thank you.

  • @emmanuelfabiani8435
    @emmanuelfabiani8435 4 года назад

    Great video, great explanation....In order to fully understand though I would recommend everyone to replicate your examples in their code editor...
    Amazing Job!!

  • @marventurino
    @marventurino 3 года назад

    I understood perfectly. Thank you. All very clear

  • @pavelstreletsky1964
    @pavelstreletsky1964 5 лет назад +1

    Thanks for explaining it, i thought the parent is supposed to be relative for the absolute to work properly

  • @fathah9298
    @fathah9298 4 года назад +4

    when you realize the red stapler stapler is a white stapler, thanks for the video btw it helped alot

  • @dalewatson3978
    @dalewatson3978 4 года назад

    1:45 why the box2- absolute still in the center ? the box-1 is unset, shouldnt box-2 goes outside to the top-left of the window too ?

  • @RicardoManuelArana
    @RicardoManuelArana 3 года назад

    So then "position: relative" means the box will be placed according to where it'd had been if it was "position: absolute "?
    So "position: relative" without any extra property, will look like "position absolute"?

  • @aryyohansson2238
    @aryyohansson2238 Год назад

    awesome and quick explanation. thank you!

  • @frontend9206
    @frontend9206 3 года назад

    Best explaination i ever seen

  • @sravyasirikonda1117
    @sravyasirikonda1117 Год назад

    It is a comprehensive video, I must say!

  • @navjotsinghvirk7449
    @navjotsinghvirk7449 4 года назад

    thank you the video covers the concept brilliantly

  • @TheTaylor237
    @TheTaylor237 3 года назад

    Very nice explained. Thank you!

  • @omidasadi2264
    @omidasadi2264 3 года назад

    great video...thanks...and a question....which is better for top, bottom, left or right parameters in position absolute using? px or percent?

  • @ovcharkavg7360
    @ovcharkavg7360 4 года назад +3

    Спасибо. Доходчиво, коротко и ясно!

  • @sophiaonyoutube
    @sophiaonyoutube 4 месяца назад

    well-explained! thank you very much!

  • @wiamstudy3180
    @wiamstudy3180 3 года назад

    best explantation thank you and keep going .

  • @athatien8303
    @athatien8303 4 года назад

    Your explanation is quite clear, however, you should volume up your voice a little bit so it can be easier to be listened to

  • @life_life237
    @life_life237 3 месяца назад

    clear concise and straigth to point

  • @clintona1855
    @clintona1855 4 года назад

    Clear and concise. Many thanks.

  • @machikomacine6810
    @machikomacine6810 2 года назад

    I am on the way learning position, and then I realized that when we are using position we do need to combine with top/right/left/bottom too, is that right?

  • @kadidibwa968
    @kadidibwa968 Год назад

    Excellent explanation.

  • @DeroCodes
    @DeroCodes 4 месяца назад

    Excellent explanation

  • @atulrana1536
    @atulrana1536 3 года назад

    Sir position Absolute May Problem is coming when the positive Absolute commits his lower element to his upper body. How to fix ???

  • @mo7a909
    @mo7a909 3 года назад

    thank you this was a clear explanation

  • @walterbanda138
    @walterbanda138 6 месяцев назад

    Why isn’t box 2 attached to body when we set position absolute just as box 4. Isn’t it that box 1 has position unset ?

  • @abhimanyushekhawat2626
    @abhimanyushekhawat2626 3 года назад

    Thanks. This was really helpful

  • @olawaseem
    @olawaseem 5 лет назад

    That's a clear explanation.
    But please, can you add the whole code of CSS to the description?
    Regards.

  • @kvassbo
    @kvassbo 5 лет назад +2

    I use them alot, but know I know how they actually work. Thanks! ;-)

  • @xerxius5446
    @xerxius5446 5 лет назад +4

    oh my god! I never knew this until now. i feel like an idiot

  • @joshbakit
    @joshbakit 3 года назад

    Understandable. Thank you for this

  • @axelfoley6511
    @axelfoley6511 3 года назад

    why doesn't box 2 positions itself in the top left corner when it is set to "absolute" ? There's no positioned parent to box2...

  • @danteeep
    @danteeep Год назад

    that makes so much sense !! thanks

  • @Lack_Of_Enemies
    @Lack_Of_Enemies 4 месяца назад

    Great explanation thanks

  • @marlostraub7312
    @marlostraub7312 2 года назад

    Very helpful, thank you!

  • @muhammadbilalsharif1210
    @muhammadbilalsharif1210 6 месяцев назад +1

    Bro's Intro Music 💀💀

  • @ModernDayMania61
    @ModernDayMania61 3 года назад

    question: when you change box 4 to relative while top and left is value to 0, where would the box positioned?

  • @solomondavid210
    @solomondavid210 5 лет назад

    What video editor did you use, please

  • @teeyiheng4697
    @teeyiheng4697 2 года назад

    Thank, you clear my confusion😁

  • @YannMetalhead
    @YannMetalhead Месяц назад

    Good explanation.

  • @Lorant1984
    @Lorant1984 Год назад

    Short and sweet!

  • @ramya..6902
    @ramya..6902 Год назад

    Very clear explanation,, keep doing 👏 @@@

  • @thatmarinescienceguy
    @thatmarinescienceguy Год назад

    This seems like a really great video with well explained material.. but I can't focus on the narration as my brain picks up the music first and in a few seconds I realize I have no idea what's going on in the video... it's really hard for me to follow along... but it seems really well put together.. I got half way through.. I've paused.. gone back.. but my brain picks up the music first over the narration time and time again... Ugh! Good video though, I just wish I could watch it.

  • @joakimjocka8022
    @joakimjocka8022 5 лет назад +1

    hey can you share the source code for this turtorial, i think it would be really useful to use for testing

  • @GamerFromVoid
    @GamerFromVoid Год назад

    Is not static is the default value for position why it was set to unset bt default?

  • @smartnoobgamer8292
    @smartnoobgamer8292 2 года назад

    Crisp and clear👌👍👍👍

  • @terryrocker8681
    @terryrocker8681 3 года назад +1

    at first watch it is like Arabic, after the second watch you'll get it perfectly, if not, try the 3rd watch.

  • @AdeelAhmad0007
    @AdeelAhmad0007 4 месяца назад

    Amazing Content

  • @5hatto678
    @5hatto678 5 лет назад +1

    Great one for me.

  • @trex18369
    @trex18369 4 года назад

    Best explanation thank you very 🙏

  • @YuvrajKumar-ej8tx
    @YuvrajKumar-ej8tx 2 года назад

    Best explanation

  • @damercadoo
    @damercadoo 4 года назад

    Great explatanition , My advice: watch it from 0:28

  • @sholpikk
    @sholpikk 4 года назад

    thanks for clarification!

  • @Juan_lauretta
    @Juan_lauretta 3 года назад

    Thanks, really helpful

  • @mr_matata
    @mr_matata 5 лет назад +2

    i didn't know a parent div size could be determined by it's children div

    • @clintona1855
      @clintona1855 4 года назад

      When box-1 became only its padding, I was like whhhhhhhaaaaaaaaat......

  • @motography27
    @motography27 3 года назад

    Very useful, thank you :)

  • @yunusyasin6843
    @yunusyasin6843 3 года назад

    What a beutifull content it is very usefull man tnx

  • @nagarajutirumani8760
    @nagarajutirumani8760 Год назад

    Nice Explination

  • @lionibhrahimovic6382
    @lionibhrahimovic6382 Год назад

    I came here to clear my doubts. I now have added more and more doubts 😫😫

  • @ParitoshSinha207
    @ParitoshSinha207 2 года назад

    Well explained

  • @saulhuancasanchez8661
    @saulhuancasanchez8661 Год назад

    good job!! thanks

  • @mr.anonymous6640
    @mr.anonymous6640 3 года назад

    great bro thank you 💖

  • @himmels1875
    @himmels1875 3 года назад

    really helped me out

  • @mdafroze6123
    @mdafroze6123 Год назад

    great content.

  • @t_rm2119
    @t_rm2119 2 года назад

    Absolute is positioned to parent and relative from the original place

  • @coachingtips9686
    @coachingtips9686 3 года назад

    very good. thank you.

  • @aabubakerr37
    @aabubakerr37 Год назад

    thank you sir!