{"id":18121,"date":"2017-08-14T16:15:00","date_gmt":"2017-08-14T13:15:00","guid":{"rendered":"http:\/\/www.webcodegeeks.com\/?p=18121"},"modified":"2018-01-08T13:05:03","modified_gmt":"2018-01-08T11:05:03","slug":"bootstrap-responsive-example","status":"publish","type":"post","link":"https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-responsive-example\/","title":{"rendered":"Bootstrap Responsive Example"},"content":{"rendered":"<p>This article discusses the responsive feature of the Bootstrap Framework. We will start with taking a look at what is Responsiveness in terms of websites and web applications and what all the buzz is about. Once we gain an understanding of responsive designs and terms, we will, progress with creating a web page of our own which is needless to say responsive. By the end of this article, you will start to appreciate the Bootstrap Framework for all the baked-in goodies in the framework itself to enable responsive layouts.<br \/>\n&nbsp;<br \/>\n&nbsp;<br \/>\n&nbsp;<br \/>\n&nbsp;<br \/>\n[ulp id=&#8217;57DHuNTHJ2qczaGz&#8217;]<br \/>\n&nbsp;<\/p>\n<h2>1. Tools<\/h2>\n<p>Following tools will be used to build this example:<\/p>\n<ul>\n<li><a href=\"http:\/\/getbootstrap.com\/getting-started\/#download\" target=\"_blank\" rel=\"noopener\">Bootstrap v3.3.7<\/a><\/li>\n<li><a href=\"https:\/\/blog.jquery.com\/2016\/05\/20\/jquery-1-12-4-and-2-2-4-released\/\" target=\"_blank\" rel=\"noopener\">JQuery v1.12.4<\/a><\/li>\n<li><a href=\"https:\/\/nodejs.org\/en\/download\/\" target=\"_blank\" rel=\"noopener\">Node.js v6.3.0<\/a><\/li>\n<li><a href=\"https:\/\/code.visualstudio.com\/download\" target=\"_blank\" rel=\"noopener\">Visual Studio Code IDE<\/a><\/li>\n<li><a href=\"https:\/\/www.npmjs.com\/package\/express\" target=\"_blank\" rel=\"noopener\">Express Module<\/a><\/li>\n<\/ul>\n<p>Bootstrap is a front-end framework for designing responsive websites. We also include JQuery since Bootstrap needs it. The JQuery library makes writing JavaScript a breeze. Node.js in essence is JavaScript on the server-side. The Express module is used to create a server to serve files and resources to the browser.<\/p>\n<h2>2. What makes a website Responsive?<\/h2>\n<p>By responsive it is intended, in case of web development, that a website is able to adapt its layout to the viewer&#8217;s viewport or screen size. As there is an array of devices of varying sizes with capability to allow the user to browse the web, this particular way of designing layout becomes more significant. Building different versions of a site for each individual screen size is not palatable nor feasible and that is where Bootstrap Framework shines. We can build a single website targeting all screen sizes and devices leveraging Bootstrap.<\/p>\n<h2>3. How to make a site Responsive?<\/h2>\n<p>Responsive does not mean that we shrink the elements on a page to fit onto smaller device. In fact that is exactly what happens when we open a site on a mobile device that is not responsive, the page shrinks to fit the viewport rendering it nearly unusable. The Bootstrap Framework works around this by making changes to the layout of the page to keep the UI usable and functional in all aspects regardless of the viewport or screen size. We do not need to add code for this to happen, all we need to do is use the CSS classes from Bootstrap to layout our site and then Bootstrap framework manages it from there.<br \/>\nAnother concept I would like to briefly go over is Media Query. This is essential for designing any responsive website or a framework for responsive websites too. Media Query is part of CSS3 and essentially allows detection of Media Type and Media Features, meaning that we can detect the type of device and other attributes like max-width and others. This allows us to adapt the layout to the detected Media Type and its capabilities. We can do this by using what is called a <code>@media rule<\/code> onto our web page. It looks like below:<\/p>\n<pre class=\"brush: css\">@media not|only mediatype and (media feature) {\r\n    CSS-Code;\r\n}\r\n<\/pre>\n<p>Here the domain of values that can be used in place of mediatype are screen, print and all. Whereas the list of values used for media feature are many but the one we need is the max-width one.<br \/>\nCSS3 also allows us to add particular stylesheets based on Media Type and Features as well. Let us look at a couple of examples below:<\/p>\n<pre class=\"brush: css\">@media screen and (max-width: 480px) {\r\n    body {\r\n        background-color: blue;\r\n    }\r\n}\r\n<\/pre>\n<p>What this media rule does, on devices with screen width of 480px or less, is that it applies a background-color of blue to the body element.<\/p>\n<h2>4. Project Structure<\/h2>\n<p>Let us attempt to build a small application to demonstrate the concept of responsive design using Bootstrap Framework. The project structure of this application would be as follows:<\/p>\n<figure id=\"attachment_18210\" aria-describedby=\"caption-attachment-18210\" style=\"width: 417px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/08\/Project_Structure_6.jpg\"><img decoding=\"async\" class=\"size-full wp-image-18210\" src=\"http:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/08\/Project_Structure_6.jpg\" alt=\"\" width=\"417\" height=\"527\" srcset=\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/08\/Project_Structure_6.jpg 417w, https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/08\/Project_Structure_6-237x300.jpg 237w\" sizes=\"(max-width: 417px) 100vw, 417px\" \/><\/a><figcaption id=\"caption-attachment-18210\" class=\"wp-caption-text\">Project Structure<\/figcaption><\/figure>\n<h2>5. Html Markup<\/h2>\n<p>We add the following markup to the <code>index.html<\/code> file of our application:<\/p>\n<pre class=\"brush: html\">&lt;!DOCTYPE html&gt;\r\n&lt;html lang=\"en\"&gt;\r\n&lt;head&gt;\r\n    &lt;meta charset=\"utf-8\"&gt;\r\n    &lt;meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\"&gt;\r\n    &lt;meta name=\"viewport\" content=\"width=device-width, initial-scale=1\"&gt;\r\n&lt;!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --&gt;\r\n    &lt;title&gt;Bootstrap Responsive Example - Web Code Geeks&lt;\/title&gt;\r\n\r\n&lt;!-- Latest compiled and minified CSS --&gt;\r\n    &lt;link rel=\"stylesheet\" href=\"\/css\/bootstrap.min.css\"&gt;\r\n\r\n&lt;!-- Optional theme --&gt;\r\n    &lt;link rel=\"stylesheet\" href=\"\/css\/bootstrap-theme.min.css\"&gt;\r\n\r\n\u00a0\r\n\r\n&lt;!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --&gt;\r\n&lt;!-- WARNING: Respond.js doesn't work if you view the page via file:\/\/ --&gt;\r\n&lt;!--[if lt IE 9]&gt;\r\n    &lt;script src=\"https:\/\/oss.maxcdn.com\/html5shiv\/3.7.3\/html5shiv.min.js\"&gt;&lt;\/script&gt;\r\n    &lt;script src=\"https:\/\/oss.maxcdn.com\/respond\/1.4.2\/respond.min.js\"&gt;&lt;\/script&gt;\r\n&lt;![endif]--&gt;\r\n&lt;\/head&gt;\r\n&lt;body class=\"bg-info\"&gt;\r\n&lt;!--container div to hold the store name--&gt;\r\n    &lt;div class=\"container\"&gt;\r\n        &lt;div class=\"row\"&gt;\r\n            &lt;div class=\"col-xs-12 text-center page-header\"&gt;\r\n                &lt;h2&gt;BowWow Pet Store&lt;\/h2&gt;\r\n            &lt;\/div&gt;\r\n        &lt;\/div&gt;\r\n    &lt;\/div&gt;\r\n&lt;!--container div to hold main content of the page--&gt;\r\n    &lt;div class=\"container-fluid\"&gt;\r\n        &lt;div class=\"row\"&gt;\r\n            &lt;div class=\"col-sm-4 col-lg-3 col-lg-push-1\"&gt;\r\n                &lt;div class=\"thumbnail\"&gt;\r\n                    &lt;img src=\"\/images\/cat.jpg\" class=\"img-rounded thumb\"\/&gt;\r\n                    &lt;div class=\"caption\"&gt;\r\n                        &lt;div class=\"text-center\"&gt;\r\n                            &lt;span class=\"h3\"&gt;Cat Care&lt;\/span&gt;\r\n                        &lt;\/div&gt;\r\n                        &lt;ul&gt;\r\n                            &lt;li&gt;&lt;a href=\"#\"&gt;Treats&lt;\/a&gt;&lt;\/li&gt;\r\n                            &lt;li&gt;&lt;a href=\"#\"&gt;Bawls &amp; Feeders&lt;\/a&gt;&lt;\/li&gt;\r\n                            &lt;li&gt;&lt;a href=\"#\"&gt;Litter &amp; Accessories&lt;\/a&gt;&lt;\/li&gt;\r\n                        &lt;\/ul&gt;\r\n                    &lt;\/div&gt;\r\n                &lt;\/div&gt;\r\n\r\n           &lt;\/div&gt;\r\n           &lt;div class=\"col-sm-4 col-lg-3 col-lg-push-1\"&gt;\r\n               &lt;div class=\"thumbnail\"&gt;\r\n                   &lt;img src=\"\/images\/puppy.jpg\" class=\"img-rounded thumb\" \/&gt;\r\n                   &lt;div class=\"caption\"&gt;\r\n                       &lt;div class=\"text-center\"&gt;\r\n                           &lt;span class=\"h3\"&gt;Dog Care&lt;\/span&gt;\r\n                       &lt;\/div&gt;\r\n                       &lt;ul&gt;\r\n                           &lt;li&gt;&lt;a href=\"#\"&gt;Treats and Biscuits&lt;\/a&gt;&lt;\/li&gt;\r\n                           &lt;li&gt;&lt;a href=\"#\"&gt;Grooming Supplies&lt;\/a&gt;&lt;\/li&gt;\r\n                           &lt;li&gt;&lt;a href=\"#\"&gt;Health and Welfare&lt;\/a&gt;&lt;\/li&gt;\r\n                       &lt;\/ul&gt;\r\n                   &lt;\/div&gt;\r\n               &lt;\/div&gt;\r\n           &lt;\/div&gt;\r\n           &lt;div class=\"col-sm-4 col-lg-3 col-lg-push-1\"&gt;\r\n               &lt;div class=\"thumbnail\"&gt;\r\n                   &lt;img src=\"\/images\/unicorn.png\" class=\"img-rounded thumb\" \/&gt;\r\n                   &lt;div class=\"caption\"&gt;\r\n                       &lt;div class=\"text-center\"&gt;\r\n                           &lt;span class=\"h3\"&gt;Coming Soon!&lt;\/span&gt;\r\n                       &lt;\/div&gt;\r\n                       &lt;ul &gt;\r\n                           &lt;li class=\"disabled\"&gt;Combs&lt;\/li&gt;\r\n                           &lt;li class=\"disabled\"&gt;Brushes&lt;\/li&gt;\r\n                           &lt;li class=\"disabled\"&gt;Glitter&lt;\/li&gt;\r\n                       &lt;\/ul&gt;\r\n                   &lt;\/div&gt;\r\n               &lt;\/div&gt;\r\n           &lt;\/div&gt;\r\n\r\n       &lt;\/div&gt;\r\n   &lt;\/div&gt;\r\n\r\n&lt;!-- jQuery (necessary for Bootstrap's JavaScript plugins) --&gt;\r\n&lt;script src=\"https:\/\/ajax.googleapis.com\/ajax\/libs\/jquery\/1.12.4\/jquery.min.js\"&gt;&lt;\/script&gt;\r\n&lt;!-- Include all compiled plugins (below), or include individual files as needed --&gt;\r\n&lt;!-- Latest compiled and minified JavaScript --&gt;\r\n&lt;script src=\".\/js\/bootstrap.min.js\"&gt;&lt;\/script&gt;\r\n&lt;script src=\".\/js\/bootstrap.responsive.js\"&gt;&lt;\/script&gt;\r\n    &lt;style type=\"text\/css\"&gt;\r\n        .thumb{\r\n            max-height: 220px;\r\n        }\r\n        li.disabled{\r\n            color: lightgrey;\r\n        }\r\n    &lt;\/style&gt;\r\n&lt;\/body&gt;\r\n&lt;\/html&gt;\r\n<\/pre>\n<p>The resulting UI of the above page looks like below on a laptop screen.<\/p>\n<figure id=\"attachment_18235\" aria-describedby=\"caption-attachment-18235\" style=\"width: 752px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/08\/IndexPageLayout.jpg\"><img decoding=\"async\" class=\"size-full wp-image-18235\" src=\"http:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/08\/IndexPageLayout.jpg\" alt=\"\" width=\"752\" height=\"447\" srcset=\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/08\/IndexPageLayout.jpg 752w, https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/08\/IndexPageLayout-300x178.jpg 300w\" sizes=\"(max-width: 752px) 100vw, 752px\" \/><\/a><figcaption id=\"caption-attachment-18235\" class=\"wp-caption-text\">Index Page<\/figcaption><\/figure>\n<p>In the above UI we use the <code>container<\/code> css class to create a container, which in turn, has rows of columns. Our content sits in the individual columns in each row. We specify a row with <code>row<\/code> css class. The css class for columns is a bit more involved, for example, a <code>div<\/code> decorated with css class <code>col-sm-4<\/code> means the <code>div<\/code> would span 4 columns on small screen sizes and above. This also means that the breaking point is small screen, so for screen size extra small the content can be stacked one on top of the other columns. We will take a look into checking this in the next section.<\/p>\n<h2>6. Responsiveness Check<\/h2>\n<p>Let us check the responsiveness of the UI we built in the previous section. To startup the application and view it in a browser we need to run the following commands at the root of the application<\/p>\n<pre class=\"brush: bash\">&gt;npm install\r\n<\/pre>\n<pre class=\"brush: bash\">&gt;node index.js\r\n<\/pre>\n<p>Now, let us navigate to the following URL in the Chrome browser: <code>http:\/\/localhost:3010<\/code>. Hit the <code>F12<\/code> Key to bring up the developer tools so that we can emulate various screen sizes. The results for each screen size are as in the below screens:<\/p>\n<figure id=\"attachment_18238\" aria-describedby=\"caption-attachment-18238\" style=\"width: 353px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/08\/ScreenLayoutMobileScreen.jpg\"><img decoding=\"async\" class=\"size-full wp-image-18238\" src=\"http:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/08\/ScreenLayoutMobileScreen.jpg\" alt=\"\" width=\"353\" height=\"687\" srcset=\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/08\/ScreenLayoutMobileScreen.jpg 353w, https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/08\/ScreenLayoutMobileScreen-154x300.jpg 154w\" sizes=\"(max-width: 353px) 100vw, 353px\" \/><\/a><figcaption id=\"caption-attachment-18238\" class=\"wp-caption-text\">Screen Layout &#8212; Mobile Device<\/figcaption><\/figure>\n<figure id=\"attachment_18239\" aria-describedby=\"caption-attachment-18239\" style=\"width: 795px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/08\/ScreenLayoutTabletPC.jpg\"><img decoding=\"async\" class=\"size-full wp-image-18239\" src=\"http:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/08\/ScreenLayoutTabletPC.jpg\" alt=\"\" width=\"795\" height=\"683\" srcset=\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/08\/ScreenLayoutTabletPC.jpg 795w, https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/08\/ScreenLayoutTabletPC-300x258.jpg 300w, https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/08\/ScreenLayoutTabletPC-768x660.jpg 768w\" sizes=\"(max-width: 795px) 100vw, 795px\" \/><\/a><figcaption id=\"caption-attachment-18239\" class=\"wp-caption-text\">Screen Layout &#8212; Tablets<\/figcaption><\/figure>\n<figure id=\"attachment_18240\" aria-describedby=\"caption-attachment-18240\" style=\"width: 840px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/08\/ScreenLayoutLaptopPC.jpg\"><img decoding=\"async\" class=\"size-full wp-image-18240\" src=\"http:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/08\/ScreenLayoutLaptopPC.jpg\" alt=\"\" width=\"840\" height=\"572\" srcset=\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/08\/ScreenLayoutLaptopPC.jpg 840w, https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/08\/ScreenLayoutLaptopPC-300x204.jpg 300w, https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/08\/ScreenLayoutLaptopPC-768x523.jpg 768w\" sizes=\"(max-width: 840px) 100vw, 840px\" \/><\/a><figcaption id=\"caption-attachment-18240\" class=\"wp-caption-text\">Screen Layout &#8212; Laptop<\/figcaption><\/figure>\n<figure id=\"attachment_18241\" aria-describedby=\"caption-attachment-18241\" style=\"width: 826px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/08\/ScreenLayoutDesktop.jpg\"><img decoding=\"async\" class=\"size-full wp-image-18241\" src=\"http:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/08\/ScreenLayoutDesktop.jpg\" alt=\"\" width=\"826\" height=\"462\" srcset=\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/08\/ScreenLayoutDesktop.jpg 826w, https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/08\/ScreenLayoutDesktop-300x168.jpg 300w, https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/08\/ScreenLayoutDesktop-768x430.jpg 768w\" sizes=\"(max-width: 826px) 100vw, 826px\" \/><\/a><figcaption id=\"caption-attachment-18241\" class=\"wp-caption-text\">Screen Layout &#8212; Desktop<\/figcaption><\/figure>\n<h2>7. Download the Source Code<\/h2>\n<p>This was an example of Bootstrap Responsive design.<\/p>\n<div class=\"download\"><strong>Download<\/strong><br \/>\nYou can download the full source code of this example here : <a href=\"http:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/08\/WCG-Bootstrap-Responsive-Example.zip\" target=\"_blank\" rel=\"noopener\"><strong>Bootstrap Responsive Example<\/strong><\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>This article discusses the responsive feature of the Bootstrap Framework. We will start with taking a look at what is Responsiveness in terms of websites and web applications and what all the buzz is about. Once we gain an understanding of responsive designs and terms, we will, progress with creating a web page of our &hellip;<\/p>\n","protected":false},"author":213,"featured_media":8515,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[284],"tags":[376,489],"class_list":["post-18121","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-bootstrap","tag-bootstrap","tag-responsive-design"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Bootstrap Responsive Example - Web Code Geeks - 2026<\/title>\n<meta name=\"description\" content=\"This article discusses the responsive feature of the Bootstrap Framework. We will start with taking a look at what is Responsiveness in terms of websites\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-responsive-example\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Bootstrap Responsive Example - Web Code Geeks - 2026\" \/>\n<meta property=\"og:description\" content=\"This article discusses the responsive feature of the Bootstrap Framework. We will start with taking a look at what is Responsiveness in terms of websites\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-responsive-example\/\" \/>\n<meta property=\"og:site_name\" content=\"Web Code Geeks\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/webcodegeeks\" \/>\n<meta property=\"article:published_time\" content=\"2017-08-14T13:15:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-01-08T11:05:03+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/11\/bootstrap-logo.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"150\" \/>\n\t<meta property=\"og:image:height\" content=\"150\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Siddharth Seth\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@webcodegeeks\" \/>\n<meta name=\"twitter:site\" content=\"@webcodegeeks\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Siddharth Seth\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-responsive-example\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-responsive-example\/\"},\"author\":{\"name\":\"Siddharth Seth\",\"@id\":\"https:\/\/www.webcodegeeks.com\/#\/schema\/person\/9c939eb4c915443c7e493c813d979592\"},\"headline\":\"Bootstrap Responsive Example\",\"datePublished\":\"2017-08-14T13:15:00+00:00\",\"dateModified\":\"2018-01-08T11:05:03+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-responsive-example\/\"},\"wordCount\":907,\"commentCount\":2,\"publisher\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-responsive-example\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/11\/bootstrap-logo.jpg\",\"keywords\":[\"bootstrap\",\"responsive design\"],\"articleSection\":[\"Bootstrap\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-responsive-example\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-responsive-example\/\",\"url\":\"https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-responsive-example\/\",\"name\":\"Bootstrap Responsive Example - Web Code Geeks - 2026\",\"isPartOf\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-responsive-example\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-responsive-example\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/11\/bootstrap-logo.jpg\",\"datePublished\":\"2017-08-14T13:15:00+00:00\",\"dateModified\":\"2018-01-08T11:05:03+00:00\",\"description\":\"This article discusses the responsive feature of the Bootstrap Framework. We will start with taking a look at what is Responsiveness in terms of websites\",\"breadcrumb\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-responsive-example\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-responsive-example\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-responsive-example\/#primaryimage\",\"url\":\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/11\/bootstrap-logo.jpg\",\"contentUrl\":\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/11\/bootstrap-logo.jpg\",\"width\":150,\"height\":150},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-responsive-example\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.webcodegeeks.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"CSS\",\"item\":\"https:\/\/www.webcodegeeks.com\/category\/css\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Bootstrap\",\"item\":\"https:\/\/www.webcodegeeks.com\/category\/css\/bootstrap\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Bootstrap Responsive Example\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.webcodegeeks.com\/#website\",\"url\":\"https:\/\/www.webcodegeeks.com\/\",\"name\":\"Web Code Geeks\",\"description\":\"Web Developers Resource Center\",\"publisher\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.webcodegeeks.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.webcodegeeks.com\/#organization\",\"name\":\"Exelixis Media P.C.\",\"url\":\"https:\/\/www.webcodegeeks.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.webcodegeeks.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png\",\"contentUrl\":\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png\",\"width\":864,\"height\":246,\"caption\":\"Exelixis Media P.C.\"},\"image\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/webcodegeeks\",\"https:\/\/x.com\/webcodegeeks\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.webcodegeeks.com\/#\/schema\/person\/9c939eb4c915443c7e493c813d979592\",\"name\":\"Siddharth Seth\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.webcodegeeks.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/86a5133a5e9d79f7997e2649b1afe58e895c0d88df47b3359103ec4c1a2077d6?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/86a5133a5e9d79f7997e2649b1afe58e895c0d88df47b3359103ec4c1a2077d6?s=96&d=mm&r=g\",\"caption\":\"Siddharth Seth\"},\"description\":\"Siddharth is a Software Development Professional with a Master degree in Computer Applications from IGNOU. He has over 14 years of experience. And currently focused on Software Architecture, Cloud Computing, JavaScript Frameworks for Client and Server, Business Intelligence.\",\"sameAs\":[\"https:\/\/www.webcodegeeks.com\"],\"url\":\"https:\/\/www.webcodegeeks.com\/author\/siddharth-seth\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Bootstrap Responsive Example - Web Code Geeks - 2026","description":"This article discusses the responsive feature of the Bootstrap Framework. We will start with taking a look at what is Responsiveness in terms of websites","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-responsive-example\/","og_locale":"en_US","og_type":"article","og_title":"Bootstrap Responsive Example - Web Code Geeks - 2026","og_description":"This article discusses the responsive feature of the Bootstrap Framework. We will start with taking a look at what is Responsiveness in terms of websites","og_url":"https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-responsive-example\/","og_site_name":"Web Code Geeks","article_publisher":"https:\/\/www.facebook.com\/webcodegeeks","article_published_time":"2017-08-14T13:15:00+00:00","article_modified_time":"2018-01-08T11:05:03+00:00","og_image":[{"width":150,"height":150,"url":"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/11\/bootstrap-logo.jpg","type":"image\/jpeg"}],"author":"Siddharth Seth","twitter_card":"summary_large_image","twitter_creator":"@webcodegeeks","twitter_site":"@webcodegeeks","twitter_misc":{"Written by":"Siddharth Seth","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-responsive-example\/#article","isPartOf":{"@id":"https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-responsive-example\/"},"author":{"name":"Siddharth Seth","@id":"https:\/\/www.webcodegeeks.com\/#\/schema\/person\/9c939eb4c915443c7e493c813d979592"},"headline":"Bootstrap Responsive Example","datePublished":"2017-08-14T13:15:00+00:00","dateModified":"2018-01-08T11:05:03+00:00","mainEntityOfPage":{"@id":"https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-responsive-example\/"},"wordCount":907,"commentCount":2,"publisher":{"@id":"https:\/\/www.webcodegeeks.com\/#organization"},"image":{"@id":"https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-responsive-example\/#primaryimage"},"thumbnailUrl":"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/11\/bootstrap-logo.jpg","keywords":["bootstrap","responsive design"],"articleSection":["Bootstrap"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-responsive-example\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-responsive-example\/","url":"https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-responsive-example\/","name":"Bootstrap Responsive Example - Web Code Geeks - 2026","isPartOf":{"@id":"https:\/\/www.webcodegeeks.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-responsive-example\/#primaryimage"},"image":{"@id":"https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-responsive-example\/#primaryimage"},"thumbnailUrl":"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/11\/bootstrap-logo.jpg","datePublished":"2017-08-14T13:15:00+00:00","dateModified":"2018-01-08T11:05:03+00:00","description":"This article discusses the responsive feature of the Bootstrap Framework. We will start with taking a look at what is Responsiveness in terms of websites","breadcrumb":{"@id":"https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-responsive-example\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-responsive-example\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-responsive-example\/#primaryimage","url":"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/11\/bootstrap-logo.jpg","contentUrl":"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/11\/bootstrap-logo.jpg","width":150,"height":150},{"@type":"BreadcrumbList","@id":"https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-responsive-example\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.webcodegeeks.com\/"},{"@type":"ListItem","position":2,"name":"CSS","item":"https:\/\/www.webcodegeeks.com\/category\/css\/"},{"@type":"ListItem","position":3,"name":"Bootstrap","item":"https:\/\/www.webcodegeeks.com\/category\/css\/bootstrap\/"},{"@type":"ListItem","position":4,"name":"Bootstrap Responsive Example"}]},{"@type":"WebSite","@id":"https:\/\/www.webcodegeeks.com\/#website","url":"https:\/\/www.webcodegeeks.com\/","name":"Web Code Geeks","description":"Web Developers Resource Center","publisher":{"@id":"https:\/\/www.webcodegeeks.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.webcodegeeks.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.webcodegeeks.com\/#organization","name":"Exelixis Media P.C.","url":"https:\/\/www.webcodegeeks.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.webcodegeeks.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png","contentUrl":"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png","width":864,"height":246,"caption":"Exelixis Media P.C."},"image":{"@id":"https:\/\/www.webcodegeeks.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/webcodegeeks","https:\/\/x.com\/webcodegeeks"]},{"@type":"Person","@id":"https:\/\/www.webcodegeeks.com\/#\/schema\/person\/9c939eb4c915443c7e493c813d979592","name":"Siddharth Seth","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.webcodegeeks.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/86a5133a5e9d79f7997e2649b1afe58e895c0d88df47b3359103ec4c1a2077d6?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/86a5133a5e9d79f7997e2649b1afe58e895c0d88df47b3359103ec4c1a2077d6?s=96&d=mm&r=g","caption":"Siddharth Seth"},"description":"Siddharth is a Software Development Professional with a Master degree in Computer Applications from IGNOU. He has over 14 years of experience. And currently focused on Software Architecture, Cloud Computing, JavaScript Frameworks for Client and Server, Business Intelligence.","sameAs":["https:\/\/www.webcodegeeks.com"],"url":"https:\/\/www.webcodegeeks.com\/author\/siddharth-seth\/"}]}},"_links":{"self":[{"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/posts\/18121","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/users\/213"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/comments?post=18121"}],"version-history":[{"count":0,"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/posts\/18121\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/media\/8515"}],"wp:attachment":[{"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/media?parent=18121"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/categories?post=18121"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/tags?post=18121"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}