write in bootstrap 5.3.3 code, I have a heading text and I want blue color rectable…
- User
write in bootstrap 5.3.3 code, I have a heading text and I want blue color rectable below text heading, the blue color rectangle should cover only 75% of text. And both text and color are in the center of div.
- Assistant
To create a layout in Bootstrap 5.3.3 where you have a heading text centered above a blue rectangle that covers 75% of the width of the text, you can use the following HTML and Bootstrap classes. Below is a sample code snippet:
html - User
sorry the blue rectangle should be behind the text covering 75%
- Assistant