With Sitecore 10.2, Bootstrap 5 was added as a grid system possibility. Earlier choices have been Bootstrap 3, Bootstrap 4, Basis, and Grid960. Whereas Bootstrap 4 was the default previous to 10.2, Sitecore Bootstrap 5 is the brand new default grid system. Right here’s what’s new with Bootstrap 5.
Bootstrap additionally dropped assist for IE 10 and 11 and outdated Safari, Firefox, and Chrome variations. This affect is that Bootstrap can now assist extra fashionable CSS options like customized properties, interpolation, and features.
As know-how takes on an increasing number of types in day by day life, the number of display sizes grows to a bigger quantity. It stands to purpose that you really want a grid system that may accommodate the totally different sizes. In Bootstrap 4, we got 5 tiers: XS (portrait telephones, lower than 576px), SM (panorama telephones, 576px and up), MD (tablets, 768px and up), LG (desktops, 992px and up), and XL (massive desktops, 1200px and up).
In Bootstrap 5, a further dimension, XXL, now represents extra-large desktop screens better than or equal to 1400px.
The styling has additionally improved for fundamental net parts like type inputs and accessible coloration palettes.
Earlier than Bootstrap 5, type enter controls used the browser’s default styling. This resulted in a must customise fundamental type controls to keep away from the outdated UX browser type controls used. Now, the inputs use customized styling that gives a fundamental feel and look constant throughout types. They use semantic tags, and the validation messaging coloration palette makes them extra aligned with accessibility requirements.
Sitecore Bootstrap 5’s grid system is a good addition to Sitecore SXA. If I missed any options you assume are particularly vital with this new Grid System, be happy to pontificate within the feedback beneath!