javascript - Responsive webpage for different window/screen size -


so came across web page top travel destination tripadvisor. if change browser window size, ui changes gracefully fit new window size. font size, element's width, changes accordingly fit wimdow size.

could tell me how go building these kind of responsive webpages?

i know question broad in scope want know there frameworks building webpages these.

you can use css media queries different screen size

@media (max-width: 1024px) {} @media (max-width: 768px) {} @media (max-width: 480px) {} @media (max-width: 320px) {} 

Comments

Popular posts from this blog

symfony - TEST environment only: The database schema is not in sync with the current mapping file -

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -