{"componentChunkName":"component---src-templates-blog-js","path":"/blog/bootstrap-5-major-changes","result":{"data":{"site":{"siteMetadata":{"title":"Resources to help developers | Contrast | Devwares"}},"mdx":{"id":"d99c6829-4cb4-5b23-8c8e-0a933c44e3bf","excerpt":"The new bootstrap 5 has been released and has seen so many changes to it. We will be discussing these bootstrap 5 changes in details here and it's importance…","body":"function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\n/* @jsxRuntime classic */\n\n/* @jsx mdx */\nvar _frontmatter = {\n  \"title\": \"Major changes to bootstrap 5\",\n  \"date\": \"2021-01-15T02:16:04+01:00\",\n  \"metaTitle\": \"Major changes to bootstrap 5\",\n  \"metaDescription\": \"Bootstrap is the most popular front-end framework built to design modern, responsive, and dynamic interfaces for professional design web pages. Bootstrap 5 alpha is it's latest version and we are still waiting for a stable one. It was released officially on June 16, 2020.\",\n  \"type\": \"blog\",\n  \"author\": \"Emmanuel Chinonso\",\n  \"role\": \"Web Developer\",\n  \"authorImage\": \"/blog/author_emmanuel.jpg\",\n  \"image\": \"/blog/images/bootstrap-5-alpha.png\",\n  \"tags\": [\"bootstrap 5\", \"bootstrap\", \"bootstrap 5 alpha\"]\n};\nvar layoutProps = {\n  _frontmatter: _frontmatter\n};\nvar MDXLayout = \"wrapper\";\nreturn function MDXContent(_ref) {\n  var components = _ref.components,\n      props = _objectWithoutProperties(_ref, [\"components\"]);\n\n  return mdx(MDXLayout, _extends({}, layoutProps, props, {\n    components: components,\n    mdxType: \"MDXLayout\"\n  }), mdx(\"p\", null, \"The new bootstrap 5 has been released and has seen so many changes to it. We will be discussing these bootstrap 5 changes in details here and it's importance.\"), mdx(\"p\", null, \"Bootstrap is the most popular front-end framework built to design modern, responsive, and dynamic interfaces for professional design web pages. Bootstrap 5 alpha is it's latest version and we are still waiting for a stable one. It was released officially on June 16, 2020.\"), mdx(\"br\", null), mdx(\"h2\", null, \"Bootstrap 5 major changes\"), mdx(\"br\", null), mdx(\"p\", null, mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"New look and feel for bootstrap 5\")), mdx(\"p\", null, \"The bootstrap new version is coming with a new look. They have improved on their doc v4.5.0. Bootstrap doc pages are no longer full width, this helps to improve readability and allow to feel more content-like. The sidebar was also improved with bootstrap expandable section to enable faster navigation. A new logo is also introduced which embodies the bold B with curly braces.\"), mdx(\"p\", null, mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"Bootstrap 5 no jQuery\")), mdx(\"p\", null, \"jQuery has been losing its popularity as most of these modern frameworks work through the virtual DOM and not on the DOM directly that leads to much faster performance and loading speed. Bootstrap has been using jQuery for 8 years now and have seen that is much easier and efficient to discard the technology for better ones. Now bootstrap 5 have changed to venilla JavaScript which is far more popular.\"), mdx(\"p\", null, mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"Dropping the internet Explorer and  using more CSS properties\")), mdx(\"p\", null, \"Thanks to bootstrap dropping the use of internet Explorer they have been able to use alot CSS  customer properties. This allows the developer to focus more on designing their desired web page without worrying about old browser supports or bigger project size.\"), mdx(\"p\", null, mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"Enhanced gird system\")), mdx(\"p\", null, \"We can already see a 12 gird column in version 4 of bootstrap. In bootstrap 5 it comes with xxl grid which is for screens more than 1400px wide. Also the Gutter classes was replaced with \\u2018g-\", mdx(\"em\", {\n    parentName: \"p\"\n  }, \"\\u2019 utilities much like margin/padding utilities. \\u2018gx-\"), \"\\u2019 or \\u2018gy-*\\u2019  can be used to have space between your columns and rows. Additionally, columns are no longer \\u2018position: relative\\u2019 by default.\"), mdx(\"p\", null, \"You can learn more from bootstrap GitHub here.\"), mdx(\"p\", null, mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"New SVG Icon Library\")), mdx(\"p\", null, \"Bootstrap 5 comes with awesome SVG icons which other versions doesn't have. Before the stable version arrive, you can now use the SVG icons for your project without having to check Google for your icons.\"), mdx(\"p\", null, mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"Utility API\")), mdx(\"p\", null, \"Utility has become a way to build apps and web. Bootstrap has decided to include these feature on the new bootstrap 5 version by introducing the API utility version. This is a step forward from the previous bootstrap 4 which introduced the global $enable-* classes. This new API utility wiLl make it possible to create your own utility whenever you want while being able to remove or adjust those provided.\"), mdx(\"p\", null, mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"Updated doc.\")), mdx(\"p\", null, \"Bootstrap have switched from their usual documentation static site Jekyll to Hugo. Bootstrap made these changes because of the slow run of Jekyll and the requirement to download ruby.\\nHugo has none of these problems and these makes it load website faster.\"), mdx(\"p\", null, mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"Conclusion\")), mdx(\"p\", null, \"Bootstrap is expected to release better features in their stable version and provide developers with easy access to tools needed to make your work more artists and mobile friendly.\"));\n}\n;\nMDXContent.isMDXComponent = true;","frontmatter":{"title":"Major changes to bootstrap 5","date":"January 15, 2021","image":"/blog/images/bootstrap-5-alpha.png","author":"Emmanuel Chinonso","role":"Web Developer","authorImage":"/blog/author_emmanuel.jpg","metaTitle":"Major changes to bootstrap 5","metaDescription":"Bootstrap is the most popular front-end framework built to design modern, responsive, and dynamic interfaces for professional design web pages. Bootstrap 5 alpha is it's latest version and we are still waiting for a stable one. It was released officially on June 16, 2020."},"fields":{"slug":"/bootstrap-5-major-changes"}},"previous":null,"next":null},"pageContext":{"id":"d99c6829-4cb4-5b23-8c8e-0a933c44e3bf"}},"staticQueryHashes":["2619113677","2619113677","3706406642","417421954"]}