No video

CSS Flexbox difference between justify content and align items

  Рет қаралды 26,444

Alberto Rivas - Photoshop tutorials

Alberto Rivas - Photoshop tutorials

Күн бұрын

what is the difference between justify content and align items in css
With this you will learn how to center elements vertically and horizontally. Or how to align elements to the end or the beginning of the container vertically or horizontally
So in flexbox we have a main axis and a cross axis. When we say justify we are talking about the main axis and when we say align we are talking about the cross axis.
By default the main axis is the horizontal one, but if we say flex-direction: column; now the main axis will be the vertical one

Пікірлер: 31
@reycarrillo7016
@reycarrillo7016 Жыл бұрын
"I hope it's not too confusing" actually you did a great job of simplify it to me. thank you 👍
@sadriansaid5664
@sadriansaid5664 2 жыл бұрын
you solved my confusion in just 2 minutes. thank you
@rockygurung1107
@rockygurung1107 2 жыл бұрын
Exactly 😁
@ithikornamornkhana3348
@ithikornamornkhana3348 2 жыл бұрын
For real, it's happend to me ! 🤣
@SumanNath25
@SumanNath25 Жыл бұрын
Today I learned cross axis means cross axis. Solved the problem. Thanks. You made my day in 1 sec.
@wisdomjordan
@wisdomjordan Жыл бұрын
you have made today better. thanks much
@gorkemkayas
@gorkemkayas 5 ай бұрын
Thanks for clean expression🎉
@DannaSmile335
@DannaSmile335 2 жыл бұрын
Just 2 minutes. That's what I need, thanks
@anupamdungdung9417
@anupamdungdung9417 Жыл бұрын
Thanks this visualization helps to understand it in a simple way
@index-Bam
@index-Bam Жыл бұрын
thanks for this video. It really helped me out understanding it.
@YH-zx6zx
@YH-zx6zx 3 ай бұрын
Very helpful good job man !
@kevinrivas3202
@kevinrivas3202 Жыл бұрын
Me super confused, going through all my notes, watched some other videos prior that were 20min long each, just lost! Hit play on this video, understood it in the 1st 30 seconds.. lmfao
@jackmeister9482
@jackmeister9482 2 жыл бұрын
Thanks bro you helped me out. I was confused when adding flex-direction. Now i got it😘😘
@khatariinsaan5284
@khatariinsaan5284 3 жыл бұрын
Thanks a Lot you have Cleare my Doub't
@ManiFesto97
@ManiFesto97 Күн бұрын
I have a questions. I also did this one having a parent element and child elements. I did try to apply the display flex and the justify and align, o understand them how it works but when I input it in the code it is not working.
@perfectionchizuruoke6207
@perfectionchizuruoke6207 2 жыл бұрын
Thank you so much It was really helpful
@ISoHEoBASSIST
@ISoHEoBASSIST 7 ай бұрын
puta madre, era así de simple?! muchas gracias!
@oudinia1
@oudinia1 Жыл бұрын
Perfect, Thanks a lot, you cleard my confusion in less than 2min. (whatever :) )
@Juliamarsx
@Juliamarsx 9 ай бұрын
thank u so much, Im better at memorizing visually
@tuannguyen-tk2bd
@tuannguyen-tk2bd 3 жыл бұрын
Thanks ,great
@8xnnr
@8xnnr Жыл бұрын
I am still confused. I am doing a scrimba tutorial on React and the teacher wrote this ".header { display: flex; align-items: center; height: 65px; background: linear-gradient(90deg, #672280 1.18%, #A626D3 100%); color: white; padding: 15px 20px }" and this made the items horizontal and this should be justify content that does this?
@AionPangeo
@AionPangeo 2 жыл бұрын
Thanks
@m1nus0ne
@m1nus0ne Жыл бұрын
Why is it content in the one but item in the other?
@jasser4594
@jasser4594 2 жыл бұрын
THNX
@AkiHan.12_369
@AkiHan.12_369 Жыл бұрын
its a very good vdo but the sound quality :(
@ManishSharma-ru5up
@ManishSharma-ru5up Жыл бұрын
our voice is too low in the video to understand.. :(
@Furkanh66
@Furkanh66 3 жыл бұрын
thanks, but you can talk a little bit more spontanious. No hate
@googleassistant9796
@googleassistant9796 3 жыл бұрын
Whatever
@AlbertoRivas13
@AlbertoRivas13 3 жыл бұрын
What
@Superior-jt3wq
@Superior-jt3wq 3 ай бұрын
Nice one 🎉
Align Items vs Align Content in Flexbox
6:17
edutechional
Рет қаралды 42 М.
CSS Flexbox "align-items" vs. "align-content" - Beginner Tutorial
12:48
Front End Beginners
Рет қаралды 8 М.
小丑把天使丢游泳池里#short #angel #clown
00:15
Super Beauty team
Рет қаралды 47 МЛН
Running With Bigger And Bigger Feastables
00:17
MrBeast
Рет қаралды 164 МЛН
나랑 아빠가 아이스크림 먹을 때
00:15
진영민yeongmin
Рет қаралды 3,1 МЛН
Cute kitty gadgets 💛
00:24
TheSoul Music Family
Рет қаралды 16 МЛН
Learn CSS flexbox in 10 minutes! 💪
10:01
Bro Code
Рет қаралды 148 М.
CSS Display FLEX vs Block, Inline & Inline-Block Explained
6:46
Cem Eygi Media
Рет қаралды 165 М.
The how and why: align-items & align-content in flex and grid
12:41
Flexbox design patterns you can use in your projects
15:33
Kevin Powell
Рет қаралды 440 М.
Flexbox Tutorial - 8 - Justify content
5:19
Codevolution
Рет қаралды 80 М.
10 CSS Pro Tips - Code this, NOT that!
9:39
Fireship
Рет қаралды 2,2 МЛН
Learn Flexbox CSS in 8 minutes
8:16
Slaying The Dragon
Рет қаралды 1,5 МЛН
Three Main CSS Displays | inline, block, inline-block | Full Concept
5:08
The Amazing Codeverse
Рет қаралды 81 М.
CSS Float and Clear Properties
10:48
Steve Griffith - Prof3ssorSt3v3
Рет қаралды 33 М.
小丑把天使丢游泳池里#short #angel #clown
00:15
Super Beauty team
Рет қаралды 47 МЛН