Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 1.84 KB

variable-dimensions.md

File metadata and controls

35 lines (25 loc) · 1.84 KB

Variable Dimensions

For this assignment, you are tasked with creating a reading experience using at least 2 distinct device contexts. Just using HTML & CSS @MEDIA QUERIES (JavaScript/jQuery is not necessary, but you are free to buttress your work with it should you choose to), create a single webpage that has 2 distinct but related styles & sets of content depending on whether the page is viewed on desktop, or on a mobile device.

What you show/hide/scale/move should be based on the context and the type of information you expect one would need to access within each context. Images can be used, and further experimentation with web fonts is encouraged!

Lastly, explain your idea in the form of comments at each breakpoint in your CSS.

Select one the following content packages

In your HTML file be sure to add the following between <head> and </head>:

<meta
  name="viewport"
  content="width=device-width, initial-scale=1, shrink-to-fit=no"
/>

This is required in order for you to see your media queries work at their corresponding resolutions. Feel free to use example-4-context as a starting point.

Some worthwhile resources: