Lesson 39: Ultra-Small Grid Styles in Bootstrap 5

In previous Bootstrap 5 lessons, we learned about basic grid systems. In this lesson, lets delve deeper into ultra-fine grid types!

In previous Bootstrap 5 lessons , we learned about the basic grid systems . In this lesson, let's delve deeper into the ultra-fine grid types in Bootstrap !

 

Example of a micro-grid table

For example, on a simple layout with two columns, you want to scale it 25%/75% across all devices. Add the following class to both columns:

. .

The basic code is as follows:

Lorem ipsum.

Sed ut perspiciatis.

For example, on the website TipsMake.com:

 Bootstrap Example 

Ultra-small grid (Automatic layout)

The following example will split the screen at a 25%/75% ratio across all devices.

 Giới thiệu về TipsMake.com.com Khởi nguồn từ một trang web cung cấp kiến thức về mạng, server, các thiết bị mạng, thủ thuật máy tính. Hiện nay, TipsMake.com.com đã trở thành mạng xã hội về khoa học công nghệ, mở rộng nội dung để đáp ứng nhu cầu của các thành viên về nhiều lĩnh vực công nghệ hơn như điện thoại, thiết bị thông minh, điện tử, bảo mật máy tính,. Chúng tôi mong muốn các thành viên của mình luôn nắm bắt được những thông tin, kiến thức, xu hướng công nghệ mới nhất, cũng như gỡ rối những vấn đề công nghệ các thành viên gặp phải khi sử dụng máy tính, điện thoại, các thiết bị điện tử thông dụng khác. 

 

Note: Ensure the number of added columns is a maximum of 12 or fewer. You don't need to use all 12 available columns.

For a 33.3%/66.6% split, you would use .col-4and .col-8. If splitting 50%/50%, you would use .col-6and .col-6.

Sample code:

Lorem ipsum.

Sed ut perspiciatis.

 

Lorem ipsum.

Sed ut perspiciatis.

Examples on the web:

 Bootstrap Example 

Ultra-small grid

The following example will show a split-screen ratio of 33.3%/66.6% across all devices.

Adjust the browser window size to see the effect.

 Giới thiệu về TipsMake.com.com: Khởi nguồn từ một trang web cung cấp kiến thức về mạng, server, các thiết bị mạng, thủ thuật máy tính. Hiện nay, TipsMake.com.com đã trở thành mạng xã hội về khoa học công nghệ, mở rộng nội dung để đáp ứng nhu cầu của các thành viên về nhiều lĩnh vực công nghệ hơn như điện thoại, thiết bị thông minh, điện tử, bảo mật máy tính,. Chúng tôi mong muốn các thành viên của mình luôn nắm bắt được những thông tin, kiến thức, xu hướng công nghệ mới nhất, cũng như gỡ rối những vấn đề công nghệ các thành viên gặp phải khi sử dụng máy tính, điện thoại, các thiết bị điện tử thông dụng khác. 

The following example shows 50/50 screen split on all devices.

 Giới thiệu về TipsMake.com.com: Khởi nguồn từ một trang web cung cấp kiến thức về mạng, server, các thiết bị mạng, thủ thuật máy tính. Hiện nay, TipsMake.com.com đã trở thành mạng xã hội về khoa học công nghệ, mở rộng nội dung để đáp ứng nhu cầu của các thành viên về nhiều lĩnh vực công nghệ hơn như điện thoại, thiết bị thông minh, điện tử, bảo mật máy tính,. Chúng tôi mong muốn các thành viên của mình luôn nắm bắt được những thông tin, kiến thức, xu hướng công nghệ mới nhất, cũng như gỡ rối những vấn đề công nghệ các thành viên gặp phải khi sử dụng máy tính, điện thoại, các thiết bị điện tử thông dụng khác. 

 

Automatic layout column

