Explore Flexbox, a one-dimensional layout tool that's finally ready to use in modern browsers
Learn the hacks to make Flexbox work for full page layouts, similar to what's done in responsive design frameworks like Bootstrap 4, Foundation 6, and UIkit 3
Discover CSS Grid, the correct way for laying out a two-dimensional design
Identify CSS Grid compatibility hacks, to make this new tool useful today
Incorporate media queries, responsive images, and other responsive design best practices into Grid and Flexbox
Combine Flexbox and Grid to create modern and future-forward layouts
For more than seventeen years, Jen Kramer has been educating clients, colleagues, friends and graduate students about the meaning of a "quality website." Since 2000, she has built websites that are supportive of business and marketing goals in a freelance capacity and as part of an agency. Jen is a Lecturer at Harvard University Extension School in the Master's of Liberal Arts in Digital Media Design, teaching at least five courses per year, advising students, and assisting in curriculum design. Jen is also a prolific video author, creating 27 training courses for Lynda.com, O'Reilly Media, and Aquent Gymnasium. She is currently creating new videos for Lynda.com, Frontend Masters, and osTraining. She is also available for individual private tutoring, customized classroom training, and occasional freelance web design work. Jen earned a BS in biology at University of North Carolina at Chapel Hill and an MS in Internet Strategy Management at the Marlboro College Graduate School.
Spend A Full Day Immersed With Jen Kramer
CSS Grids and Flexbox in Responsive Web Design
We'll begin with a quick review of the industry's current standard: float-based grid systems. We'll review how to code one (quickly), plus advantages and disadvantages of this type of layout. We'll also review media queries and responsive images, including the new tag and the Picturefill polyfill.
We'll quickly move on to Flexbox, first exploring exactly how Flexbox works, since it's very different from floats. We'll code a simple grid system with Flexbox, and we'll explore the similarities and differences with a float-based grid system.
Next, we'll take advantage of Flexbox's amazing alignment and the ordering features to juice up our grid, taking us places that simply weren't possible with floats.
Finally, we'll wrap up our first day by considering a common problem. You have some number of items you must lay out in columns and/or rows on a web page, but you have no idea how many items there are. (An item could be an image, a card, a media object, or anything else that would be considered a unit of content.)
On the second day, we'll dive into CSS Grid, the brand-new spec available in the latest browsers. We'll look at Grid's basic syntax, working on a layout of a Mondrian painting as an example, which we'll create with Grid. Next, we'll move on to some of the alternative Grid syntaxes, and we'll explore nested and offset grid layouts. Of course, we'll also cover compatibility issues -- how can we make Grid work across browsers, with reasonable fallbacks?
Finally, with Flexbox and Grid understood and mastered, we'll try combining these elements for the best solution to a web page layout problem.
By the end of this course, you'll be able to articulate the strengths and weaknesses of float-based layout, Flexbox, and Grid, and you'll be able to code responsive layouts with each of these technologies.
We've already held over 100 workshops holding thousands attendees in-person and online. In this time we've discovered ways to schedule the day so it goes smoothly and efficiently.
Regardless if you're in-person or participating with us online you'll have the full ability to replay things you missed, get your questions answered LIVE and interact with the teacher throughout the day.
Tech Check and Hello
Intro and responsive design review: current grid systems with floats, media queries, responsive images
Quick review exercise
Creating a basic Flexbox-based grid system, including media queries
Lunch and Hacking
Adding alignment and ordering features to the grid
Laying out image galleries or articles with an unknown number of items
Further Reading and Wrap-up
Tech Check and Hello
Lingering questions from yesterday; overview of grid and new units; media queries and Grid; Grid browser tools in Firefox
Get Your Questions Answered • Code Along with the Class • Classroom Format
Is This Workshop for Me?
This workshop is geared for an intermediate level audience. There will be lots of time to explore on your own, complete the in-class exercises, and consider how Flexbox and Grid could be assigned to your current layout issues. Beginners will likely be overwhelmed if floats and basic CSS are not completely mastered. Experts capable of learning quickly may feel the course is a little slow.
Free for EVERYONE
2 Full Day Workshop Sessions
Replay Videos (available immediately)
October 3 to 4, 2017 - 9:30am to 5:30pm Central US Time
Option 1: Attend online on our full HD live stream
Option 2: Attend in-person at HQ in Minneapolis, MN
Become a Frontend Masters Subscriber to Join
Advance your skills with in-depth, modern frontend engineering courses.