{"id":18749591,"url":"https://github.com/scotch-io/bootstrap-media-query-breakpoints","last_synced_at":"2025-04-12T23:31:33.585Z","repository":{"id":14704970,"uuid":"17425258","full_name":"scotch-io/Bootstrap-Media-Query-Breakpoints","owner":"scotch-io","description":null,"archived":false,"fork":false,"pushed_at":"2014-03-05T02:42:28.000Z","size":132,"stargazers_count":118,"open_issues_count":2,"forks_count":37,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-03-26T17:47:35.898Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/scotch-io.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-03-05T02:25:00.000Z","updated_at":"2022-05-07T06:47:48.000Z","dependencies_parsed_at":"2022-07-12T15:13:24.596Z","dependency_job_id":null,"html_url":"https://github.com/scotch-io/Bootstrap-Media-Query-Breakpoints","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scotch-io%2FBootstrap-Media-Query-Breakpoints","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scotch-io%2FBootstrap-Media-Query-Breakpoints/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scotch-io%2FBootstrap-Media-Query-Breakpoints/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scotch-io%2FBootstrap-Media-Query-Breakpoints/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scotch-io","download_url":"https://codeload.github.com/scotch-io/Bootstrap-Media-Query-Breakpoints/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248647257,"owners_count":21139081,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T17:07:58.254Z","updated_at":"2025-04-12T23:31:33.300Z","avatar_url":"https://github.com/scotch-io.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"Bootstrap-Media-Query-Breakpoints\n=================================\n\n\u003e [Article and discussion here](http://scotch.io/quick-tips/default-sizes-for-twitter-bootstraps-media-queries)\n\nI **love** Twitter's Bootstrap. I find that when developing with it, either [Bootstrap 2](http://getbootstrap.com/2.3.2/) (2.3.2) or [Bootstrap 3](http://getbootstrap.com/), that I always need to apply custom styles at the different sizes. Especially when going beyond Bootstrap's standard functionality. After all, it's *just a front-end framework*.\n\nBelow you'll find nicely formatted Media Queries for starting with either of the Bootstrap versions. You can use this as a starting point for your projects. It's basically what I use when creating a new website or webapp. I've also provided links to Github for quick access.\n\n## Bootstrap 3 Media Query Breakpoints\n\nBootstrap 3 is a mobile-first front-end framework. I've included the correct order for the Media Queries below, but I've also included at the bottom of them the non-mobile first breakpoints in case some people aren't used to the mobile-first methodology since technically both will work.\n\n```css\n/*==================================================\n=            Bootstrap 3 Media Queries             =\n==================================================*/\n\n\n\n\n\t/*==========  Mobile First Method  ==========*/\n\n\t/* Custom, iPhone Retina */ \n\t@media only screen and (min-width : 320px) {\n\t\t\n\t}\n\n\t/* Extra Small Devices, Phones */ \n\t@media only screen and (min-width : 480px) {\n\n\t}\n\n\t/* Small Devices, Tablets */\n\t@media only screen and (min-width : 768px) {\n\n\t}\n\n\t/* Medium Devices, Desktops */\n\t@media only screen and (min-width : 992px) {\n\n\t}\n\n\t/* Large Devices, Wide Screens */\n\t@media only screen and (min-width : 1200px) {\n\n\t}\n\n\n\n\t/*==========  Non-Mobile First Method  ==========*/\n\n\t/* Large Devices, Wide Screens */\n\t@media only screen and (max-width : 1200px) {\n\n\t}\n\n\t/* Medium Devices, Desktops */\n\t@media only screen and (max-width : 992px) {\n\n\t}\n\n\t/* Small Devices, Tablets */\n\t@media only screen and (max-width : 768px) {\n\n\t}\n\n\t/* Extra Small Devices, Phones */ \n\t@media only screen and (max-width : 480px) {\n\n\t}\n\n\t/* Custom, iPhone Retina */ \n\t@media only screen and (max-width : 320px) {\n\t\t\n\t}\n```\n\n## Bootstrap 2.3.2 Media Query Breakpoints\n```css\n/*=====================================================\n=            Bootstrap 2.3.2 Media Queries            =\n=====================================================*/\n@media only screen and (max-width : 1200px) {\n\n}\n\n@media only screen and (max-width : 979px) {\n\n}\n\n@media only screen and (max-width : 767px) {\n\n}\n\n@media only screen and (max-width : 480px) {\n\n}\n\n@media only screen and (max-width : 320px) {\n\n}\n```\n\n## Improvements\n\nIf you have improvements, corrections, or just a different way, I would love to hear it. I'll gladly update this if anyone has better or more accurate information. Either post a comment or send me a Pull Request on GitHub.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscotch-io%2Fbootstrap-media-query-breakpoints","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscotch-io%2Fbootstrap-media-query-breakpoints","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscotch-io%2Fbootstrap-media-query-breakpoints/lists"}