
Learn media queries and flexbox to build responsive websites, master breakpoints and layouts, explore property conflicts, and use git commands to clone, connect, and push changes to GitHub.
Install Visual Studio Code on your operating system, open a flexbox project folder, install the Live Server extension, and enable live reload so HTML changes auto refresh in the browser.
Leverage Flexbox, introduced in season three, to align and distribute space among multiple boxes across devices, delivering powerful alignment capabilities without floats or absolute positioning complexity.
Learn how the universal selector resets margin and padding to zero and use box-sizing border-box to fix the box model, keeping element width consistent even with padding or borders.
Style the boxes inside a container, differentiate them with sizing and a background color, and preview how flexbox can arrange these elements to match the design layout.
Learn to apply display: flex on the container to turn its children into flex items, automatically divide space into three parts, and align them; understand flex properties and directions.
Explore how flex direction controls the order of three child items in a flex container, using row, row-reverse, column, and column-reverse to rearrange layout.
Explore how flex grow and flex shrink distribute space among flex items using the shorthand flex property, making one box occupy two, four, or more units.
Explore how to create equal spacing between flex items by setting each item width and using justify-content: flex-start on the container for horizontal alignment.
Explore how justify-content governs flex item alignment by applying flex-start and flex-end properties, observe space distribution, and learn how items move along the main axis.
Explore how Flexbox centers content by using justify-content: center, removing side space, and aligning items in the middle, with a reference to Bootstrap container.
Apply justify-content: space-around to a flex container to create space around each item, revealing equal left and right gaps and how flex items distribute.
Experiment with justify-content: space-between to create space between items while eliminating edge gaps. Understand how flex-direction, especially column, changes the behavior and requires adjustments for the flex container.
Discover why the float property can cause collapsed heights and overlap, and learn how flexbox keeps layout stable without clearfix, ensuring content independence from element size.
Move a box down vertically using flexbox, placing it at the bottom and aligning the content vertically with other items.
Explore how align-items: flex-start in a flex container pins items to the top, using a 30 percent height and padding to control vertical space.
Center flex items vertically using the center value to create space at the top and bottom.
Compare flex basis with width on flex items for clearer understanding of responsiveness. Set flex-basis to 30 percent to achieve the same effect as width.
Apply media queries to make the layout responsive by switching the container's flex direction to column under 768 pixels, stacking items and removing unnecessary center alignment.
Explore flex wrap layout creation by building a flex container and applying the wrap behavior to arrange items. Follow live markup generation, coding in Visual Studio Code, and preview results.
Style the flex layout by sizing each box to 100 pixel height with 10 pixel margins, centering text, and applying background colors, then prepare to apply flex to the container.
Set up a flex container with display flex and row direction, then enable flex-wrap for responsive wrapping and equal-space portfolio projects that adapt to screen size.
Leverage flex property to create equal spaces and centered alignment for responsive layouts, using justify content options. Achieve a screen that remains responsive without media queries, showcasing flex power.
Explore how to create a single, responsive website that adapts to laptops, tablets, and mobile devices using css media queries, ensuring menus and layouts adjust across devices.
Transform a non-responsive website into a responsive design with CSS3 media queries, starting from an unresponsive layout and adapting the container, text, and image as screen size changes.
Create a basic HTML skeleton with boilerplate, set up an index.html, add a title and sections for text and image, and plan a non-responsive page style for the next video.
Learn to style a non responsive page using flexbox, reset margins and padding, and adjust font size and font family for a clean start. Place text and image side by side with display flex, justify content center, align center, and fine tune padding and spacing to improve the layout.
Implement media queries at multiple breakpoints to make websites work on desktops, laptops, tablets, and mobile devices, ensuring responsive layouts and cost-efficient maintenance.
Master responsive layouts using media queries up to 768px, switching containers from flex to block, setting images to 100% width with auto height, and ensuring elements wrap on smaller screens.
Adjust responsive layouts using media queries for device widths up to 468 px. Override image padding, font size, and color for mobile to maintain readable, spaced layouts.
Apply responsive styles for devices at least 1024px wide, using media queries to adjust text color and background for laptops and desktops.
Apply a combined min-width 769px and max-width 1023px media query to make the page responsive. Transform typography and background color within that range to see device-specific behavior.
Create a GitHub account and a new repository with a chosen name. Learn how to commit a local folder to GitHub using the available options.
Initialize a git repo, add, commit with a message, and push to a remote repository. Learn token-based authentication to securely manage who can modify or view your code.
Create a repository and generate a personal access token in GitHub settings. Use the token to set the remote origin and push local code to the repository.
Set up a local git repository, stage and commit changes, and push to a GitHub master branch; clone a remote repository to retrieve code.
Set up an HTML and CSS layout using rows and columns, create a folder and boilerplate code, and link files to prepare the grid-based layout for styling.
Master HTML and CSS layout by creating glass containers, zeroing root margins, centering boxes with auto margins, setting the container to 90 percent, and applying background and text colors.
Apply background colors to six boxes to visualize the layout, using blue, orange, green, and white. Observe the single-line arrangement before the next video covers grid application.
Apply display grid to a container by defining grid template rows and columns to create two rows and three columns with 120px heights and widths.
Learn to use fractional units (fr) in CSS grid to make a column occupy the full width and evenly distribute space in responsive layouts.
Apply grid-column-gap and grid-row-gap to create gaps between columns and rows in CSS grid layouts, producing responsive spacing and clear visual separation.
Master shorthand grid styling by using repeat to create two rows of 120px and three columns of 120px, and use 1fr to fill remaining width and height.
Learn the shorthand for grid row and column gaps, using the gap shorthand to set precise spacing and reproduce the same layout with concise syntax.
Explore row lines and column lines in CSS grid, and learn how to realign grid elements by adjusting their positions in the grid template.
Learn to move a grid item by applying start and end positions for rows and columns, using grid lines and column lines to place the box precisely.
Learn to use the row and column shorthand to position grid items, span full width with start/end or minus one, and control a box in CSS grid.
Learn how CSS grid auto rows give implicit height to unstyled boxes, while explicitly setting height and width on items yields a neat, balanced layout.
Use css grid to build a responsive layout without media queries by applying repeat(auto-fit, minmax(120px, 1fr)) so each column adapts to the available space.
In the course, you will learn all the concepts of flexbox and media queries.
We will learn all the concepts with the help of code examples.
Following are the topics we will cover:
1.1-Installing VS Code and Server extension
1.2-Introduction to Flexbox
1.3-Setup index.html and style.css files
1.4- Reset margin padding box-sizing on universal operator
1.5-Styling the Boxes
1.6-Apply display flex on parent
1.7-Flex Direction row row-reverse column column-reverse
1.8-Flex grow shrink
2.1-Justify Content Flex Start
2.2-Justify Content Flex End
2.3-Justify Content Center
2.4-Justify Content Space-Around
2.5-Justify Content Space-Between
3.1-Why you should not use Float property
3.2-Align Item Flex End
3.3-Align Item Flex Start
3.4-Align Item Center
3.5-Flex Basis same as Width on Flex Item
4.1-Responsivesness with Media Query
4.2-Flex Wrap Layout Creation
4.3-Styling the Flex layout
4.4-Making Screen Responsive with Flex Wrap
4.5-Enhancing the responsiveness
1.1-What is meant by Responsiveness
1.2-Example Non_responsive website
1.3-Creating HTML Skeleton for non-responsive website
1.4-Styling the non responsive page
2.1-Different Device break points
2.2-Make Responsive in device upto 768px
2.3-Make Responsive for device width upto 468px
2.4-Make Responsive for device width above 1024px
2.5-Making Responsive between 769px and 1023px
Creating account on Github
Installing Git bash
Creating github token and connecting from local
Using git commands to commit and push our local code
You will get the complete source code