0 votes
133 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 93 views
asked Aug 21, 2022 in HTML by codelikepro (3.5k points)
0 votes
1 answer 92 views
0 votes
0 answers 100 views
0 votes
1 answer 165 views
0 votes
1 answer 89 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

557 users

...