Lesson 2: Build Beautiful Websites with Minimal CSS
Grade 11 Web Development
Bulma's human-readable classes make it perfect for beginners. It's CSS-only (no JavaScript required) and built with modern Flexbox.
Bulma uses modifier classes that start with is- or has-
Change element's appearance
is-primaryis-largeis-rounded
Change element's content
has-text-whitehas-background-darkhas-text-weight-bold
Add classes to this button to make it:
Solution: class="button is-large is-danger is-rounded is-outlined"
Bulma uses Flexbox for all layouts. The columns and column classes create responsive grids automatically.
Half width
Auto width
Auto width
Create a 4-column layout where:
Solution: Use is-one-quarter and is-half classes
Bulma includes styled components that work out of the box:
Card Title
Card content goes here
Info Message
Create a blog homepage with Bulma that includes:
Next Lesson: Tailwind CSS - Utility-First Approach!