Skip to content
Learn Netverks

Lesson

Step 11/36 31% through track

layout-patterns

Common layout patterns

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

This lesson

This lesson teaches Common layout patterns—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 Common layout patterns 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 Common layout patterns in your own words.

Most production pages combine a handful of Bulma patterns: fixed navbar, hero or page title, sidebar + main columns, and a footer. Recognizing these recipes speeds up prototyping without fighting the framework.

Pattern: marketing landing

navbarhero is-fullheight-with-navbar → feature section with columnsfooter. Use has-text-centered on hero content and button is-primary is-large for the primary CTA.

Pattern: app shell

navbar is-fixed-topsection with columns where sidebar is column is-3 and main is column. Add top padding to the section to clear the fixed navbar (pt-6 or custom offset).

Pattern: documentation page

Narrow container, columns with is-narrow sidebar links and flexible content column—similar to how this tutorial site structures lessons.

Navbar note

The mobile navbar-burger toggle requires JavaScript (or a checkbox hack) to add is-active on the burger and menu. Bulma documents the markup; wire the toggle in your app—this track keeps playgrounds CSS-only unless noted in prose.

Important interview questions and answers

  1. Q: How do you handle a fixed navbar overlapping content?
    A: Add top padding or margin to the first section equal to navbar height, or use Bulma’s is-fullheight-with-navbar on heroes designed for that case.
  2. Q: Can you mix Bulma with custom grid CSS?
    A: Yes—Bulma columns are flex; CSS Grid can coexist on different sections, but avoid fighting Bulma’s flex rules on the same element.

Self-check

  1. Sketch class names for a two-column docs layout with a narrow sidebar.
  2. Why does navbar-burger need JS outside the CSS bundle?

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

  • Pattern from your last project?
  • What would you simplify?

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