Frontend Masters – Spend a full day immersed in CSS Layouts with Jen Kramer | 3.24 GB
FrontendMasters – Advanced CSS Layouts
Some Key Takeaways! By coding along with us in the Workshop, you’ll:
Learn to plan your design approach to a given page layout Understand calc() and custom properties (CSS variables), including their proper use and how they differ from Sass equivalents Learn to combine Flexbox, calc(), custom properties, and media queries to create incredibly DRY layouts Understand modular scales for type, and use principles for DRY layouts to create different type sizes at different screen resolutions Create a CSS-only hamburger button for navigation Create responsive tables using correct table markup and different techniques for display Create responsive forms that work well across devices
Your (Awesome) Instructor Jen Kramer 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. She is also the author of over 35 video training courses and three books.
We’ll quickly move on to an introduction to calc(), the ability to do math directly in CSS, including its advantages and requirements. We’ll also look at custom properties (CSS variables). While many variable principles hold true, there’s a few interesting quirks related to the cascade. We’ll also discuss when to use calc() and custom properties vs. their equivalents in Sass. Spoiler alert: it’s not just browser support!
We’ll apply what we just learned about calc() and custom properties to a 4-column Flexbox-based grid system that we coded in my previous course on Flexbox and Grid. Finally, we’ll apply these principles to the home page we created earlier in the day.
In the afternoon, we’ll look at modular type scales, which will create an algorithm for our type sizes. We’ll apply those scales to our design using these principles with calc() and custom properties.
Finally, we’ll look at tables and forms, and the impact of responsive design on these elements. How can you combine proper HTML table markup with responsive design? It’s simpler than you think, and there are several possible approaches. We’ll also look at form layouts and how these can be made responsive, quickly and easily.
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 calc, custom properties, and responsive tables and forms could be assigned to your current layout issues. Experts capable of learning quickly may feel the course is a little slow.
Any Prerequisites? You should have a solid working knowledge of hand-coded HTML and CSS, with the basics mastered completely Knowledge of inheritance, the cascade, and CSS selectors are important. Working knowledge of Flexbox will be useful. You may want to watch “CSS Grids and Flexbox for Responsive Web Design” if you are not familiar with Flexbox.