0 votes
122 views
in HTML by (3.5k points)
edited
What are badges? Which class will you use to make your badge look more rounded?

1 Answer

0 votes
by (3.5k points)
edited
Badges are used to supplement any content with additional information. To make rectangular badges, use the .badge class with a contextual class (like .badge-secondary) within <span> elements. It's worth noting that badges scale to fit the parent element's size (if any).

To make the badges more rounded, we use the .badge-pill class.

Related questions

0 votes
1 answer 76 views
asked Aug 21, 2022 in HTML by codelikepro (3.5k points)
0 votes
1 answer 84 views
0 votes
0 answers 90 views
0 votes
1 answer 147 views
0 votes
1 answer 79 views

Doubtly is an online community for engineering students, offering:

  • Free viva questions PDFs
  • Previous year question papers (PYQs)
  • Academic doubt solutions
  • Expert-guided solutions

Get the pro version for free by logging in!

5.7k questions

5.1k answers

108 comments

537 users

...