CSS position properties (relative, absolute, fixed, position sticky, and floats) - Webflow tutorial

Поделиться
HTML-код
  • Опубликовано: 16 май 2024
  • Using the position property is one of many ways you can change the layout and positioning of an element to create unique web layouts. You can even specify the stacking order of positioned elements that overlap other elements using z-index.
    Here we’ll cover the values you can set for the Position and Float properties:
    00:00 - Introduction
    00:26 - Static positioning
    00:55 - Relative positioning
    03:33 - Absolute positioning
    06:15 - Fixed positioning
    10:11 - Sticky positioning
    13:17 - Floats & clears
    Note: We’re transitioning to a new UI, and are in the process of updating our Webflow University content.
    ----------
    Get started with Webflow: wfl.io/2r7cVUW
    webflow.com
    / webflow
    / webflow

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

  • @Kabarza
    @Kabarza 3 года назад +97

    No one can top these videos.

  • @MustaphaHamoui
    @MustaphaHamoui 2 года назад +103

    I swear to God, I've been doing web development for 20 years, and this is the first time I truly understand the difference between these property values...

    • @FredRosa
      @FredRosa 10 месяцев назад +1

      There should be a nobel prize for tutorials, really.

  • @brunoharari6454
    @brunoharari6454 3 года назад +81

    One of the best videos I have seen about CSS

    • @Webflow
      @Webflow  3 года назад +9

      Thank you for your kind words, Bruno!

  • @anneemerick7849
    @anneemerick7849 13 дней назад

    I love the combination of covering what is kind of a super-boring topic in a way that is informative, energetic and mildly humorous.

  • @thomasright1359
    @thomasright1359 3 года назад +60

    I've already watched like 100+ hours of content with this guy. I don't even use Webflow. Just love these videos

  • @ayushkumarchandra
    @ayushkumarchandra 3 года назад +18

    As a developer understanding css position properties took me an entire day, as a designer I learnt it in 17 minutes watching this video!
    Thanks a lot! 👍

  • @gabrielcameron
    @gabrielcameron 3 года назад +10

    I think I’m falling hopelessly in love with Webflow. This is the second Webflow employee in as many days that I have been given no choice, but to refer to as delightful.
    It used to be that the only viable way to learn something about Webflow was to watch Ran Segal over at Flux. Webflow university existed, but the content often felt like a chore. But now, now!? Webflow University is fully accredited and this man (what’s his name?) is the headmaster. Ran’s still awesome, too.

  • @VinayPateel
    @VinayPateel 2 года назад +12

    First, I'm blown away by the power of Webflow. Second, [changes z-index to make it first] your teaching is so brillant. It is exactly what's needed to make learning this complex subject fun!

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

      Glad we were able to help!!

  • @Sohailkhan2001
    @Sohailkhan2001 3 года назад +32

    I can imagine the hard work behind bringing us such amazing content.

  • @arvindravi3938
    @arvindravi3938 3 года назад +19

    This is brilliant. Thank you!! All the professors and teachers should learn from you on how to teach.

  • @anushgopalakrishnan
    @anushgopalakrishnan 2 года назад +6

    I've been trying to learn CSS properly for over 3 years now and I haven't heard a more simple and understandable explanation for positioning in CSS until this video

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

    These tutorials and a presenter is just another level !!! So great!

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

    I can't express how good that it. Glad I've stumbled upon this.

  • @joeypham1279
    @joeypham1279 3 года назад +7

    This is incredible, he made the concept of positioning so much easy to understand.

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

    Man, these are good videos. Quality in speed, script and humor.

  • @mukhammadrizoabduganiev7106
    @mukhammadrizoabduganiev7106 3 года назад +2

    Man, You taught me which my University could not. You speak like scientists with confidenceand clear explanation without any off topic. Keep doing that, you have a new follower today. Thanks.

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

    Excellent tutorial!!! Not just about Webflow, but about CSS as well.

  • @shashank4271
    @shashank4271 3 года назад +8

    The only hard part i had in webflow, now learnt✊✊✊. Thank you guys

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

    Loved the content !! It's like attending a premium quality lecture!!!!!!!

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

    These videos are outstanding, well explained, straight to the point, comprehensive and funny! Incredible. Thanks so much!

  • @JuanRojas956
    @JuanRojas956 3 года назад +5

    4 years of computer programming courses and I never understood positioning properties until now.

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

    Where has this teacher / course been all my life? Amazing.

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

    You guys are the best. Like the way you teach us about the use of your tools. More of these.

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

    After 15 years of trials and errors I finally understood this.

  • @leonardomaldonado6907
    @leonardomaldonado6907 3 года назад +2

    You guys are simply amazing. Teaching web design and dev at the same time. Learned so much from you! Greetingss from brazil 🇧🇷

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

    We rarely find any video made in such a great way

  • @FaisalAhmadNoori
    @FaisalAhmadNoori 10 месяцев назад

    This is the absolute and practical explanation of Positions. Thank you

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

    Great way of teaching. nailed it like a pro.

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

    I ABSOLUTE'y loved and CLEARly understood the RELATIVEly simple STATIC review. Your videos really STICKS. 😁😁

  • @MrSetevebien
    @MrSetevebien 11 месяцев назад

    This is BY FAR, the best explanation about positioning Web elements I ve ever watch. Is amazing we can have this kind of explanations open source, thanks a lot

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

    Great instructor, clear and entertaining.

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

    i'm just awed by technical humors in the explanation.

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

    best educational videos on the web by far.

  • @peterwolftips
    @peterwolftips 11 месяцев назад

    The guy is a literal star, no doubt.

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

    These videos make learning to use webflow a breeze.

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

    You just made my life a lot easier, thanks a lot.

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

    Where were you when I was at school?
    This is the way how teachers supposed to teach at schools. He just literally make learning so sophisticated-fun simple and no painful at all. Thank you!

  • @user-sd6pz3rh6x
    @user-sd6pz3rh6x Год назад +1

    Гримур лучший !!! только он!! всё очень доходчиво, правильно и кратко объясняет!!

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

    Thanks to this very significant course! It really helps

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

    This guy is seriously so funny! Keep up the great work with these training videos.

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

    i'm a designer who knows nothing about coding and these videos are a godsend!

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

    For real have y’all won an award yet for these how to videos?

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

      The real awards are the friends we've made along the way. ❤️

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

    Awesome! Watched out a range of videos about positioning, but this one is the most easy to grasp. Excellent! Keep going.

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

      Thank you, Firuz! We're launching lessons on positioning, layout, typography, and more - glad this one was easy to grasp!

  • @fatokifemiemmanuel8565
    @fatokifemiemmanuel8565 2 года назад +1

    you are the best, you just made my day. No better way of teaching . Consider me one of your student

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

    this deserves millions of views

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

    A very underrated video on CSS position

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

    Came to understand the positioning in webflow but understood the real CSS positioning much better!

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

    "Now ...there are far less infuriating ways to build common layouts" That was a good one!! haha

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

    Really well explained with great examples. Very straight faced delivery had me confused until the very straight faced jokes were introduced which I loved. Informative, intelligent AND Funny. Loved it 🤩🤩

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

    Excellent content and presentation. Well planned script, wry comments. Far better than the previous video I watched, with a guy seemingly winging it by demonstrating technique with no explanation.
    When/if I get through all this, I can get back to ST Insurrection.

  • @jasonitbzhao6173
    @jasonitbzhao6173 3 года назад +2

    love this guys humor

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

    Webflow.. you guys ROCK!!!!

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

    Fixed positioning... Meryl Streep is always there. Haha, best tutorials out there!

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

    This teacher is a Top G

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

    Amazing, just what i need!!

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

    Really well explained!

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

    This is just AMAZING!!!!

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

    Thank you! very useful!

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

    Better than any teacher I ever had in High School

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

    Very informative and very entertaining...this guy should present the Oscars lol

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

    Make so much sense. Muchas gracias

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

    You guys are genuinely so funny

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

    Amazing! Thanks

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

    This teacher is just amazing!!!
    What is this tool he is using?

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

    Whoever hired this guy at Webflow made a great decision.

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

    That will help me get out of my shell at parties, bring up z-index as ice breakers

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

    Man, we LOVE webflow. I can't believe I ever used wordpress.

  • @nguyenquangngoc3993
    @nguyenquangngoc3993 2 года назад +1

    this is what happens when you want to be a standup comedian but your mom want you to be a teacher :)) love these content

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

    I love Webflow

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

    Finally got it.

  • @beware5159
    @beware5159 2 года назад +1

    This guy knows his shit!

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

    Fun and educational :D

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

    On to the next video!

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

    This guy is awesome holy crap 🤣

  • @mustaqimahmed3304
    @mustaqimahmed3304 9 месяцев назад

    @Webflow
    @9:33 When i place the child dive block inside 80% of dark opacity dive block , the child element also inherit the 80% opacity so how to fix the child element opacity to 100%? In the Opacity effect the child opacity is 100% but visually its opacity is also 80% means all the body is shown behind both the parent and child element.

    • @Webflow
      @Webflow  9 месяцев назад

      Can you post a link to your project so I can see the issue?
      university.webflow.com/lesson/share-your-site

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

    This is so cool. On my blog, I have a LOT of absolute and relative positioning, and I have been told not to use it often. I'm so stuck on this, and not sure what else to do. It's a 3 column layout blog. Any advice?

  • @shahadsidek6550
    @shahadsidek6550 2 года назад +1

    Thank you for the amazing content, I just entered the WEb Development course and I would like to know what program are you using?

    • @Webflow
      @Webflow  2 года назад +1

      The app is called Webflow. You can try it now by signing up for free at webflow.com

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

    Question: Can Webflow build dynamic business directory type of websites?

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

    Knock Knock. Is this the greatest channel to learn web fundamentals?

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

    can we add ::before and ::after pseudo selectors in webflow?

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

    What is the name of program he is using? I guess , it is a good way to practice new stuff.

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

    How to make elements floating before the image? Thanks.

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

    We fucking love you. So legendary

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

    Not all heros wear capes 💪

  • @saraannpaske
    @saraannpaske 2 месяца назад

    I was like "What‽" seconds before he said " that was a terrible sentence" lol

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

    The fixed position sometimes doesn't work on elements,,,when i set some elements to fixed position, they tend to move to the top of the page and scroll out of view,,,i don't know what I'm doing wrong,,please i need assistance

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

    I'm enjoying and learning from these videos, but I have to say you guys run through the content REALLY fast. I know it's a "Crash Course" but it's faster than I can even take notes and comprehend fully at the same time. I have to go back over and over again to re-listen to the same info to make sure I'm taking accurate and relevant notes. Slowing down via the playback speed settings in RUclips helps a little, but it's more an effect of how the videos were devised to be paced in the first place. Very little "white space" to use a design term.

  • @glaDos-
    @glaDos- 2 года назад +1

    Every time someone asks me why I've switched to Webflow I show them these videos.

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

    Wow !

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

    Do these things matter: no. But yes, they do!

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

    4:25 Why? Why must a parent section be set to 'relative' in order to get its child element (that's set to 'absolute') to stay within its bounds? He seemed to have given what _he_ thought was a solid explanation for this maneuver's logic, but my head is still spinning. Yes, I understand what relative positioning is/does. I don't see why a section must be positioned relatively (within the body) simply in order to "trap" an absolutely positioned child element within itself. What's the logic?
    Thanks!

  • @goldenant9450
    @goldenant9450 11 месяцев назад

    i get nervous changing a bunch of things to relative, but now i'm wonder why isn't everything just relative by default for more control. typically things are built relative to one another so the exception is when they ignore their surroundings.

    • @Webflow
      @Webflow  11 месяцев назад

      There are a few reasons why static is the default position value for HTML elements:
      Simplicity and predictability: Setting elements to static ensures that they follow the natural flow of the HTML document. This makes it easier for developers to build web pages without needing to explicitly define positioning for every element.
      Performance: The static position doesn't require any calculations or rendering adjustments, so it can be rendered more efficiently by the browser. This is particularly important for performance-sensitive scenarios, such as when rendering large web pages or complex layouts.
      Accessibility: The default static positioning helps ensure that web pages remain accessible to assistive technologies, such as screen readers. These technologies rely on the document flow to provide a meaningful reading experience, so altering the default positioning could potentially disrupt that experience.
      While static is the default position value, developers have the flexibility to change it to other values such as relative, absolute, fixed, or sticky. These alternative position values allow elements to be positioned in different ways, enabling more complex and customized layouts on web pages.

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

    Do you have/Can you put the Webflow University OST on RUclips?

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

    ver!y nice

  • @shubhamparekh9808
    @shubhamparekh9808 3 года назад +5

    Sir can i Connect the firebase database in webflow?

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

      Here. :)
      ruclips.net/video/30AIpEnsEaQ/видео.html

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

      @@jpthedio hey John thanks for the link😊
      I have seen this video already but this is the not what am I saying you.

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

      You can with custom code.

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

      @@by_gato how?
      Can u explain in detail? Or you have sharing related example.

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

      @@shubhamparekh9808 You can check the video channel suggested above, since it also shows you how to display stuff that is saved in Firebase database. I have a programmer that connected my project to Firebase, a little complicated if you don't know coding. At the beginning we used glitch.com did all the configuration there and then pasted a javascript file inside Webflow custom code. Now we are using webpack

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

    The calculus joke got me

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

    I think my AP Calculus teacher forgot to tell me 2 is greater than 1. What a waste of tuition fee when you have webflow lol.

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

    I have to add that "Get Rickrolled" button to my website. Definitely

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

    Diffrence between-
    1.static and relative
    2. relative and absolute

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

      Hi Vansh! Great question! Here's a detailed guide on position properties in Webflow:
      university.webflow.com/lesson/position-floats-and-clear-settings

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

      @@Webflow Thanks!

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

    Can anybody tell me which CMS appears in the video? :)

    • @Webflow
      @Webflow  3 года назад +2

      Hi Roman, what you see here is Webflow: a design and development tool that lets you build entire sites without writing code. Take a look at webflow.com, and learn all about how it’s used (Interactions, animations, layout, the Webflow CMS, etc.) at university.webflow.com.