MALIKA KAROUM

MALIKA KAROUM

  • Home
  • Inleiding
  • Unite Arab Emirates
  • Blog
  • video’s
  • Promotion
    • Worth for free now
    • Work from Home 2023
    • Gadgets
    • All about Windows
    • about Whatsapp
    • Whats the
    • About websites
    • New Ways
    • New Way of Watching
    • Virtual
    • Website
    • All about Video
    • How to Use
    • YouTube Info
    • All about Twitter
    • The Best of
    • About Apps
    • Google News
    • For Free
    • About This
    • Need More
    • Why should you
    • Iphone news
    • Interesting News
    • About Amazone
    • Some tips
    • About Netflix
    • All about Music
    • About Facebook
  • Marketing
    • Malika Karoum Strategie Modules
    • Malika Karoum Online Marketing
    • Malika Karoum Business Service
    • Malika Karoum Marketing Platform
    • Online business marketing
  • Luxury
    • The Indulgence Business site
    • The Luxury Web site
    • The Ultimate Indulgence
    • The Indulgence Site
    • The Ultimate Luxury Information site
    • Online luxury
  • Malika Karoum
    • Malika Karoum LinkedIn
    • Malika Karoum Facebook
    • Malika Karoum Instagram
    • Malika Karoum Business News
    • Adverteren grote fraude
    • Menu POS
    • Malika Karoum Evenementen
  • Security
  • Malika Karoum link
  • Home
  • Malika Karoum Global News
  • 7 New Features to Look Out For in Bootstrap 5
October 4, 2023

7 New Features to Look Out For in Bootstrap 5

7 New Features to Look Out For in Bootstrap 5

by Malika Karoum / Tuesday, 20 April 2021 / Published in Malika Karoum Global News

Bootstrap 5 has come with major changes, including the drop for Internet Explorer (IE) support and jQuery dependency. Developed by Twitter, Bootstrap is the world’s most popular CSS framework. The open-source user interface framework is looking at positioning itself for the future, and this has seen it make ground-breaking changes in v5.

Bootstrap’s drop for IE has made it the first web development tool to do this. The move comes as Internet Explorer’s market share continues to dwindle, accounting for less than 3% of all web browsers.

Read on to see what more improvements have been made to Bootstrap and how they affect you.

1. jQuery Support

Bootstrap will no longer be using the jQuery library. The development team has instead improved the JavaScript library to effect this change. The jQuery dependency wasn’t necessarily a bad thing in Bootstrap.

In fact, the introduction of jQuery radically changed how JavaScript was used. It simplified writing tasks in JavaScript that would otherwise have taken many lines of code.

Related: Learn How to Create an Element in jQuery

Despite all this, the team has decided to do away with it. This comes with the benefit of smaller source files and higher page load times. This was a much needed change which will see Bootstrap gain a more future-friendly style.

The source file size has become lighter by 85KB of minified JavaScript, and this is key since Google considers page load times for mobile sites as a ranking factor.

As much as the use of jQuery is no longer needed in Bootstrap 5, you can still use it if you want. It is also worth noting that all the JavaScript plugins remain available.

2. CSS Custom Properties

By dropping Internet Explorer support, custom CSS properties (variables) can be used. IE doesn’t support custom properties – just one reason why it held back web developers for a long time.

CSS custom properties makes CSS more flexible and programmable. CSS variables are prefixed with -bs to prevent conflict with third party CSS.

There are two types of variables available: root variables and component variables.

Root variables can be accessed wherever Bootstrap CSS is loaded. These variables are located in the _root.scss file and are part of the compiled dist files.

Component variables are used as local variables in particular components. They are helpful to avoid accidental inheritance of styles in components like nested tables.

3. Improved Grid System

Because there were some issues upgrading from version 3 to 4, Bootstrap 5 retains the bulk of the system this time, building upon the existing system instead of completely changing it. Some of the changes are:

  • The gutter class (.gutter) has been replaced to a utility (.g*) much like the margin and padding
  • Vertical spacing classes have also been included
  • Columns are no longer defaulted to position:relative

4. Improved Documentation

Documentation has been enhanced with more information especially when it comes to customization. A common problem was that with many sites that use Bootstrap, you could immediately identify that it was using Bootstrap. Bootstrap 5 now comes with a new look and feel, and with better customization.

There’s now more flexibility to customize your themes so that not every site or app bears the same resemblance. The v4 theming page has actually been expanded with more content and code snippets for building on top of Sass (the popular CSS pre-processor) files. You can also find a starter npm project on the GitHub platform which is available as a template repository.

The color palette has also been expanded in version 5. The extended built-in color system implies that you can easily style your coloring without having to leave your codebase. More work has also been done to improve the color contrast, including the addition of a color contrast metrics in the Bootstrap color docs.

5. Improved Form Controls

Bootstrap has improved its form controls, input groups, and more.

