Make the Page Flexible
HTML / CSS
10 pts
Make the Page Flexible
Make the Keren page fit every screen:
.page: a max-width of 600px, centered withmargin: 0 auto;.- A new rule for
img: max-width: 100%.
Checklist
- Limit the page box to 600px.
- Center the page box.
- Stop the image from ever being wider than the page box.
🔑 Solution
If you view the solution before passing, you earn half points for this exercise. You still need to type it and press Check to finish.
How it works, step by step
Point at a step to highlight its lines. Type the solution yourself and press Check answer to finish.
