Mode:
Duration:
1
Coding works best on desktop or with an external keyboard.
Coding works best on desktop or with an external keyboard.
Shows how to create dismissible notification boxes using Bulma.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://cdn.jsdelivr.net/npm/bulma@0.9.4/css/bulma.min.css" rel="stylesheet">
<title>Bulma Notification</title>
</head>
<body>
<section class="section">
<div class="container">
<div class="notification is-primary">
<button class="delete"></button>
This is a primary notification.
</div>
</div>
</section>
<script>
document.querySelectorAll('.notification .delete').forEach(btn => {
btn.addEventListener('click', () => btn.parentElement.remove());
});
</script>
</body>
</html>Bulma is a modern, open-source CSS framework based entirely on Flexbox. It provides a clean, responsive, and modular approach to building web interfaces without any JavaScript dependencies.
Origin & Creator
Created by Jeremy Thomas in 2016 to provide a simple, modern, and fully Flexbox-based CSS framework.
Industrial Note
Bulma is often used in lightweight web apps, marketing sites, admin dashboards, and projects where JS-free CSS frameworks are preferred.