How to build complex layouts using CSS Flexbox and Grid - Part 1 of 3

  Рет қаралды 61,724

HackerEarth

HackerEarth

Күн бұрын

Пікірлер
@workingTchr
@workingTchr Жыл бұрын
Flexbox is nothing new now (2023), but this video was very helpful. Essentially you start from the outside and work inward. And to get it responsive, we basically switch between 'column' and 'row' as the flexbox direction of our containers.
@Elregar71
@Elregar71 7 жыл бұрын
Dude, I learned more here than 3 months of school. Thank you.
@heckyes
@heckyes 7 жыл бұрын
Grid reminds me a lot of my beloved . I might actually get back into front end now.
@tsmspace
@tsmspace 5 жыл бұрын
Thank you so much, I'm a complete newb and following various youtube or udemy videos, but this video was very important for me, as so many videos jump past this material into bootstrap, . This is an excellent code-a-long, one of the best, most clear and explicit I've followed. I just wish I could review the code more easily than wiping the video slider.
@hansschenker
@hansschenker 7 жыл бұрын
Very straight forward sample for flexbox layout!
@knitelite4894
@knitelite4894 7 жыл бұрын
Discovered an issue when trying to follow this tutorial on Codepen. Since you have a CSS style sheet and a Flexbox style sheet separately, it doesn't affect .pf-grid-item:last-child bottom margin. Had me stumped for quite a while. Other than that this is a lovely tutorial. Thank you for your time.
@ilonkaivanova9404
@ilonkaivanova9404 7 жыл бұрын
This video is amazing!!! Thank you very very much! Flex is no more a mistery for the ones who were still floating ;)...
@r.j.schodowski5699
@r.j.schodowski5699 6 жыл бұрын
This is very helpful, thank you! Just wondering, is there a repository with the files you use so we can practice along with you? Thanks again.
@josemaesgm
@josemaesgm 7 жыл бұрын
Excellent video, gran vídeo muchas gracias
@vincesanchez7790
@vincesanchez7790 6 жыл бұрын
Very helpful video this man is a gem :)
@dnahomeremodelingandrepair4373
@dnahomeremodelingandrepair4373 7 жыл бұрын
You had 2 div's named pf-content, one was the outer-wrapper and one was also named pf-content within the container. Later you have the outer-wrapper renamed pf-container, am I correct or missing something?
7 жыл бұрын
yes, you are right. Not good tutorial as it might be, there are gaps in the code, not well explained, confusing from time to time.
@ilonkaivanova9404
@ilonkaivanova9404 7 жыл бұрын
In this real life coding video it is actually helpful to see the process of clearing things out, constantly changing to the best result for UX...
@no1TFKfan
@no1TFKfan 3 жыл бұрын
Oh thank god you noticed that. I was so confused what wasn't working! Thought I had made a mistake lol
@JamesTaylor-vx4vu
@JamesTaylor-vx4vu 7 жыл бұрын
Hey, is there any reason in particular that you decided to use "flex-wrap: wrap" to align the grid items vertically instead of setting the flex-direction to column?
@jared394
@jared394 7 жыл бұрын
Excellent video, where can we find parts 2 and 3? Thanks!
@HackerEarthInc
@HackerEarthInc 7 жыл бұрын
+Jared Hensley We will be releasing that soon, stay tuned!
@MaxPicAxe
@MaxPicAxe 7 жыл бұрын
I've been trying to find out how to make a portfolio with fixed sidebar in css grid layout! I really hope this tutorial gives me the solution...
@gaogao_yanjiu
@gaogao_yanjiu 6 жыл бұрын
Where can I find the source code?
@andrescramosm
@andrescramosm 7 жыл бұрын
what is the difference in using vw units or percetange values?
@LopogaX
@LopogaX 7 жыл бұрын
vw and vh is relative to the viewport and percentage is relative to the size of the parent element
@tedshapera8062
@tedshapera8062 7 жыл бұрын
Great Video, but I'm stuck! I've checked my pf-flex.css over and over but it just won't do the sidebar on the right at >900px. Have I just gone code blind? In Dev Tools it shows the "flex: 35vw;" at > 900px but its not displaying it! Apologies in advance if its something obvious! @media only screen and (min-width: 901px) { .pf-sidebar { flex: 35vw; } .pf-content { flex: 65vw; } .pf-grid { display: flex; flex-wrap: wrap; } }
@katieangelopoulos4706
@katieangelopoulos4706 2 жыл бұрын
I'm having the same problem 4 years later...
@tedthetutor4587
@tedthetutor4587 2 жыл бұрын
@@katieangelopoulos4706 Well Katie, maybe its not us!!!
@sumahassan7326
@sumahassan7326 5 жыл бұрын
hi thanks a lot to make to understand how to make complex layout but can you teach us full cose of web development
@StephanieLoveful
@StephanieLoveful 7 жыл бұрын
Is this better then bootstrap 4 ?
@DavidJeffreyOConnor
@DavidJeffreyOConnor 7 жыл бұрын
Significantly (IMO). This is native CSS and does not require the end users browser to dl the bootstrap files. Some say that performance hit is mitigated by using CDN, so maybe the point is moot. Bottom line is, bootstrap is a great way to make a page responsive, but being able to create and maintain responsive layouts in native CSS has a lot of advantages in both performance and maintenance. Juicefulll is right - the biggest problem right now is the compatibility in browsers for grid. My advice - learn grid now and take advantage of how good it is in the future. I personally love the way you can define a grid and control the positioning of items using grid template areas.
@LesDunning
@LesDunning 7 жыл бұрын
Bootstrap websites tend to look the same, or at least very similar. Flexbox seems to give lots more freedom.
@vim1000
@vim1000 6 жыл бұрын
Thanks a ton.
@designdaddy4112
@designdaddy4112 7 жыл бұрын
You are awesome :)
@HarpreetSingh-cz2zh
@HarpreetSingh-cz2zh 7 жыл бұрын
use emmet for dom creation so much faster
@shashwatasati8391
@shashwatasati8391 7 жыл бұрын
Powerful videos by you. Can I know your name and contact?
@mikezcooler
@mikezcooler 6 жыл бұрын
Nice
@kaszakaria1996
@kaszakaria1996 7 жыл бұрын
thanks man (y)
@poorvajanbandhu7039
@poorvajanbandhu7039 5 жыл бұрын
The reason why I :thumbsdown: this video is because 1) I don't care about how you set up your local environment to serve up files 2) I don't care about prettifying my view with font families, line heights and font colors and all that jazz. 3) There is so much moving around, you lose track. Your content might be all great and from the end result that you're trying to achieve, I can tell that this video tutorial will be immensely helpful. But I have been watching multiple tutorials back to back to learn the various difference nuances of the grid layout, and I can safely say that in the time that you type out all your CSS and move things around, I may have learnt 3 new grid concepts in another tutorial. I don't mean offense and this is just genuine feedback :-)
@mathislove3722
@mathislove3722 5 жыл бұрын
No offense. the content of your tutorial is good but you spend too much time on things that are irrelevant. The pace of your tutorial is extremely slow. I upvoted it anyway because I think you're trying your best to be as helpful as possible but I think you're trying too much.
@ladymiriah1692
@ladymiriah1692 7 жыл бұрын
You can't close that stupid "message" box in the bottom right corner because of the icon you have over it! Beyond annoying and you need to fix the problem!
@poetkifaya
@poetkifaya 7 жыл бұрын
Just go into full screen or theater mode....
@oussamacheta7106
@oussamacheta7106 5 жыл бұрын
is the code in the video available ?
Start using CSS Grid Layout by Rachel Andrew
56:09
Devoxx
Рет қаралды 35 М.
Жездуха 42-серия
29:26
Million Show
Рет қаралды 2,6 МЛН
Using Flexbox + CSS Grid Together: Easy Gallery Layout
8:52
Layout Land
Рет қаралды 112 М.
How to make shapes with CSS
18:35
Kevin Powell
Рет қаралды 353 М.
Before and After pseudo elements explained - part one: how they work
9:08
Flexbox CSS In 20 Minutes
19:59
Traversy Media
Рет қаралды 1,8 МЛН
Math Olympiad Problem | Geendle
12:46
Geendle
Рет қаралды 10
CSS Grid Layout - Rachel Andrew | February 2017
59:15
Frontend NE
Рет қаралды 58 М.
CSS Grid Course
1:02:44
freeCodeCamp.org
Рет қаралды 480 М.
The Dome Paradox: A Loophole in Newton's Laws
22:59
Up and Atom
Рет қаралды 193 М.
5 TIPS to Build Your Acting Brand - Stay Relevant and Get Noticed
7:04