<button type="button" class="close" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
You don't need to remember all these classes. Just use a bootstrap builder instead.
/* _alert.scss:33 */
.close {
position: absolute;
top: 0;
right: 0;
padding: $alert-padding-y $alert-padding-x;
color: inherit;
}
/* _modal.scss:108 */
.close {
padding: $modal-header-padding;
// auto on the left force icon to the right even when there is no .modal-title
margin: (-$modal-header-padding) (-$modal-header-padding) (-$modal-header-padding) auto;
}
Code copied to the clipboard.
Copying failed
/* _alert.scss:33 */
$alert-padding-y
$alert-padding-x
/* _modal.scss:108 */
$modal-header-padding
$modal-header-padding
$modal-header-padding
$modal-header-padding