Show Output
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Bootstrap 5 Border-radius Classes</title> <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet"> <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js"></script> <style> .bs-example{ margin: 20px; } .bs-example span{ display: inline-block; width: 100px; height: 100px; margin: 10px; background: #868e96; } </style> </head> <body> <div class="bs-example"> <h2>Border-radius</h2> <span class="rounded"></span> <span class="rounded-top"></span> <span class="rounded-end"></span> <span class="rounded-bottom"></span> <span class="rounded-start"></span> <span class="rounded-circle"></span> <span class="rounded-pill"></span> <hr> <h2>Border-radius Sizes</h2> <span class="rounded-0"></span> <span class="rounded-1"></span> <span class="rounded-2"></span> <span class="rounded-3"></span> </div> </body> </html>