Here, green checkmarks indicate that class is hidden in your current viewport. Green checkmarks indicate that class is visible in your current viewport. Resize your browser or load on different devices to test the above classes. Responsive utilities should not be used with tables, and as such are not supported. Instead, use them to complement each device's presentation. Use on a limited basis and avoid creating entirely different versions of the same site. Below is a table of the available classes and their effect on a given media query layout (labeled by device). * Large desktop (min-width: 1200px) įor faster mobile-friendly development, use these utility classes for showing and hiding content by device. Supported devicesīootstrap supports a handful of media queries in a single file to help make your projects more appropriate on different devices and screen resolutions. For larger projects, do consider dedicated code bases and not layers of media queries. Use media queries responsibly and only as a start to your mobile audiences. Resize headings and text to be more appropriate for devices.Stack elements instead of float wherever necessary.Media queries allow for custom CSS based on a number of conditions-ratios, widths, display type, etc-but usually focuses around min-width and max-width. Instead of encouraging developers to remove this feature, we figure it best to enable it as needed. Heads up! Bootstrap doesn't include responsive features by default at this time as not everything needs to be responsive. If you've compiled Bootstrap from the Customize page, you need only include the meta tag. Turn on responsive CSS in your project by including the proper meta tag and additional stylesheet within the of your document. Responsive design Enabling responsive features
0 Comments
Leave a Reply. |