Natural Responsiveness | The Odin Project thumbnail
Natural Responsiveness | The Odin Project
www.theodinproject.com
in general the smaller your widths the more likely it’s fine to make them fixed. It simply sets the initial width of the webpage to the size of the actual screen you’re viewing it on, and telling it not to zoom in or out. Easy! When a max-width is defined, the element will not exceed that width but
3 Users
0 Comments
23 Highlights
23 Notes

Top Highlights

  • in general the smaller your widths the more likely it’s fine to make them fixed.
  • It simply sets the initial width of the webpage to the size of the actual screen you’re viewing it on, and telling it not to zoom in or out. Easy!
  • When a max-width is defined, the element will not exceed that width but will shrink if the screen is too small to accommodate it.
  • isn’t going to benefit from using max-width because you probably don’t want it to shrink.
  • Avoid fixed width and height

Ready to highlight and find good content?

Glasp is a social web highlighter that people can highlight and organize quotes and thoughts from the web, and access other like-minded people’s learning.