No video

How to Align Three Divs Next to Each Other With FlexBox

  Рет қаралды 47,309

The Wheelchair Guy

The Wheelchair Guy

Күн бұрын

In this video, I will show you how to create three divs next to each other using CSS Flexbox.
This is the easiest way to display three divs next to each other with CSS flexbox.
#css #flexbox #tutorial

Пікірлер: 62
@Paul-wo2cq
@Paul-wo2cq 4 ай бұрын
I randomly decided that it is time to learn the basics of HTML yesterday. I did not start with a tutorial or online course. Instead, I simply tried out stuff, based on random stack overflow pages and similar sources. It's still a mess right now but your videos filled a lot of gaps actually. Thank you so much, they are perfect!
@TheWheelchairGuy
@TheWheelchairGuy 4 ай бұрын
You are welcome. I am glad that my video was helpful. You can also watch my video on my KZfaq channel about how to build a website from scratch . Once again thanks
@szczotkax2800
@szczotkax2800 Жыл бұрын
you saved my ass. it helped me with my school project. Thank you so much!
@user-sy3xn8is7f
@user-sy3xn8is7f 8 ай бұрын
amazing your teach sir ...i am from bangladesh
@TheWheelchairGuy
@TheWheelchairGuy 8 ай бұрын
Thanks a lot
@foswa6335
@foswa6335 Жыл бұрын
Nice and concise, thanks for this!
@higherheights7010
@higherheights7010 2 жыл бұрын
You saved the day!! Thank you so much.
@TheWheelchairGuy
@TheWheelchairGuy 2 жыл бұрын
So glad!
@carlcantsnipe
@carlcantsnipe 9 ай бұрын
Very clear instructions. Thankyouu
@TheWheelchairGuy
@TheWheelchairGuy 9 ай бұрын
Glad it was helpful!
@ordinarypablo
@ordinarypablo Жыл бұрын
thanks dude
@TheWheelchairGuy
@TheWheelchairGuy Жыл бұрын
Happy to help
@hananfadah
@hananfadah 9 ай бұрын
Thank you so much!
@TheWheelchairGuy
@TheWheelchairGuy 9 ай бұрын
Thanks for watching
@anvayashakti2374
@anvayashakti2374 2 жыл бұрын
Thank you! good advices
@TheWheelchairGuy
@TheWheelchairGuy 2 жыл бұрын
Glad it was helpful!
@aditisingh5419
@aditisingh5419 6 ай бұрын
Thanks!! But whenever i try to write in one box, the size of blocks increase I want to place my text in the center of box Help me out!!!
@TheWheelchairGuy
@TheWheelchairGuy 6 ай бұрын
You can use text-align: center to center text
@s.s.scriptties
@s.s.scriptties 2 жыл бұрын
I'm trying to put three Canva embeds that are in a container in the center of my HTML page, But it jus won't happen... They're next to each other and everything is fine but they just won't go in the middle no matter what I write. (Help pls)
@TheWheelchairGuy
@TheWheelchairGuy 2 жыл бұрын
Try setting margin-left: auto; margin-right: auto; and display:block; for the canva embeds
@s.s.scriptties
@s.s.scriptties 2 жыл бұрын
@@TheWheelchairGuy sadly that didn't work.
@TheWheelchairGuy
@TheWheelchairGuy 2 жыл бұрын
@@s.s.scriptties send me your code and I’ll see what I can do. elcajonic@yahoo.com
@imaginarygod3116
@imaginarygod3116 Жыл бұрын
thanks!
@TheWheelchairGuy
@TheWheelchairGuy Жыл бұрын
You’re welcome
@habibasaad2853
@habibasaad2853 3 жыл бұрын
very helpful! Thank You :)
@TheWheelchairGuy
@TheWheelchairGuy 3 жыл бұрын
You're welcome!
@zakkforchilli
@zakkforchilli Жыл бұрын
The issues arise when you throw that text into each one of those divs. It overflows well before shrinking it THAT far. JUST before the range of the average new iPhone's viewport size unfortunately.
@TheWheelchairGuy
@TheWheelchairGuy Жыл бұрын
To make a text to not over flow, use the following styling: * { box-sizing: border-box; } .container { display: flex; flex-wrap: wrap; } .item { border: 2px solid; width: 33.33%; }
@milyenferi1
@milyenferi1 Жыл бұрын
Thank you!
@TheWheelchairGuy
@TheWheelchairGuy Жыл бұрын
You're welcome!
@dnyaneshwargholap12
@dnyaneshwargholap12 11 ай бұрын
Thanks 🙏
@ozarksantos
@ozarksantos Жыл бұрын
Thanks My friend!
@TheWheelchairGuy
@TheWheelchairGuy Жыл бұрын
Thanks for watching
@Waseem-arshad157
@Waseem-arshad157 2 жыл бұрын
Very Helpful😍
@marto3224
@marto3224 Жыл бұрын
Very good!
@TheWheelchairGuy
@TheWheelchairGuy Жыл бұрын
Thank you! Cheers!
@youhavetodoit9070
@youhavetodoit9070 Жыл бұрын
Thank You So Much Sir :)
@TheWheelchairGuy
@TheWheelchairGuy Жыл бұрын
Thank you for watching
@JohnMartin-cd1qm
@JohnMartin-cd1qm 11 ай бұрын
What is the quickest/easiest way to bump each one vertically to the next row as the browser width gets smaller?
@TheWheelchairGuy
@TheWheelchairGuy 11 ай бұрын
This video might help How to make a Website Responsive for All Devices kzfaq.info/get/bejne/m8Bdpq11l6y5ZIU.html
@nointro6070
@nointro6070 Жыл бұрын
thank you, sir
@TheWheelchairGuy
@TheWheelchairGuy Жыл бұрын
You are most welcome
@carolflavelle2514
@carolflavelle2514 Жыл бұрын
this worked for gmail however it doesn't work in Outlook. Any advice on how to fix that?
@TheWheelchairGuy
@TheWheelchairGuy Жыл бұрын
What do you mean? Could you please elaborate on your question
@carolflavelle2514
@carolflavelle2514 Жыл бұрын
@@TheWheelchairGuy ...So evidently I can't attach screenshots here so what I'm trying to explain is the images are aligned horizontally in my gmail account but render vertically when viewing in Outlook. Any advice on how to fix that?
@TheWheelchairGuy
@TheWheelchairGuy Жыл бұрын
@@carolflavelle2514 it means they are responsive. The images will show vertically if you view them on a smaller screen.
@carolflavelle2514
@carolflavelle2514 Жыл бұрын
@@TheWheelchairGuy ...thank you for the reply however I'm not on a small screen. I'm viewing these on a desktop monitor.
@TheWheelchairGuy
@TheWheelchairGuy Жыл бұрын
@@carolflavelle2514if you don’t want that to happen, I would use vanilla css. I have a video about playing three divs next to each other
@mohammadmehdiemamhdi1192
@mohammadmehdiemamhdi1192 3 жыл бұрын
nice👍🔥
@TheWheelchairGuy
@TheWheelchairGuy 3 жыл бұрын
Thanks for watching
@afriend8961
@afriend8961 Жыл бұрын
Just one question about divs, specifically the 'container' usage. Are pretty much all websites today using a 'container' layout with divs? Meaning is all the foreground content simply resting on top of the invisible div container? Thanks! =).
@TheWheelchairGuy
@TheWheelchairGuy Жыл бұрын
Hi friend, not all websites use container divs, but USING a container DIV helps you to have more control over the layout especially if you use media queries to make your website responsive. I hope that I have answered your question correctly
@afriend8961
@afriend8961 Жыл бұрын
@@TheWheelchairGuy Thanks, bud! Keep up the content! God bless! =).
@shrinivasmutalik7067
@shrinivasmutalik7067 2 жыл бұрын
Hi,wheelchair guy,can you do a video on how to open a third div when an link is clicked in second div. Thanks in advance.
@TheWheelchairGuy
@TheWheelchairGuy 2 жыл бұрын
Great suggestion! Stay tuned
@shrinivasmutalik7067
@shrinivasmutalik7067 2 жыл бұрын
@@TheWheelchairGuy Thanks for the ❤️!,Will be tuned in!!!
@Shokirex
@Shokirex 2 жыл бұрын
why did you use align-content ?
@TheWheelchairGuy
@TheWheelchairGuy 2 жыл бұрын
To center the content from top and bottom
@Shokirex
@Shokirex 2 жыл бұрын
@@TheWheelchairGuy I see, I'm still a bit confused about align content and align items
@lexandarthewolf9343
@lexandarthewolf9343 Жыл бұрын
Thank you so much!
@TheWheelchairGuy
@TheWheelchairGuy Жыл бұрын
Thanks for watching
Learn Flexbox in 15 Minutes
15:12
Web Dev Simplified
Рет қаралды 1,1 МЛН
Learn Flexbox CSS in 8 minutes
8:16
Slaying The Dragon
Рет қаралды 1,5 МЛН
SPILLED CHOCKY MILK PRANK ON BROTHER 😂 #shorts
00:12
Savage Vlogs
Рет қаралды 46 МЛН
Look at two different videos 😁 @karina-kola
00:11
Andrey Grechka
Рет қаралды 14 МЛН
黑天使遇到什么了?#short #angel #clown
00:34
Super Beauty team
Рет қаралды 43 МЛН
Ouch.. 🤕
00:30
Celine & Michiel
Рет қаралды 46 МЛН
Introducing Divs and controlling them with classes and ids
15:19
Make Two Divs Side by Side with CSS
4:03
ByteGrad
Рет қаралды 62 М.
The problems with viewport units
13:23
Kevin Powell
Рет қаралды 359 М.
Using CSS custom properties like this is a waste
16:12
Kevin Powell
Рет қаралды 167 М.
Avoid these 5 beginner CSS mistakes
21:38
Kevin Powell
Рет қаралды 81 М.
Learn CSS Displays in 12 Minutes | Grid, Flexbox, Inline Block, Block
12:15
Are You Making These CSS Height Mistakes?
8:54
Web Dev Simplified
Рет қаралды 127 М.
The secret to mastering CSS layouts
17:11
Kevin Powell
Рет қаралды 276 М.
The simple trick to transition from height 0 to auto with CSS
4:27
Kevin Powell
Рет қаралды 208 М.
SPILLED CHOCKY MILK PRANK ON BROTHER 😂 #shorts
00:12
Savage Vlogs
Рет қаралды 46 МЛН