title: Does bootstrap 5 have a built-in horizontal line?
body: <p>I'm looking for styled or colored horizontal lines, preferably with success, primary, warning classes.
  A similar concept to <a href="https://getbootstrap.com/docs/5.0/helpers/colored-links/" rel="noreferrer">colored links.</a></p>
  <p>I couldn't find this topic on Bootstrap's website.</p>
  <p>I found a few working solutions referring to <a href="https://stackoverflow.com/a/64277965/7995811">Bootstrap v4.</a></p>
  <p>In my case:</p>
  <p><code>&lt;div class=&quot;divider py-1 bg-success&quot;&gt;&lt;/div&gt;</code></p>
  <p>It works, but I guess it's not the best practice...</p>