Exploring Bootstrap Media Queries & Device-Specific Styling

One of the last things you might want to do when working with these responsive design grids inside of Bootstrap is that you may wish to have some particular parts of the layout that are only visible on a desktop, or visible only on a tablet or a phone, or you may want to hide specific elements on one of those devices. Bootstrap includes some nice classes that will allow you to easily do exactly that as well.

This explains exactly how these particular classes work and which specific devices using those classes will produce content that’s either visible or invisible. We’re going to put those to work here in just a moment.

So, what we’d like to do is to set up a row on the web page that we’ve been working on so far, and set it up in a way that you’re going to have some text that’s going to show up only on certain devices. The important part to remember about this is the way that these particular CSS classes work.

First of all, the big thing to remember here is that these are CSS, so they are testing the width of the window of the browser. They aren’t actually testing the device itself, which is something very different that actually comes over as part of the header in the request process for getting web pages. It’s just testing the width of the screen, so it’s calling devices such as phones, tablets, and desktops, but just by making your screen wider or making your screen narrower, you’ll be able to simulate the screen sizes of phones, tablets, and desktops, and they’ll work just fine.

Again, remember that “phone,” “tablet,” and “desktop” actually refer to specific widths of the screen, and those widths are detailed in the chart above. Phones are 767 pixels and below, tablets are 768 pixels to 979 pixels, and desktops are the default, which is anything wider than 979 pixels.

Choose your services package. Choose the ways you love us

Website designing is an amazing way of increasing your business through attracting more consumers, the online way.

Web Designing

0 $ Free for first month
  • Corporate Website Designing
  • Mobile Website Designing
  • Small Business Web Designing
  • Website Re designing Services
  • User-Friendly

Web Development

9.9 $ Price per month
  • Dynamic Website Development
  • Facebook Apps Development
  • Shopping Website Development
  • Website Maintenance Services
  • Global marketing

SEO

Most Popular
59.9 $ Price per month
  • Initial Review and Analysis
  • Keyword Research and Analysis
  • Content Writing
  • Link Development
  • Fee-Based Directory Submissions

Web Hosting

Comming Soon
299.9 $ Price per year
  • Unlimited Web space
  • Unlimited Bandwidth
  • Unlimited Emails
  • Unlimited Accounts
  • Unlimited Databases

i-Max infotech, a pioneer in rendering state-of-art IT business solutions, set its foot in the industry in 2013 and since then has been rendering unparalleled services to its valuable clients across the globe. The highly qualified professionals of the firm have a high flying creative vision that is not limited to just beautifying your website. Our company is a perfect blend of high-end solutions including SEO services, MySQL, PHP, ecommerce solutions together with an assortment of database creation, design and management solutions. The professionals of i-Max infotech strive to facilitate unparalleled upshots you are worthy of!

Our Mission

i-Max infotech creates robust, Intuitive, effective and scalable solutions for Web Design, Ecommerce Web Apps , Facebook Applications – Agile / Iterative Development, Contextual (user-centered design) and Location-based Design and Behavior Driven Development.
i-Max infotech is among the best IT companies in India – Offering services such as Web Application Development Services, Mobile Application Development Services, Customer Relationship Management (CRM), Web Design & Redesign Services, Ecommerce online shopping systems, Search Engine Optimization Services, Pay Per Click Services and more.
i-Max infotech provide the Industrial Training in the field of Web-Designing, PHP, Java, .Net, Oracle, AutoCAD and many more of the computer courses.

Our Statics

In Photoshop :- 96%

96%

In HTML :- 95%

95%

In CSS :- 94%

94%

In Bootstrap :- 97%

97%