Responsive Website with jQuery

Asked

Viewed 60 times

0

Guys I’m in doubt is better to make responsive website using media queries or jQuery?

1 answer

0


Simple, with CSS and following some rules, jQuery is just a javascript library so it will not set the style of the page, what I recommend is to use measures with % instead of pixels because it will fit the screen and not a fixed measure, use the meta tag viewport for better viewing your site on some devices, and the media-query you can specify styles, for example @media screen specific CSS for monitors, @media print for printers, @media (max-width: 480px) for smaller screens like a mobile phone for example.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.