css - How can I not show divs(sidebars) when site is in mobile viewport -


I have 2 sidebar on my site. Using the viewport I have the responsive CSS but when I open the site in a mobile browser So I do not want to show the sidebar. Do I have to fix the tab? Is there any way I can do that?

For example: Stack Overflow When you open it in Mobile, you do not see the sidebar I want something like this.

Thank you in advance:

You can add Media queries < / Strong> can only be defined:

  @ media only screen and (minimum-device-width: 320px) and (max-device-width: 480px) {/ * styles * /}>  

Read more at

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

jsp - Google line chart x-axis shrinks on transition -

java - Reaching JTextField in a DocumentListener -