CSS Float and Clear Properties

  Рет қаралды 34,225

Steve Griffith - Prof3ssorSt3v3

Steve Griffith - Prof3ssorSt3v3

Күн бұрын

Пікірлер: 110
@sabbir4587
@sabbir4587 4 жыл бұрын
I think this is one of the most underrated channel for web development on youtube because this guy deserves more subscribers and views.reason could be what? just because he doesn't say to subscribe to his channel?
@kieranchamberlain9833
@kieranchamberlain9833 Жыл бұрын
Subscribed, as I totally agree!
@andreflrsc
@andreflrsc 4 жыл бұрын
WHAT AN EXPLANATION! This channel is just awesome! You explain the WHY when most of the KZbinrs stay on the HOW. Thank you! I will start watching your videos from now on.
@sarahj3438
@sarahj3438 5 жыл бұрын
Thank you ! Your explanations are easy to grasp :) Very clear and makes css a less stressful subject 👍🏼
@azmisudrajat
@azmisudrajat 4 жыл бұрын
Steve's CSS series is the best css course i've watched during this pandemic. Thanks.... no, million thanks actually
@brandonburks4451
@brandonburks4451 6 жыл бұрын
I enjoyed how you went through some troubleshooting steps while explaining the code. It's very useful.
@akhtar04
@akhtar04 3 ай бұрын
Thanks for uploading this video. Your clear explanation of the CSS clear property helped me finally understand it!
@digigoliath
@digigoliath 5 жыл бұрын
Thanks for an enjoyable tutorial on the concept & implementation of FLOAT. The tip on overflow:auto is a great bonus.
@kieranchamberlain9833
@kieranchamberlain9833 Жыл бұрын
Super clear! Explained everything well without presuming prior knowledge. Thank you!
@jamyjamy5403
@jamyjamy5403 3 жыл бұрын
Bro fr, u are the best, in explaining this things about websites, bro congratulations u made it ur the best, I really like your style
@laureanealcantara7298
@laureanealcantara7298 Жыл бұрын
You're a great Professor! I'm so glad I found your channel.
@youssifganni
@youssifganni Жыл бұрын
Well spoken, clear, concise, explains every detail! This is exactly what I need 👌Subbed
@josephmendes2534
@josephmendes2534 Жыл бұрын
I'm gonna follow you for the rest of my development journey
@vinodliyanage4128
@vinodliyanage4128 4 жыл бұрын
Wow❤️🔥 this channel should have more subcribers than that.ur contents are so pure and clear.even your voice is so likeable.im so lucky to find your channel. Keep it up man👏 Good luck😍
@patientson
@patientson 4 жыл бұрын
Many great overdue thanks to your family and friends. Thank you very very much. Thank you very much.
@successfulbrothers6741
@successfulbrothers6741 4 жыл бұрын
thank you, i now have a proper knowledge about the clear and float property
@Willjrba
@Willjrba 3 жыл бұрын
Pretty clear and straight forward explanation on floating property. Congrats @Steve, it helped me a lot!
@vidyasagar7531
@vidyasagar7531 3 жыл бұрын
Thank you... I have been stressing over this topic for 2 days.. thanks to you.. I'm able to understand it.....
@hirutassefagebrekidan41
@hirutassefagebrekidan41 2 жыл бұрын
I really like your lessons, very clear and easy to understand, thanks a lot for your contribution 🙏🙏🙏🙏
@arunaveerappan4749
@arunaveerappan4749 4 жыл бұрын
After going through bunch of your videos, I guess your favorite color must be gold :p . Great videos. Love them :)
@ismaildad9727
@ismaildad9727 4 жыл бұрын
far more helpful than the other videos I watched on the topic. Im now a subscriber!
@farazk9729
@farazk9729 3 жыл бұрын
Thank you so much; my wife and I just watched the video and loved the teaching! very useful and learner-oriented! Killer voice BTW!
@ThePearl178
@ThePearl178 4 жыл бұрын
Thank you for making it simple. Great Work
@mitchtembo487
@mitchtembo487 3 жыл бұрын
Like the way you explain. You keep everything simple and it's easy to follow up.
@enablepk6404
@enablepk6404 4 жыл бұрын
Much better than other videos, keep going!
@BhupinderSingh-qd6he
@BhupinderSingh-qd6he 3 жыл бұрын
Quick to the point, Soft voice and super explanation. Super subscribe and like!!
@leox4224
@leox4224 2 жыл бұрын
Clear: left -> drop below elements floated to the left. Clear: right -> drop below elements floated to the right.
@3LOKBaba
@3LOKBaba 4 жыл бұрын
Thanks for the clear explanation!
@markzait2750
@markzait2750 2 жыл бұрын
Very useful video. Very good explanation. Thank you!
@ohabkraby7774
@ohabkraby7774 Жыл бұрын
You have your explanation way really I like it most
@techrelated4
@techrelated4 Ай бұрын
Thank you so much i had hard time understanding this 2 concepts.
@mohammadraihangazi
@mohammadraihangazi 21 күн бұрын
Ohh you're brilliant man, i got help from a 6 years old video.
@zubairmuhammadjamiu4344
@zubairmuhammadjamiu4344 2 жыл бұрын
Thanks for making this simple.
@ayelamadhuri9635
@ayelamadhuri9635 2 жыл бұрын
thank you very much steve....you made things easy
@OGbigdaddom
@OGbigdaddom 8 ай бұрын
Thank you very much. very useful and concise!
@mark_tillman
@mark_tillman Жыл бұрын
Clear explanation. Awesome.
@vedinak7360
@vedinak7360 Жыл бұрын
Thank you for a great explanation!
@BradleyKisia
@BradleyKisia 3 жыл бұрын
This was very well done and explained. Thank you.
@samratgc6987
@samratgc6987 4 жыл бұрын
That felt easy Thank you You absolutely rock with the explanation.
@vipinsharma-zx9cb
@vipinsharma-zx9cb 3 жыл бұрын
Float and clear are one of the confusion topics of CSS, there are different senerios in which they behave differently, like for example if two consecutive images are floated left or right will pile up one after the another .. and when we use clear=both on them , then they will pile up on top of each other. Also please make one video on Floats / overflow=auto effects on page layout (with div's) its completely different.
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 3 жыл бұрын
See my video on clearfix about that
@samyuktharamesh5968
@samyuktharamesh5968 2 жыл бұрын
Great video! Thanks for the clear explanation
@samuelyonas2070
@samuelyonas2070 2 жыл бұрын
Thank you, this is the thing I exactly wanted to know
@lipangbenjoy8759
@lipangbenjoy8759 3 ай бұрын
Thinks sir big help in self improvement
@lulusaikou221
@lulusaikou221 2 жыл бұрын
Thank you St3v3! It's really helpful to me.❤
@icscomputer
@icscomputer 4 жыл бұрын
Thanks God, someone finally cleared these concepts to me. The one dislike is from a person who wanted to be a web developer but could not learn beyond Tags.... . The KZbin is filled with garbage, people like you are hidden gems and they are quite hard to find.
@ovoono9708
@ovoono9708 4 жыл бұрын
I was always wondering what is :auto....now I get it ;)
@PushpenderPannu1
@PushpenderPannu1 5 жыл бұрын
Nice work!!
@Aminulbd1
@Aminulbd1 5 жыл бұрын
Nice Tutorial.
@abguven
@abguven 3 жыл бұрын
Very clear explanation, thanks a lot.I just didn't understand something.When you set clear property to "both" on third paragraph why the paragraph didn't go under the image?
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 3 жыл бұрын
The third paragraph does render below the image from paragraph two with the clear values `right` or `both`. It will not change the side it is on. If I want to move it under the other image then I need to use float:right; in addition to the clear property.
@lewiduressa
@lewiduressa Жыл бұрын
Great explanation!
@hotnspicebyemti
@hotnspicebyemti 3 жыл бұрын
wow!!! it was re4ally helpful... thank you so much
@emanuelrouse7076
@emanuelrouse7076 5 жыл бұрын
Would like to work with the file you give, I've cloned the index.html. I like to work with the same assets as the instructor. Do you have a link to the deadpool image you're using?
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 5 жыл бұрын
That was just something I found online and used for a few demos. Dont have it anymore.
@harishg9429
@harishg9429 2 жыл бұрын
Thank you Steve
@TheAmeer3881
@TheAmeer3881 4 жыл бұрын
Nice job
@BradleyKisia
@BradleyKisia 3 жыл бұрын
Could you provide the links to the images and the css file referred to in the tutorial. Thanks however; was really useful.
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 3 жыл бұрын
In the description is the link to the HTML file with the CSS that I changed in the tutorial. The other file was just a few lines of basic CSS for fonts. I don't have the images or the CSS anymore.
@lunaRdeltaY
@lunaRdeltaY 3 жыл бұрын
great explained! thx bro!
@stansmith9565
@stansmith9565 Жыл бұрын
at 07:39 you do "clear: right", which is applied for the paragraph. My question here is, why does the image for the third p moves down as well, even though the clear attribute was only set for the paragraph?
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 Жыл бұрын
Because the image is inside the cleared paragraph
@stansmith9565
@stansmith9565 Жыл бұрын
@@SteveGriffith-Prof3ssorSt3v3 ah, that's right, completely missed that. Ty!:)
@noeelreeds
@noeelreeds 8 ай бұрын
Thank you for this!
@manikuttan4975
@manikuttan4975 4 жыл бұрын
Good job 👍
@Rasmusorum
@Rasmusorum 2 жыл бұрын
Thanks, what about inherit property in clear?
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 2 жыл бұрын
Clear is not inherited
@gsantos7622
@gsantos7622 Жыл бұрын
Amazing video! I do have a question tho.. How do you make it so your webpage updates automatically as you code?
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 Жыл бұрын
In VSCode it is the Live Server extension. It runs a node web server and uses web sockets to talk with the page and pass updates and they happen
@mostafahassan5366
@mostafahassan5366 3 жыл бұрын
thank you , its good and easy.
@gevorgmartirosyan8189
@gevorgmartirosyan8189 Жыл бұрын
what if in .three we remove "clear:both;" and on .one we leave overflow auto. Wont it work?
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 Жыл бұрын
Try it. The best way to learn and make sure that you understand is to experiment and see if things behave the way you expect them to.
@jetepardonne2480
@jetepardonne2480 4 жыл бұрын
thankyou
@dusan9930
@dusan9930 5 жыл бұрын
What about clearfix hack? Can you explain it? Thanks in advance.
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 5 жыл бұрын
I just added the video on clearfix studio.kzbin.info2tC4PIlEz_o/edit
@kurtthorsten4463
@kurtthorsten4463 2 жыл бұрын
great video, thank you
@Turjak_art
@Turjak_art 3 жыл бұрын
Thank you helped me a lot
@yarik83men51
@yarik83men51 5 жыл бұрын
Thx
@AK-my9sb
@AK-my9sb 11 ай бұрын
What happens if u use height instead of overflow?
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 11 ай бұрын
Height doesn't stop anything with floating. It would cause more problems by forcing an element to be a specific height
@artembublik108
@artembublik108 6 ай бұрын
thank you , very good video !!!!!!!!!!!
@keithsorrels6903
@keithsorrels6903 8 ай бұрын
Great Explanation, I even understood it. 😂. I would like to know how to have a single line of text that is centered on the image that is floated. Thanks.
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 8 ай бұрын
You can't float anything to the center. Floating means moving it to the left or right and changing how things move around it.
@keithsorrels6903
@keithsorrels6903 8 ай бұрын
@@SteveGriffith-Prof3ssorSt3v3 I think my question was not too clear. The image has a mid point on the side, half way up from the bottom of the image. A single line of text (normally) would be aligned with the top part of the image, I would like to move the text down so it is centered on the image. By the way, so appreciate the lesson and speedy reply.
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 8 ай бұрын
@keithsorrels6903 the css vertical-align property controls how and image aligns with the text on the line that it sits inside of. Again though, with float that no longer applies. The image is not part of the line anymore.
@keithsorrels6903
@keithsorrels6903 8 ай бұрын
@@SteveGriffith-Prof3ssorSt3v3Thanks a lot!
@djsamiir4025
@djsamiir4025 5 жыл бұрын
thank you k
@sameerisonvacation
@sameerisonvacation 3 жыл бұрын
Aww! 😍 Awesome, Man
@ramalsrougi
@ramalsrougi 3 жыл бұрын
Thank you so much 😍❤❤❤
@ЖахонгирУмаров-у4о
@ЖахонгирУмаров-у4о Жыл бұрын
Thank you Bro!
@nysmulerecords4465
@nysmulerecords4465 2 жыл бұрын
useful, thank bro
@Ella_1994
@Ella_1994 7 ай бұрын
JUST Perfecto!
@acedluffy5
@acedluffy5 3 жыл бұрын
very good video
@izzylin2728
@izzylin2728 5 ай бұрын
bless you sir
@m.a3968
@m.a3968 3 жыл бұрын
The perfect thank you
@fireball1433
@fireball1433 2 жыл бұрын
Thankyou ..
@tawsifrahman0
@tawsifrahman0 3 жыл бұрын
Thanks a lot
@robertartwohl
@robertartwohl 2 жыл бұрын
Thanks!
@robertartwohl
@robertartwohl 2 жыл бұрын
Learning CSS. This is the best instruction I've come across paid or free. Thanks for your efforts, much appreciated!
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 2 жыл бұрын
Thanks very much Robert!
@Peywan
@Peywan 10 ай бұрын
super!
@md.tanjilurrahman5949
@md.tanjilurrahman5949 2 жыл бұрын
❤️
@BelladoniusMonk
@BelladoniusMonk Жыл бұрын
u r dope. ❤❤❤
@afolabijosh2431
@afolabijosh2431 3 жыл бұрын
Hello
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 3 жыл бұрын
Hi.
@afolabijosh2431
@afolabijosh2431 3 жыл бұрын
@@SteveGriffith-Prof3ssorSt3v3 thanks for this video, it's helpful........
@OmarMartinez-ns1ey
@OmarMartinez-ns1ey Жыл бұрын
I like your video but you did not touch the clear property.
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 Жыл бұрын
6:50
@ancestraljo
@ancestraljo 12 күн бұрын
Great explanation!
CSS text-shadow
5:08
Steve Griffith - Prof3ssorSt3v3
Рет қаралды 18 М.
CSS Clearfix
7:00
Steve Griffith - Prof3ssorSt3v3
Рет қаралды 30 М.
When u fight over the armrest
00:41
Adam W
Рет қаралды 24 МЛН
When mom gets home, but you're in rollerblades.
00:40
Daniel LaBelle
Рет қаралды 143 МЛН
They Chose Kindness Over Abuse in Their Team #shorts
00:20
I migliori trucchetti di Fabiosa
Рет қаралды 12 МЛН
Layout Example CSS - Float, Display, Clear, Overflow properties
19:14
How to Use the New JS Object GroupBy Method
18:17
Steve Griffith - Prof3ssorSt3v3
Рет қаралды 3,9 М.
CSS Floats and Clears Tutorial for Beginners
13:08
Dave Gray
Рет қаралды 23 М.
How CSS Padding and Margin Works
6:54
Steve Griffith - Prof3ssorSt3v3
Рет қаралды 93 М.
Important differences between textContent and innerText
11:44
Steve Griffith - Prof3ssorSt3v3
Рет қаралды 2,5 М.
The secret to mastering CSS layouts
17:11
Kevin Powell
Рет қаралды 290 М.
HTML & CSS for Beginners Part 18: How Floats and Clears work
15:50
Kevin Powell
Рет қаралды 173 М.
Revealing the Differences between HTML Dialogs and the Popover API
24:14
Steve Griffith - Prof3ssorSt3v3
Рет қаралды 9 М.
When u fight over the armrest
00:41
Adam W
Рет қаралды 24 МЛН