class="col-12 col-sm-6 col-md-3"
"scripts": {
"post-autoload-dump": []
}
"post-root-package-install": []
"scripts": {
"post-autoload-dump": [
"@php -r \"copy('vendor/twbs/bootstrap/dist/boostrap.min.css', 'public/css/boostrap.min.css');\""
]
}
.my-button {
--bs-btn-color: ...;
--bs-btn-bg: ...;
--bs-btn-border-color: ...;
--bs-btn-hover-color: ...;
--bs-btn-hover-bg: ...;
--bs-btn-hover-border-color: ...;
--bs-btn-focus-shadow-rgb: ...;
--bs-btn-active-color: ...;
--bs-btn-active-bg: ...;
--bs-btn-active-border-color: ...;
--bs-btn-active-shadow: ...;
--bs-btn-disabled-color: ...;
--bs-btn-disabled-bg: ...;
--bs-btn-disabled-border-color: ...;
}
<button class="btn my-button">
</button>
<div class="row">
<div class="col-lg">контент <button id=menuToggle>Скрыть меню</button></div>
<div class="col-lg-4" id=menu>меню </div>
</div>
<script>
document.getElementById('menuToggle').addEventListener('click', ()
=> document.getElementById('menu').classList.toggle('d-none'));
</script>