
Master css flexbox to build responsive layouts, learn all properties, and complete a project featuring holy grail layouts, header menus, equal-height columns, and a horizontal masonry image gallery.
Create a flexbox container by selecting the elements to control, wrapping them in a container, and setting the display to flex to see how flex items align and resize.
Explore how flex container flow establishes the main axis and cross axis, and how properties like justify-content affect the main axis in row or column layouts.
Explore how the flex flow property sets the main and cross axes and accepts row, row reverse, column, and column reverse to control item order and alignment.
Apply the flex wrap property to flex box containers to wrap items onto the next line when space is insufficient, preventing overflow in responsive design; explore wrap reverse.
Explore how justify-content shapes alignment on the main axis by distributing remaining space with flex-start, flex-end, center, space-between, and space-around, also usable vertically in a column layout.
Explore how justify content behaves when the flex flow is row reverse or column reverse, demonstrating horizontal and vertical alignment changes with flex start and end.
Demonstrate how align-items controls flex container items along the cross axis, including flex-start, flex-end, center, and stretch, with row and column flows; compare to justify-content.
Learn how align-self applies to a single flex item to override align-items using values like flex-start, center, and stretch. See how this differs from aligning all items with align-items.
Control how multiple lines in a flex container are distributed using the align-content property, with values like center, flex-start, flex-end, space-between, and space-around to arrange lines.
Learn how the order property reorders flex elements without changing the source order, using default zero, positive values to shift items, and negative values to place an item first.
Explore how flex grow controls width in a row and height in a column, how remaining space is distributed, and how to make a single item expand.
Discover how flex shrink property governs how flex items shrink when space runs out, with default 1, zero or higher values, and how flex-wrap wraps items to the next line.
Define the flex basis to establish the initial main size of a flex item before space distribution, acting like width and accepting pixels, percentages, auto, or zero for equal widths.
Start using flex box to build two real-world menus with the properties learned in the previous videos, using the startup HTML, CSS, Font Awesome, and Google Fonts files.
Build a simple menu with flexbox by creating HTML markup and CSS styles, add hover effects, and achieve a responsive layout using flex-wrap, justify-content, and flex-grow.
Create an advanced, responsive menu with flexbox by building nav markup, combining icon and text groups, and using media queries to wrap and resize for desktop and mobile.
Learn to build a flexbox project, centering header content, creating equal-height post columns, reordering elements, and implementing a horizontal masonry image gallery with modal navigation and the holy grail layout.
Master the holy grail layout with flexbox by building a page structure—header, main content, sidebar, and footer—using a responsive flex container and a fixed 320-pixel sidebar.
Build and style a header with flexbox, featuring a site info block and a main menu pushed to the end by flex grow, using a mobile-first responsive design.
Build and style a posts section with article layouts using classes post half, post one third, and post full, including images, titles, and content.
Learn to apply flexbox to the post section for a responsive layout that shifts from mobile full width to two-per-row on medium screens and a staged large-screen grid with space-between.
Build the watch section by creating the watch card with an image and a watch content area to present movie info and a story.
Explore flexbox in the watch section by placing the image left and content right, centering the content vertically, and reordering the image to the right on medium and large screens.
Build and style a download section with a download card, image, content area, genre and cast details, and a rating area, using HTML and CSS with planned flexbox styling.
Apply flexbox to the download section to create a responsive layout that stacks content on mobile, centers elements, and distributes space with flex grow for side-by-side layout on larger screens.
build a responsive gallery using a horizontal masonry layout with flexbox. use flex wrap, dynamic flex-basis with nth-child selectors, and flex grow for varied yet uniform images with object-fit cover.
Create a gallery modal with a lightbox plugin by wiring css and js files. Update image anchors with data-lightbox attributes and link to full-size images for a seamless viewer.
Build a sidebar with widgets and a top rated movies list, style the menu with padding, white background, and bold links, and enable flexbox wrapping for medium to mobile screens.
Add a responsive main menu and a simple footer using a copied HTML structure and CSS, applying flexbox, hover styles, and color adjustments for desktop and mobile views.
Are you tired of using floats then clearing these floats ?
Are you tired of using positioning to achieve the layout you want and then finding out that the everything collapses when you view it on different screen sizes ?
do you want an efficient way to create complex layouts easily and quickly ?
do you want to create advanced responsive layouts using css only with just simple lines of code ?
if so then this course is for you !
In this course you will learn everything you need to know to get started using flexbox in your future projects
We will start by learning and understanding how flexbox works, because I think if you used flexbox before you might be overwhelmed by the number of new properties, we have about 11 or 12 new properties with an average of 4 potential values so it can be a little bit overwhelming to jump right in with everything,
but in this course you will clearly understand how every property works and how a specific property can be used to control the layout in different ways
I believe in learning by doing so after understanding and learning all the properties of flexbox we will get our hands dirty and we will start by building two menus, a simple single level menu and an advanced one and in this section of the course you will see every thing you learned in action step by step
One thing I put in my mind when I was building this course is that I wanted this course to stand out from other courses so I noticed that in all other flexbox courses you will just see some boxes on the screen all the time and the instructor is just moving them around using flexbox and at the end, the course will be finished and you become like "ok that was good i learned the basics of flexbox but now what? How can I use this knowledge in real world examples"
because after all the web pages are not some boxes moving around, right ? and that is exactly why I created the last section of the course.
So in this last section we will build a complete project from scratch that I built for you , and my main focus while I was building this project is how to implement every property we will learn about flexbox in this project so you get a solid understanding of what we can do using these properties in real life!
So in this project you will learn how to create many advanced different layouts like
1 - the holygrail layout
2 - you will learn how to center elements vertically easily
3 - how to build posts articles with equal heights easily using flexbox
4 - very advanced cards layouts that is almost impossible to attain without flexbox
5 - the horizontal masonry layout which is very interesting