
Masterclass introduces responsive and adaptive web design using flexbox and grid, guiding you through tens of layouts and three real-world projects to build practical, cutting-edge skills.
Explore three real-world projects in this CSS layouts masterclass: a responsive foxhole portfolio, an event grids site, and an adaptive mobile-first design. Master scalable code and hover fallbacks.
Master responsive-adaptive websites by building ten flexbox and ten grid layouts through a problem-based approach, covering blog posts, space-style navigation, personal info card, signing page, responsive gallery, and product cards.
Begin your CSS layouts masterclass by exploring flexbox layouts, project previews, and upcoming exercises. Feel relaxed as you start this journey, with a 30-day money-back guarantee.
Explore the beginner learning path to master the basics of HTML and CSS, from setup and essential HTML elements and semantics to CSS styling, layout creation, and responsive-adaptive website fundamentals.
Set up development tools by installing Google Chrome or Firefox, then download Visual Studio Code from code.visualstudio.com for Windows, macOS, or Linux; VS Code is free and extensions empower beginners.
Create html and css files in VS Code by naming them with proper extensions like test.html and test.css. Mention that web development uses HTML, CSS, and JavaScript.
Explore how to build forms in HTML, using input types such as text, email, password, checkbox, radio, and submit; understand form structure, action attributes, placeholders, and basic validation.
Apply borders to elements using class selectors with dash-separated names, and learn the border shorthand with width, style, and color to create solid, dotted, or dashed borders.
Explore how to implement background images in css, including background image, size, repeat, and overlay techniques, to create readable hero sections.
Explore css font properties by selecting font family, adjusting size and weight, and using quotes for multiword names, while applying bem naming with underscores and dashes.
Master CSS position properties from static to absolute, including relative, fixed, and sticky, and how top, bottom, left, right values affect layout.
Explore how the CSS display property shapes layouts by switching between inline, block, and inline-block, and preview flexbox and grid as future layout tools.
Learn to build a side-by-side blog post layout with flexbox, using the HTML structure of a main container and three article items, each with images, dates, titles, and ipsum.
Learn to create evenly spaced navigation links using flexbox by turning the nav into a flex container and applying justify-content: space-between to distribute space between anchors.
Build a sign-in page with a semantic form, email and password inputs, a submit button, and three social logins (Facebook, Twitter, Google). Apply flexbox with column layout, gaps, and widths.
Explore building a responsive newsletter form with flexbox: create an email input and subscribe button, set the form to 50% width, and use flex-grow to distribute space.
Explore building a modal layout with flex: structure a section with a title, paragraph, and two anchors, and adjust alignment and sizing using display:flex, flex-direction, and flex-basis.
Explore CSS grid fundamentals, comparing two-dimensional grid with flexbox, and learn grid containers, grid items, tracks, lines, and named lines to build responsive layouts.
Create a sticky footer that stays at the bottom as the viewport changes. Use a CSS grid with three rows and set main content to 1fr to fill space.
Map the sign-up page to a seven-row, six-column grid using grid template areas, placing logo, description, images, email and password fields, submit, Google sign-in, and account link.
Recreate a five-item featured product grid with images, titles, stars, and prices; leverage a two-column CSS grid and grid-auto-flow/grid-auto-rows to manage implicit items.
Create an about section using a four-column, two-row CSS grid, place two images in the first column, center the right content, and center the third image with justify-self.
Organize the services section by building a single container with a title, paragraph, and six service cards (icon, title, paragraph), arranged with flex wrap or grid using clear bem-style classes.
Organize the my works section by creating a section with a my-works class, a container for images, and nine figure elements with lazy-loaded images from images/my-works/my-work-1 to 9.
Discover how to finalize a website setup by creating reusable utility classes for section padding, titles, and paragraphs, and apply a utility-first CSS approach with flex and grid.
Set up an overall website layout with a 12-column grid and a fixed 1500-pixel container to guide sections, alignment, and responsiveness; emphasize naming grid lines and avoiding fixed heights.
Apply custom and utility classes to style a responsive services section, center the title and paragraph, and use flex and grid with minmax and nth-child borders.
Explore styling the news section in the CSS Layouts Masterclass: Build responsive-adaptive websites with flexbox and grid, featuring a subtle hover effect, responsive image handling, and a transform-based link animation.
Style the clients section as a horizontal flex container with a secondary background, set left-right padding, and size figure images with a calc-based height and object-fit: cover to prevent overflow.
Learn to make the hero section responsive with flex wrap, flexible widths, and media queries that stretch the background and optimize content flow for smaller screens.
Learn to make the footer responsive by wrapping the newsletter, quick links, and author sections with flex-wrap, adjusting flex-basis and padding through media queries for better contrast and layout.
Welcome to the CSS Layouts Masterclass
I am really excited to present to you this comprehensive and real-world oriented masterclass. This masterclass is a product of years of research and experience that will teach you all the ins and outs, all the secrets and tips of becoming a true HTML and CSS master. You will also learn how to create a modern developer workflow using Sass, a CSS pre-processor.
Prominent Masterclass Features
10 Layouts for CSS Flexbox
10 Layouts for CSS Grid
10 Exercises for CSS Flexbox
10 Exercises for CSS Grid
2 Complete Real-World Responsive Websites
1 Complete Real-World Adaptive Website
Modern Sass Workflow
Masterclass Description
I start this masterclass off with the essentials of HTML and CSS. Rather than a boring and theoretical approach, I will teach you all the essentials of HTML and CSS by creating our very first portfolio website. There are also exercises at the end of the HTML essentials and CSS essentials sections to reinforce the concepts and get you involved as well.
Afterwards, you will learn to create 20 layouts with CSS Flexbox and CSS Grid in a problem-based and practical manner. Not only that, you will also have 20 exercises to solve using Flexbox and Grid.
Flexbox and Grid are technologies that help us create stunning websites. In this masterclass, you will learn Flexbox and Grid by solving and coding layouts. I do not follow a boring approach of just going over the Flexbox and Grid without any practical aspect to them. Instead, I am going to teach you every layout in two ways.
*-*-*-*-*-*-* White-boarding Layouts with Flexbox and Grid
Firstly, you will watch me come up with the ideation of the layout in a white-boarding lecture where it is just me and a whiteboard, no computer and no vs code. I will teach you how to come up with the HTML structure for your layouts and how to differentiate among the elements to come up with strategic elements that play vital roles in the context of either Flexbox or Grid. Then, I will write the CSS code on the whiteboard and teach you how to solve that specific layout using either Flexbox or Grid.
*-*-*-*-*-*-* Coding Layouts with Flexbox and Grid
After the white-boarding lecture is done, I am going to jump into vs code and teach you all the HTML and CSS code for that layout as well. As a result, you will learn the thought process of coming up with layouts’ ideas in the white-boarding lectures and you will learn how to code them in the coding lectures.
Now that you have learned your way around Flexbox and Grid, we will code the UI of the portfolio website I taught you in the essentials sections of HTML and CSS. I will also teach you all the secrets and shortcuts to making a website look incredibly awesome and accessible on all kind of devices, big and small.
*-*-*-*-*-*-* Exercises for Flexbox and Grid
There is still something missing, and that is giving you more time to practice and hone your Flexbox and Grid layout creating skills.
You will have 20 unique and mainly e-commerce layouts to exercise for Flexbox and Grid.
Throughout the exercises’ sections, you will have a real-world opportunity to take your Flexbox and Grid to the next level. To make the challenges worth your while, I have included screenshots of all the exercises for Flexbox and Grid and there is no need for you to play any videos. Just download the resource files and work your way through the exercises. There is also one video solution for every exercise layout for you to refer to in case you get stuck.
At this point in the masterclass, you might think that you are done, you learned to create layouts with Flexbox and Grid and you know how to create a responsive website and you have also had a ton of practice and exercises.
*-*-*-*-*-*-* More Projects
But, to take your skills to the absolute MONSTER level, I have two more projects in mind. Our focus will not be on learning Flexbox and Grid anymore as you have already mastered these technologies, rather on more real-world oriented skill sets.
I will teach the thought process of a responsive website and an adaptive website. Yes, you read that right, an adaptive website. Chances are this is the first time you read about an adaptive website, because there is very limited content about it online.
*-*-*-*-*-*-* Modern Developer Workflow
Throughout the second and the third projects, you will learn how to initiate a modern developer workflow and when it comes to project maintainability and scalability. I will teach you project organization, custom properties and variables, functions, utility classes and prepossessing your CSS with Sass.
*-*-*-*-*-*-* Second Project
The second project of this masterclass is to create the UI of a multi-page, real-world and a truly fully-fledged website that is just one step away from becoming a Full-Stack App. This project is called EventGrids and is a responsive, desktop-first project in which the creation and design process of the website start off from a large screen and, consequently the screen size shrinks down. It is the largest website of the masterclass in which you will not only learn a lot of new techniques, but also take your responsive skills to the absolute MONSTER level.
*-*-*-*-*-*-* Third Project
The third project of this masterclass is an adaptive website called ZeaL. It is a single page, mobile-first adaptive website. Throughout this project, I will teach you how to design a website starting from a small screen. This approach is called a mobile-first design approach and is sought out by companies as well. The reason that this skill is high in demand is because, the process of making a website look readable and accessible on all devices becomes easier and more strategic when started from a mobile screen size. Since most of the users visit websites on their smart phones, the demand for this skill has already skyrocketed.
*-*-*-*-*-*-* Third Project Features
The ZeaL project is not done yet when it comes to teaching you cutting-edge skills. By designing and coding this project, you will also learn the adaptive design as well. Adaptive design is often confused or mixed with responsive design. But, these two techniques could not be more different.
*-*-*-*-*-*-* Responsive Design
In a responsive design, the unit values are dynamic. They are constantly changing as the viewport units are shrinking or expanding. That makes the initiation of responsive design extremely difficult.
*-*-*-*-*-*-* Adaptive Design
Adaptive design on the other hand, does not contain any dynamic unit values. It is all about static unit values. The advantage of static units over dynamic units is that static units do not change in regard to viewport dimensions.
This is a very broad topic to which I have dedicated 3 projects. By completing these projects, you will not only understand the differences between responsive and adaptive designs, but also master the design process for any kind of layout and website.
I am sure you will learn a ton of new and real-world skills that will turn into the next generation of web developers.
So, come with me and let me teach you all the cool stuff HTML and CSS can do.
Can't wait to see you in the masterclass