المرجع البرمجي (Docs reference)
أمثلة على المكونات والأنماط الخاصة بمستندات Bootstrap.
في هذه الصفحة
الأزرار
وسائل الشرح - التنبيهات
Default callout
Warning callout
Danger callout
مثال على الكود
.test {
--color: blue;
}
The HTML abbreviation element.
This is a test.
<div class="test">This is a test.</div> $gradient: linear-gradient(180deg, rgba($white, .15), rgba($white, 0));
const toastTrigger = document.getElementById('liveToastBtn')
const toastLiveExample = document.getElementById('liveToast')
if (toastTrigger) {
const toastBootstrap = bootstrap.Toast.getOrCreateInstance(toastLiveExample)
toastTrigger.addEventListener('click', () => {
toastBootstrap.show()
})
}