In Bootstrap 5, you have an easy way to create columns of equal width for all devices. Just remove the numbers .col*and use the class .colon only specific numbers of the col elements. Bootstrap will determine the number of columns present, and each column will have the same width.

 1 of 2 2 of 2  1 of 4 2 of 4 3 of 4 4 of 4 

Examples on the web:

 Bootstrap Example Cột 1/2 Cột 2/2 
Cột 1/4 Cột 2/4 Cột 3/4 Cột 4/4

Above are some examples of microgrids in Bootstrap 5. Hopefully, this article has helped you better understand grids when using Bootstrap.

Related posts
  • How to customize Bootstrap with Sass

    bootstrap is a fantastic css framework that can help you create stylish and polished websites. some programmers and development teams find that writing code in bootstrap is easier to edit than regular css.
  • Answering frequently asked questions about Bootstrap

    bootstrap is a popular web and application development tool. to help you understand it better, tipsmake.com will compile and answer frequently asked questions about bootstrap.
  • Lesson 41: Grid Medium in Bootstrap 5

    in the previous bootstrap 5 lesson, you learned how to create grids with classes for small screens. however, on medium-sized devices with better designs, the grid is often divided 50%/50%.
  • Lesson 40: Small Grid in Bootstrap 5

    continuing our lesson on grids in bootstrap 5, we'll learn how to create the simplest small grid. basically, creating a small grid using bootstrap 5 isn't difficult.
  • Lesson 1: What is Bootstrap 5? How to get started?

    using bootstrap 5 isn't too difficult. this article will tell you what bootstrap 5 is and how to use it.
  • Update the latest Bootstrap

    with the latest version, bootstrap 5.3.0, this framework has introduced a set of exciting new features and powerful improvements for multi-purpose web and app development.
Other Program articles
Category

System

Windows XP

Windows Server 2012

Windows 8

Windows 7

Windows 10

Wifi tips

Virus Removal - Spyware

Speed ​​up the computer

Server

Security solution

Mail Server

LAN - WAN

Ghost - Install Win

Fix computer error

Configure Router Switch

Computer wallpaper

Computer security

Mac OS X

Mac OS System software

Mac OS Security

Mac OS Office application

Mac OS Email Management

Mac OS Data - File

Mac hardware

Hardware

USB - Flash Drive

Speaker headset

Printer

PC hardware

Network equipment

Laptop hardware

Computer components

Advice Computer

Game

PC game

Online game

Mobile Game

Pokemon GO

information

Technology story

Technology comments

Quiz technology

New technology

British talent technology

Attack the network

Artificial intelligence

Technology

Smart watches

Raspberry Pi

Linux

Camera

Basic knowledge

Banking services

SEO tips

Science

Strange story

Space Science

Scientific invention

Science Story

Science photo

Science and technology

Medicine

Health Care

Fun science

Environment

Discover science

Discover nature

Archeology

Life

Travel Experience

Tips

Raise up child

Make up

Life skills

Home Care

Entertainment

DIY Handmade

Cuisine

Christmas

Application

Web Email

Website - Blog

Web browser

Support Download - Upload

Software conversion

Social Network

Simulator software

Online payment

Office information

Music Software

Map and Positioning

Installation - Uninstall

Graphic design

Free - Discount

Email reader

Edit video

Edit photo

Compress and Decompress

Chat, Text, Call

Archive - Share

Electric

Water heater

Washing machine

Television

Machine tool

Fridge

Fans

Air conditioning

Program

Unix and Linux

SQL Server

SQL

Python

Programming C

PHP

NodeJS

MongoDB

jQuery

JavaScript

HTTP

HTML

Git

Database

Data structure and algorithm

CSS and CSS3

C ++

C #

AngularJS

Mobile

Wallpapers and Ringtones

Tricks application

Take and process photos

Storage - Sync

Security and Virus Removal

Personalized

Online Social Network

Map

Manage and edit Video

Data

Chat - Call - Text

Browser and Add-on

Basic setup