In v4, Bootstrap was using custom form controls in addition to the defaults provided by each browser. In v5, these are all now customized. All the radio buttons, checkboxes, file, range and more to give them the same look and behavior across different browsers.

The new form controls no longer contain unnecessary colorful markup, but instead focus on the standard and logical design features.

6. Bootstrap 5 Adds Utilities API

Following new CSS libraries like Tailwind CSS, Bootstrap is now also adding a utility library. The bootstrap team says that they are happy to see how other developers are “challenging the way we’ve built on the web for the last decade-plus. ”

Utilities are gaining momentum in the development community and the bootstrap team has taken notice. The team had earlier added provision for utilities in v4 using global $ enable-* classes. In v5, they have changed to an API approach and a new language and syntax in Sass. This will give you the power to create new utilities while still being able to remove or modify the defaults given.

As a way to give better organization, some the utilities that were in v4 have been moved to the Helpers section.

7. New Bootstrap Icon Library

Bootstrap now boasts its own open source SVG icon library with over 1,300 icons. It is custom made for the framework’s components but you can still work with them on any project.

Given that they are SVG images, they can quickly scale and can be implemented in many ways and also styled with CSS.

You can install the icons using npm:

$  npm i bootstrap-icons

Install Bootstrap 5

You can go to the Bootstrap 5 official download page if you wish to install it. If you wanted to keep abreast with the latest development release you can use npm to pull it:

$  npm i bootstrap@next

At the time of this writing, the framework is in its Beta 3 version. This means that the software is safe to use but still in development. Feel free to give feedback to the team and make any necessary contribution.

MUO – Feed

  • Tweet
Tagged under: Bootstrap, Features, Look

About Malika Karoum

What you can read next

5 Great Apps That Bring Portrait Mode to Any iPhone
How to Replay a Snapchat
10 Things to Consider When Switching to a Linux Smartphone OS

Malika Karoum Blog 2023

  • How to Delete the Last 15 Minutes of Your Google Search History

    There’s a quick way for you to clear your...
  • Lenovo Wants You to Know Its Yoga Pad Pro Can Be Used as a Portable Switch Display

    Sometimes, when playing with your Nintendo Swit...
  • The 5 Best Apps for Buying and Selling Pre-Owned Books

    We’ve all been at the point where we have...
  • Humble’s Recent "Heal Covid-19" Bundle Raised 1.2 Million for Charity

    To help raise money for COVID-19 relief in Indi...
  • Nintendo Partners With PlayVS to Make Its Games Recognized High School Varsity Athletics

    It’s odd—Nintendo gets a lot of flak for ...
  • The Pros and Cons of Playing Video Games on an Emulator

    If you’re a fan of playing retro video ga...
  • 5 Curators to Find the Best Articles Worth Reading on the Internet

    When anyone and everyone is a publisher, it isn...
  • Apple Could Unveil iPads With OLED Screens in 2023

    Apple only just switched from LCD to mini-LED d...
  • What Is Signal and How Does It Work?

    The chances are that you use at least one of th...
  • Samsung’s Upcoming Flagship Exynos Chipset Will Feature AMD’s RDNA2 GPU

    AMD confirmed its partnership with Samsung at C...
  • Atari Finally Reveals the Launch Date for the New Atari VCS Console

    At last, after what seems like an age (it pract...
  • Twitter Starts Testing Full-Screen Ads in Fleets

    Twitter has announced that it will be adding fu...
  • When Is Facebook Messenger Going to Offer End-to-End Encryption?

    Facebook Messenger is easy to use and has great...
  • Get Paid to Play Apps: How They Work and What You Risk

    You’ve probably seen advertisements for a...
  • When Will PS5 Production Ensure Supply Meets Demand?

    Despite the PS5’s launch taking place in ...
  • How to Manage Processes on Ubuntu Using System Monitor

    Linux, like most modern operating systems, is v...
  • How to Get Verified on Twitter and Finally Get That Blue Check Mark

    Twitter, like most social media platforms, offe...
  • 10 Street Photography Tips That Will Make You a Better Photographer

    Street photography is enjoyed by many enthusias...
  • Huawei Freebuds 4i Review: Quality ANC Earbuds for $100

    Huawei Freebuds 4i 8.00 / 10 Read Reviews Read ...
  • What Is Extended Reality (XR) and How Does It Work?

    We’re living in a digital age where the virtual...

MALIKA KAROUM ONLINE MARKETING PLATFORM

Office:
RME HOLDINGS SARL – DUBAI BRANCH

BUSINESS CENTER

Parcel ID: 345-835

Area: Bur Dubai

Sub Area: Burj Khalifa

UNITED ARAB EMIRATES

 

 

 

Malika Karoum Concept

Malika Karoum Projects

  • GET SOCIAL

© 2014 Malika Karoum -United Arab Emirate Dubai- All Rights Reserved

TOP