Target / context = result
or child element / parent element
img { max-width: 100%;}
@media screen and (min-width:___px) { }
with styles nested within brackets.Device testing is awesome, but we also need to think device agnostically.
Responsive patterns with the homework
<meta name="viewport" content="width=device-width, initial-scale=1.0">
nth-of-types
when working with media queries and being very specific and very consistent.target / context = result
formula still applies, where the context is 16px
if the body {font-size: 100%}
(default). If you change it to body {font-size: 62.5%}
, the context is 10px
, which some people consider easier to convert to.Everyday a bit of written, audio, or video resources will be assigned to review, which will supplement class assignments. Assignments are always due by 8:59am of the following day, unless noted.
Done with the required homework and would like more to learn from? TIY has you covered.
Once you complete the above, try your hand at…
Sketch out how you’d retrofit Surf and Paddle from it’s current state to a 1-column layout.