{"id":9271,"date":"2015-12-17T16:11:49","date_gmt":"2015-12-17T14:11:49","guid":{"rendered":"http:\/\/www.webcodegeeks.com\/?p=9271"},"modified":"2018-01-08T13:25:00","modified_gmt":"2018-01-08T11:25:00","slug":"bootstrap-panel-example","status":"publish","type":"post","link":"https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-panel-example\/","title":{"rendered":"Bootstrap Panel Example"},"content":{"rendered":"<p>The aim of this example is to create and use Bootstrap panels. While not always necessary, sometimes you need to put your DOM in a box. A panel in bootstrap is a bordered box with some padding around its content.<\/p>\n<p>So, why do you need it? It&#8217;s always necessary to find ways to organize information inside a webpage. It helps maintain user interaction and enhance experience, as well as gives your page a systematic look.<\/p>\n<p>Panels are another simple and clean way of showing content. Panels may have headers and footers, and also include tables or list groups. For more creativity, contextual panels can be used.<br \/>\n&nbsp;<br \/>\n&nbsp;<br \/>\n[ulp id=&#8217;57DHuNTHJ2qczaGz&#8217;]<\/p>\n<h2>1. Project Setup<\/h2>\n<p>The following requirements need to be met in order to continue adding panels with Bootstrap.<\/p>\n<h3>1.1 Project Folder Setup<\/h3>\n<p>Create a new HTML file, which will be your main one, and make sure you have the following folder structure after downloading Boostrap.<\/p>\n<p><a href=\"http:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/12\/panel-1.jpg\"><img decoding=\"async\" src=\"http:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/12\/panel-1.jpg\" alt=\"panel-1\" width=\"820\" height=\"441\" class=\"aligncenter size-full wp-image-9276\" srcset=\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/12\/panel-1.jpg 820w, https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/12\/panel-1-300x160.jpg 300w\" sizes=\"(max-width: 820px) 100vw, 820px\" \/><\/a><\/p>\n<h3>1.2 Main HTML Setup<\/h3>\n<p>Bootstrap already provides a base HTML, which contains links and references to all its&#8217; libraries, including a CDN version of jQuery. Your main HTML file should have the following basic syntax inside:<\/p>\n<pre class=\"brush:xml\">\r\n&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;title&gt;Bootstrap Panel Example&lt;\/title&gt;\r\n\r\n    &lt;!-- Bootstrap --&gt;\r\n    &lt;link href=\"css\/bootstrap.min.css\" rel=\"stylesheet\"&gt;\r\n  &lt;\/head&gt;\r\n  &lt;body&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.11.3\/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;script src=\"js\/bootstrap.min.js\"&gt;&lt;\/script&gt;\r\n  &lt;\/body&gt;\r\n&lt;\/html&gt;\r\n<\/pre>\n<h2>2. Default Example<\/h2>\n<p>Panels are created with the <code>.panel<\/code> class, and content inside the panel has a <code>.panel-body<\/code> class. By default, all the <code>.panel<\/code> does is apply some basic border and padding to contain some content:<\/p>\n<pre class=\"brush:xml\">\r\n&lt;div class=\"panel panel-default\"&gt;\r\n    &lt;div class=\"panel-body\"&gt;\r\n        Basic panel example\r\n    &lt;\/div&gt;\r\n&lt;\/div&gt;\r\n<\/pre>\n<p>The result in the browser would be:<br \/>\n<a href=\"http:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/12\/panel-2.jpg\"><img decoding=\"async\" src=\"http:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/12\/panel-2.jpg\" alt=\"panel-2\" width=\"820\" height=\"179\" class=\"aligncenter size-full wp-image-9279\" srcset=\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/12\/panel-2.jpg 820w, https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/12\/panel-2-300x65.jpg 300w\" sizes=\"(max-width: 820px) 100vw, 820px\" \/><\/a><\/p>\n<h2>3. Cases and Examples<\/h3>\n<p>The following sections introduces a series of examples of how you can customize and use the panel in Bootstrap.<\/p>\n<h3>3.1 Panel with Heading<\/h3>\n<p>Easily add a heading container to your panel with <code>.panel-heading<\/code>. You may also include any h1-h6 with a <code>.panel-title<\/code> class to add a pre-styled heading. However, the font sizes of &lt;h1&gt;-&lt;h6&gt; are overridden by <code>.panel-heading<\/code>.<\/p>\n<p>For proper link coloring, be sure to place links in headings within <code>.panel-title<\/code>.<\/p>\n<pre class=\"brush:xml\">\r\n&lt;div class=\"panel panel-default\"&gt;\r\n  &lt;div class=\"panel-heading\"&gt;Panel Heading Without Title&lt;\/div&gt;\r\n  &lt;div class=\"panel-body\"&gt;\r\n    Panel Content Goes Here\r\n  &lt;\/div&gt;\r\n&lt;\/div&gt;\r\n\r\n&lt;div class=\"panel panel-default\"&gt;\r\n  &lt;div class=\"panel-heading\"&gt;\r\n    &lt;h3 class=\"panel-title\"&gt;Panel Title&lt;\/h3&gt;\r\n  &lt;\/div&gt;\r\n  &lt;div class=\"panel-body\"&gt;\r\n    Panel Content Goes Here\r\n  &lt;\/div&gt;\r\n&lt;\/div&gt;\r\n<\/pre>\n<p>The result would be:<br \/>\n<a href=\"http:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/12\/panel-3.jpg\"><img decoding=\"async\" src=\"http:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/12\/panel-3.jpg\" alt=\"panel-3\" width=\"820\" height=\"337\" class=\"aligncenter size-full wp-image-9281\" srcset=\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/12\/panel-3.jpg 820w, https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/12\/panel-3-300x123.jpg 300w\" sizes=\"(max-width: 820px) 100vw, 820px\" \/><\/a><\/p>\n<h3>3.2 Panel with Footer<\/h3>\n<p>Wrap buttons or secondary text in <code>.panel-footer<\/code>. Note that panel footers do not inherit colors and borders when using contextual variations as they are not meant to be in the foreground.<\/p>\n<pre class=\"brush:xml\">\r\n&lt;div class=\"panel panel-default\"&gt;\r\n  &lt;div class=\"panel-body\"&gt;\r\n    Panel Content\r\n  &lt;\/div&gt;\r\n  &lt;div class=\"panel-footer\"&gt;Panel Footer&lt;\/div&gt;\r\n&lt;\/div&gt;\r\n<\/pre>\n<p>The result would be:<br \/>\n<a href=\"http:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/12\/panel-4.jpg\"><img decoding=\"async\" src=\"http:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/12\/panel-4.jpg\" alt=\"panel-4\" width=\"820\" height=\"223\" class=\"aligncenter size-full wp-image-9283\" srcset=\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/12\/panel-4.jpg 820w, https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/12\/panel-4-300x82.jpg 300w\" sizes=\"(max-width: 820px) 100vw, 820px\" \/><\/a><\/p>\n<h3>3.3 Contextual Alternatives<\/h3>\n<p>Like other components, easily make a panel more meaningful to a particular context by adding any of the contextual state classes.<\/p>\n<pre class=\"brush:xml\">\r\n&lt;div class=\"panel panel-primary\"&gt;...&lt;\/div&gt;\r\n&lt;div class=\"panel panel-success\"&gt;...&lt;\/div&gt;\r\n&lt;div class=\"panel panel-info\"&gt;...&lt;\/div&gt;\r\n&lt;div class=\"panel panel-warning\"&gt;...&lt;\/div&gt;\r\n&lt;div class=\"panel panel-danger\"&gt;...&lt;\/div&gt;\r\n<\/pre>\n<p>The contextual classes would result in the following:<br \/>\n<a href=\"http:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/12\/panel-5.jpg\"><img decoding=\"async\" src=\"http:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/12\/panel-5.jpg\" alt=\"panel-5\" width=\"820\" height=\"677\" class=\"aligncenter size-full wp-image-9285\" srcset=\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/12\/panel-5.jpg 820w, https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/12\/panel-5-300x248.jpg 300w\" sizes=\"(max-width: 820px) 100vw, 820px\" \/><\/a><\/p>\n<h3>3.4 Panels with Tables<\/h3>\n<p>Add any non-bordered <code>.table<\/code> within a panel for a seamless design. If there is a <code>.panel-body<\/code>, we add an extra border to the top of the table for separation.<\/p>\n<pre class=\"brush:xml\">\r\n&lt;div class=\"panel panel-default\"&gt;\r\n  &lt;!-- Default panel contents --&gt;\r\n  &lt;div class=\"panel-heading\"&gt;Panel heading&lt;\/div&gt;\r\n  &lt;div class=\"panel-body\"&gt;\r\n    &lt;p&gt;...&lt;\/p&gt;\r\n  &lt;\/div&gt;\r\n\r\n  &lt;!-- Table --&gt;\r\n  &lt;table class=\"table\"&gt;\r\n    ...\r\n  &lt;\/table&gt;\r\n&lt;\/div&gt;\r\n<\/pre>\n<p>The panel with a table in it would look like this:<br \/>\n<a href=\"http:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/12\/panel-6.jpg\"><img decoding=\"async\" src=\"http:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/12\/panel-6.jpg\" alt=\"panel-6\" width=\"820\" height=\"383\" class=\"aligncenter size-full wp-image-9287\" srcset=\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/12\/panel-6.jpg 820w, https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/12\/panel-6-300x140.jpg 300w\" sizes=\"(max-width: 820px) 100vw, 820px\" \/><\/a><\/p>\n<h3>3.5 Panels with List Groups<\/h3>\n<p>In addition to tables, Bootstrap also<\/p>\n<pre class=\"brush:xml\">\r\n&lt;div class=\"panel panel-default\"&gt;\r\n  &lt;!-- Default panel contents --&gt;\r\n  &lt;div class=\"panel-heading\"&gt;Panel heading&lt;\/div&gt;\r\n  &lt;div class=\"panel-body\"&gt;\r\n    &lt;p&gt;...&lt;\/p&gt;\r\n  &lt;\/div&gt;\r\n\r\n  &lt;!-- List group --&gt;\r\n  &lt;ul class=\"list-group\"&gt;\r\n    &lt;li class=\"list-group-item\"&gt;Cras justo odio&lt;\/li&gt;\r\n    &lt;li class=\"list-group-item\"&gt;Dapibus ac facilisis in&lt;\/li&gt;\r\n    &lt;li class=\"list-group-item\"&gt;Morbi leo risus&lt;\/li&gt;\r\n    &lt;li class=\"list-group-item\"&gt;Porta ac consectetur ac&lt;\/li&gt;\r\n    &lt;li class=\"list-group-item\"&gt;Vestibulum at eros&lt;\/li&gt;\r\n  &lt;\/ul&gt;\r\n&lt;\/div&gt;\r\n<\/pre>\n<p>The panel with list group would look like so:<br \/>\n<a href=\"http:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/12\/panel-7.jpg\"><img decoding=\"async\" src=\"http:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/12\/panel-7.jpg\" alt=\"panel-7\" width=\"820\" height=\"471\" class=\"aligncenter size-full wp-image-9290\" srcset=\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/12\/panel-7.jpg 820w, https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/12\/panel-7-300x172.jpg 300w\" sizes=\"(max-width: 820px) 100vw, 820px\" \/><\/a><\/p>\n<h2>4. Conclusion<\/h2>\n<p>To conclude, panels in Bootstrap are just another tool pre-styled and in harmony with other elements of this framework. It helps you show information in a clean and elegant way, so you don&#8217;t have to worry about organizing content. Contextual classes add extra design to the panels. All modifications are as easy as 1,2,3 meaning that you just have to add classes to <code>div<\/code> elements.<\/p>\n<h2>5. Download<\/h2>\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\/2015\/12\/Bootstrap-Panel.zip\"><strong>Bootstrap Panel<\/strong><\/a>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>The aim of this example is to create and use Bootstrap panels. While not always necessary, sometimes you need to put your DOM in a box. A panel in bootstrap is a bordered box with some padding around its content. So, why do you need it? It&#8217;s always necessary to find ways to organize information &hellip;<\/p>\n","protected":false},"author":75,"featured_media":8515,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[284],"tags":[],"class_list":["post-9271","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-bootstrap"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Bootstrap Panel Example - Web Code Geeks - 2026<\/title>\n<meta name=\"description\" content=\"The aim of this example is to create and use Bootstrap panels. While not always necessary, sometimes you need to put your DOM in a box. A panel in\" \/>\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-panel-example\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Bootstrap Panel Example - Web Code Geeks - 2026\" \/>\n<meta property=\"og:description\" content=\"The aim of this example is to create and use Bootstrap panels. While not always necessary, sometimes you need to put your DOM in a box. A panel in\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-panel-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:author\" content=\"https:\/\/www.facebook.com\/fabiocimo\" \/>\n<meta property=\"article:published_time\" content=\"2015-12-17T14:11:49+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-01-08T11:25:00+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=\"Fabio Cimo\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@fabiocimo\" \/>\n<meta name=\"twitter:site\" content=\"@webcodegeeks\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Fabio Cimo\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 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-panel-example\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-panel-example\/\"},\"author\":{\"name\":\"Fabio Cimo\",\"@id\":\"https:\/\/www.webcodegeeks.com\/#\/schema\/person\/1dfb88b4a8d08c37a6080311fd330a22\"},\"headline\":\"Bootstrap Panel Example\",\"datePublished\":\"2015-12-17T14:11:49+00:00\",\"dateModified\":\"2018-01-08T11:25:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-panel-example\/\"},\"wordCount\":521,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-panel-example\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/11\/bootstrap-logo.jpg\",\"articleSection\":[\"Bootstrap\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-panel-example\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-panel-example\/\",\"url\":\"https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-panel-example\/\",\"name\":\"Bootstrap Panel Example - Web Code Geeks - 2026\",\"isPartOf\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-panel-example\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-panel-example\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/11\/bootstrap-logo.jpg\",\"datePublished\":\"2015-12-17T14:11:49+00:00\",\"dateModified\":\"2018-01-08T11:25:00+00:00\",\"description\":\"The aim of this example is to create and use Bootstrap panels. While not always necessary, sometimes you need to put your DOM in a box. A panel in\",\"breadcrumb\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-panel-example\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-panel-example\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-panel-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-panel-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 Panel 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\/1dfb88b4a8d08c37a6080311fd330a22\",\"name\":\"Fabio Cimo\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.webcodegeeks.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/b3df055f2e1b62e238889fafbb16121c68aab1adcd11af670e185cafae201b3b?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/b3df055f2e1b62e238889fafbb16121c68aab1adcd11af670e185cafae201b3b?s=96&d=mm&r=g\",\"caption\":\"Fabio Cimo\"},\"description\":\"Fabio is a passionate student in web tehnologies including front-end (HTML\/CSS) and web design. He likes exploring as much as possible about the world wide web and how it can be more productive for us all. Currently he studies Computer Engineering, at the same time he works as a freelancer on both web programming and graphic design.\",\"sameAs\":[\"https:\/\/www.facebook.com\/fabiocimo\",\"https:\/\/al.linkedin.com\/in\/fabiocimo\",\"https:\/\/x.com\/fabiocimo\",\"https:\/\/www.youtube.com\/fabiocimo1\"],\"url\":\"https:\/\/www.webcodegeeks.com\/author\/fabio-cimo\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Bootstrap Panel Example - Web Code Geeks - 2026","description":"The aim of this example is to create and use Bootstrap panels. While not always necessary, sometimes you need to put your DOM in a box. A panel in","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-panel-example\/","og_locale":"en_US","og_type":"article","og_title":"Bootstrap Panel Example - Web Code Geeks - 2026","og_description":"The aim of this example is to create and use Bootstrap panels. While not always necessary, sometimes you need to put your DOM in a box. A panel in","og_url":"https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-panel-example\/","og_site_name":"Web Code Geeks","article_publisher":"https:\/\/www.facebook.com\/webcodegeeks","article_author":"https:\/\/www.facebook.com\/fabiocimo","article_published_time":"2015-12-17T14:11:49+00:00","article_modified_time":"2018-01-08T11:25:00+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":"Fabio Cimo","twitter_card":"summary_large_image","twitter_creator":"@fabiocimo","twitter_site":"@webcodegeeks","twitter_misc":{"Written by":"Fabio Cimo","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-panel-example\/#article","isPartOf":{"@id":"https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-panel-example\/"},"author":{"name":"Fabio Cimo","@id":"https:\/\/www.webcodegeeks.com\/#\/schema\/person\/1dfb88b4a8d08c37a6080311fd330a22"},"headline":"Bootstrap Panel Example","datePublished":"2015-12-17T14:11:49+00:00","dateModified":"2018-01-08T11:25:00+00:00","mainEntityOfPage":{"@id":"https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-panel-example\/"},"wordCount":521,"commentCount":0,"publisher":{"@id":"https:\/\/www.webcodegeeks.com\/#organization"},"image":{"@id":"https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-panel-example\/#primaryimage"},"thumbnailUrl":"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/11\/bootstrap-logo.jpg","articleSection":["Bootstrap"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-panel-example\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-panel-example\/","url":"https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-panel-example\/","name":"Bootstrap Panel Example - Web Code Geeks - 2026","isPartOf":{"@id":"https:\/\/www.webcodegeeks.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-panel-example\/#primaryimage"},"image":{"@id":"https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-panel-example\/#primaryimage"},"thumbnailUrl":"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/11\/bootstrap-logo.jpg","datePublished":"2015-12-17T14:11:49+00:00","dateModified":"2018-01-08T11:25:00+00:00","description":"The aim of this example is to create and use Bootstrap panels. While not always necessary, sometimes you need to put your DOM in a box. A panel in","breadcrumb":{"@id":"https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-panel-example\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-panel-example\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-panel-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-panel-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 Panel 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\/1dfb88b4a8d08c37a6080311fd330a22","name":"Fabio Cimo","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.webcodegeeks.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/b3df055f2e1b62e238889fafbb16121c68aab1adcd11af670e185cafae201b3b?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b3df055f2e1b62e238889fafbb16121c68aab1adcd11af670e185cafae201b3b?s=96&d=mm&r=g","caption":"Fabio Cimo"},"description":"Fabio is a passionate student in web tehnologies including front-end (HTML\/CSS) and web design. He likes exploring as much as possible about the world wide web and how it can be more productive for us all. Currently he studies Computer Engineering, at the same time he works as a freelancer on both web programming and graphic design.","sameAs":["https:\/\/www.facebook.com\/fabiocimo","https:\/\/al.linkedin.com\/in\/fabiocimo","https:\/\/x.com\/fabiocimo","https:\/\/www.youtube.com\/fabiocimo1"],"url":"https:\/\/www.webcodegeeks.com\/author\/fabio-cimo\/"}]}},"_links":{"self":[{"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/posts\/9271","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\/75"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/comments?post=9271"}],"version-history":[{"count":0,"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/posts\/9271\/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=9271"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/categories?post=9271"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/tags?post=9271"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}