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

timeout - Handshake_timeout on RabbitMQ using python and pika from remote vm -

gcc - MinGW's ld cannot perform PE operations on non PE output file -

c# - Search and Add Comment with OpenXML for Word -