Skip to main content

Meta / Stylesheet

Load external CSS resources if needed.

from h2o_wave import site, ui

page = site['/demo']

# Add a placeholder.
page['example'] = ui.markup_card(
box='1 1 2 2',
title='This button should have Bootstrap styles.',
content='<button type="button" class="btn btn-primary">Primary</button>',

page['meta'] = ui.meta_card(
# Load external stylesheet. The `path` can also be the one returned from `` if you want to use your own CSS files.