I am trying to apply a specific CSS style to a division that includes a bootstrap button. To achieve this, I have added the CSS code directly inline within the button tag to avoid affecting other bootstrap buttons on the page.
The following inline code snippet is working successfully:
<div id="bootstrapButton">
<button style="padding: 5px; width: 250px; margin-top: 4px !important" class="btn btn-outline-primary shadow bg-white rounded" type="button" data-toggle="collapse" data-target="#adminSection" aria-expanded="false" aria-controls="adminSection">
</div>
However, I now wish to import a CSS file that includes the same styles for the buttons inside the div (noting that the class to be affected will be "btn").