In my recent code, I included a bootstrap css reference in this manner:
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
However, the border that is applied to .card
elements by default is not something I like. I attempted to override the bootstrap styling and remove the border by adding style="border: 0"
to the card div, but it had no effect.
.card {
border: 0;
}
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
<div class="card card-sm" id="localcard">
<p> See Thin Border </p>
</div>
Is there a way for me to successfully eliminate this border?