Skip to content
Learn Netverks

Lesson

Step 17/36 47% through track

buttons

Buttons and modifiers

Last reviewed May 28, 2026 Content v20260528
Track mode
iframe_html
Means
HTML preview sandbox
Reading
~1 min
Level
beginner

This lesson

This lesson teaches Buttons and modifiers—the ideas, syntax, and habits you need before moving on in Bulma.

Bulma offers a lighter component model when Bootstrap feels too heavy or dated.

You will apply Buttons and modifiers in contexts like: Smaller marketing sites, internal dashboards, and projects that need quick responsive layout with minimal JS.

Read the lesson, edit HTML/CSS in the playground, press Run to preview, then answer the lesson MCQs.

When the previous lesson's MCQs feel easy and you can explain Buttons and modifiers in your own words.

Bulma styles the native <button> and <a class="button"> elements with a shared button base class. Color and size come from modifiers: is-primary, is-light, is-small, is-fullwidth.

Semantics and states

  • Use <button type="button"> for actions; use anchors only when navigation is the real behavior.
  • Disabled: add the disabled attribute on buttons or the is-static modifier where appropriate.
  • Grouped actions: wrap siblings in buttons or buttons has-addons for segmented toolbars.

Compared to Bootstrap buttons, Bulma uses is-* modifiers instead of btn-primary. Tailwind composes utilities; Bulma encodes hover, focus, and contrast in the element stylesheet.

Important interview questions and answers

  1. Q: button vs is-primary?
    A: button is the element class; is-primary picks the palette variant—modifiers stack on the base.
  2. Q: When use is-light or is-outlined?
    A: is-light softens backgrounds on colored sections; is-outlined keeps transparent fills with a border—useful on busy heroes or images.

Self-check

  1. Which two classes create a small danger button?
  2. Why prefer a real button over a styled div?

Interview tip Lesson completion confidence

Can you explain this lesson in 30 seconds without reading notes?

Not saved yet.

Playground

Runs in your browser in a sandboxed frame. Backend runners appear when this track’s profile allows them.

Check yourself

Multiple choice — immediate feedback.

Discussion

Past discussion is visible to everyone. Only logged-in users can post comments and replies.

Starter discussion topics

  • is-fullwidth when?
  • Focus styles on buttons?

Sign up or log in to post comments and sync lesson progress across devices.

No discussion yet. Be the first to ask a question.

Jump