mirror of
https://github.com/jgthms/bulma.git
synced 2024-11-28 12:24:23 +00:00
1406 lines
68 KiB
HTML
1406 lines
68 KiB
HTML
|
<!DOCTYPE html>
|
|||
|
<html lang="en" class="route-documentation">
|
|||
|
<head>
|
|||
|
<meta charset="utf-8">
|
|||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|||
|
<meta name="description" content="Bulma v0.4.4 is an open source CSS framework based on Flexbox and built with Sass. It's 100% responsive, fully modular, and available for free.">
|
|||
|
|
|||
|
<title>Bulma v0.4.4: a modern CSS framework based on Flexbox</title>
|
|||
|
|
|||
|
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css">
|
|||
|
<link rel="stylesheet" href="http://bulma.io/versions/0.4.4/css/bulma-docs.css">
|
|||
|
|
|||
|
<link rel="canonical" href="http://bulma.io/versions/0.4.4/documentation/elements/button/">
|
|||
|
<link rel="alternate" type="application/rss+xml" title="Bulma v0.4.4: a modern CSS framework based on Flexbox" href="http://bulma.io/versions/0.4.4/feed.xml">
|
|||
|
|
|||
|
<meta property="og:url" content="http://bulma.io/versions/0.4.4">
|
|||
|
<meta property="og:type" content="website">
|
|||
|
<meta property="og:title" content="Bulma v0.4.4: a modern CSS framework based on Flexbox">
|
|||
|
<meta property="og:image" content="http://bulma.io/versions/0.4.4/images/bulma-banner.png">
|
|||
|
<meta property="og:image:type" content="image/png">
|
|||
|
<meta property="og:image:width" content="1200">
|
|||
|
<meta property="og:image:height" content="630">
|
|||
|
<meta property="og:description" content="Bulma v0.4.4 is an open source CSS framework based on Flexbox and built with Sass. It's 100% responsive, fully modular, and available for free.">
|
|||
|
|
|||
|
<meta name="twitter:card" content="summary_large_image">
|
|||
|
<meta name="twitter:site" content="@jgthms">
|
|||
|
<meta name="twitter:creator" content="@jgthms">
|
|||
|
<meta name="twitter:title" content="Bulma v0.4.4: a modern CSS framework based on Flexbox">
|
|||
|
<meta name="twitter:image" content="http://bulma.io/versions/0.4.4/images/bulma-banner.png">
|
|||
|
<meta name="twitter:description" content="Bulma v0.4.4 is an open source CSS framework based on Flexbox and built with Sass. It's 100% responsive, fully modular, and available for free.">
|
|||
|
|
|||
|
<link rel="apple-touch-icon" sizes="180x180" href="http://bulma.io/versions/0.4.4/favicons/apple-touch-icon.png?v=201701041855">
|
|||
|
<link rel="icon" type="image/png" href="http://bulma.io/versions/0.4.4/favicons/favicon-32x32.png?v=201701041855" sizes="32x32">
|
|||
|
<link rel="icon" type="image/png" href="http://bulma.io/versions/0.4.4/favicons/favicon-16x16.png?v=201701041855" sizes="16x16">
|
|||
|
<link rel="manifest" href="http://bulma.io/versions/0.4.4/favicons/manifest.json?v=201701041855">
|
|||
|
<link rel="mask-icon" href="http://bulma.io/versions/0.4.4/favicons/safari-pinned-tab.svg?v=201701041855" color="#00d1b2">
|
|||
|
<link rel="shortcut icon" href="http://bulma.io/versions/0.4.4/favicons/favicon.ico?v=201701041855">
|
|||
|
<meta name="msapplication-config" content="http://bulma.io/versions/0.4.4/favicons/browserconfig.xml?v=201701041855">
|
|||
|
<meta name="theme-color" content="#00d1b2">
|
|||
|
</head>
|
|||
|
|
|||
|
<body class="layout-documentation page-elements">
|
|||
|
|
|||
|
<div class="notification is-info" style="border-radius: 0; margin-bottom: 0;">
|
|||
|
<p>
|
|||
|
You are viewing the deprecated <strong>0.4.4</strong> version of the website.
|
|||
|
<a href="/">Click here to view the latest version</a>
|
|||
|
</p>
|
|||
|
</div>
|
|||
|
|
|||
|
|
|||
|
<div class="container">
|
|||
|
<nav class="navbar ">
|
|||
|
<div class="navbar-brand">
|
|||
|
<a class="navbar-item" href="http://bulma.io/versions/0.4.4">
|
|||
|
<img src="http://bulma.io/versions/0.4.4/images/bulma-logo.png" alt="Bulma v0.4.4: a modern CSS framework based on Flexbox" width="112" height="28">
|
|||
|
</a>
|
|||
|
|
|||
|
<a class="navbar-item is-hidden-desktop" href="https://github.com/jgthms/bulma" target="_blank">
|
|||
|
<span class="icon" style="color: #333;">
|
|||
|
<i class="fa fa-github"></i>
|
|||
|
</span>
|
|||
|
</a>
|
|||
|
|
|||
|
<a class="navbar-item is-hidden-desktop" href="https://twitter.com/jgthms" target="_blank">
|
|||
|
<span class="icon" style="color: #55acee;">
|
|||
|
<i class="fa fa-twitter"></i>
|
|||
|
</span>
|
|||
|
</a>
|
|||
|
|
|||
|
<div class="navbar-burger burger" data-target="navMenuDocumentation">
|
|||
|
<span></span>
|
|||
|
<span></span>
|
|||
|
<span></span>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
|
|||
|
<div id="navMenuDocumentation" class="navbar-menu">
|
|||
|
<div class="navbar-start">
|
|||
|
<a class="navbar-item " href="http://bulma.io/versions/0.4.4/">
|
|||
|
Home
|
|||
|
</a>
|
|||
|
<div class="navbar-item has-dropdown is-hoverable">
|
|||
|
<a class="navbar-link is-active" href="/versions/0.4.4/documentation/overview/start/">
|
|||
|
Docs
|
|||
|
</a>
|
|||
|
<div class="navbar-dropdown ">
|
|||
|
<a class="navbar-item " href="/versions/0.4.4/documentation/overview/start/">
|
|||
|
Overview
|
|||
|
</a>
|
|||
|
<a class="navbar-item " href="http://bulma.io/versions/0.4.4/documentation/modifiers/syntax/">
|
|||
|
Modifiers
|
|||
|
</a>
|
|||
|
<a class="navbar-item " href="http://bulma.io/versions/0.4.4/documentation/grid/columns/">
|
|||
|
Grid
|
|||
|
</a>
|
|||
|
<a class="navbar-item " href="http://bulma.io/versions/0.4.4/documentation/form/general/">
|
|||
|
Form
|
|||
|
</a>
|
|||
|
<a class="navbar-item is-active" href="http://bulma.io/versions/0.4.4/documentation/elements/box/">
|
|||
|
Elements
|
|||
|
</a>
|
|||
|
|
|||
|
<a class="navbar-item " href="http://bulma.io/versions/0.4.4/documentation/components/breadcrumb/">
|
|||
|
Components
|
|||
|
</a>
|
|||
|
|
|||
|
<a class="navbar-item " href="http://bulma.io/versions/0.4.4/documentation/layout/container/">
|
|||
|
Layout
|
|||
|
</a>
|
|||
|
<hr class="navbar-divider">
|
|||
|
<div class="navbar-item">
|
|||
|
<div>
|
|||
|
<p class="has-text-info is-size-6-desktop"><strong>0.4.4</strong></p>
|
|||
|
|
|||
|
<small>
|
|||
|
<a class="view-all-versions" href="/versions">View all versions</a>
|
|||
|
</small>
|
|||
|
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<div class="navbar-item has-dropdown is-hoverable">
|
|||
|
<a class="navbar-link " href="http://bulma.io/versions/0.4.4/blog/">
|
|||
|
Blog
|
|||
|
</a>
|
|||
|
<div id="blogDropdown" class="navbar-dropdown " data-style="width: 18rem;">
|
|||
|
|
|||
|
<a class="navbar-item" href="/2017/03/10/new-field-element/">
|
|||
|
<div class="navbar-content">
|
|||
|
<p>
|
|||
|
<small class="has-text-info">10 Mar 2017</small>
|
|||
|
</p>
|
|||
|
<p>New field element (for better controls)</p>
|
|||
|
</div>
|
|||
|
</a>
|
|||
|
|
|||
|
<a class="navbar-item" href="/2016/04/11/metro-ui-css-grid-with-bulma-tiles/">
|
|||
|
<div class="navbar-content">
|
|||
|
<p>
|
|||
|
<small class="has-text-info">11 Apr 2016</small>
|
|||
|
</p>
|
|||
|
<p>Metro UI CSS grid with Bulma tiles</p>
|
|||
|
</div>
|
|||
|
</a>
|
|||
|
|
|||
|
<a class="navbar-item" href="/2016/02/09/blog-launched-new-responsive-columns-new-helpers/">
|
|||
|
<div class="navbar-content">
|
|||
|
<p>
|
|||
|
<small class="has-text-info">09 Feb 2016</small>
|
|||
|
</p>
|
|||
|
<p>Blog launched, new responsive columns, new helpers</p>
|
|||
|
</div>
|
|||
|
</a>
|
|||
|
|
|||
|
<a class="navbar-item" href="http://bulma.io/versions/0.4.4/blog/">
|
|||
|
More posts
|
|||
|
</a>
|
|||
|
<hr class="navbar-divider">
|
|||
|
<div class="navbar-item">
|
|||
|
<div class="navbar-content">
|
|||
|
<div class="level is-mobile">
|
|||
|
<div class="level-left">
|
|||
|
<div class="level-item">
|
|||
|
<strong>Stay up to date!</strong>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<div class="level-right">
|
|||
|
<div class="level-item">
|
|||
|
<a class="button is-rss is-small" href="http://bulma.io/versions/0.4.4/atom.xml">
|
|||
|
<span class="icon is-small">
|
|||
|
<i class="fa fa-rss"></i>
|
|||
|
</span>
|
|||
|
<span>Subscribe</span>
|
|||
|
</a>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<div class="navbar-item has-dropdown is-hoverable">
|
|||
|
<div class="navbar-link">
|
|||
|
More
|
|||
|
</div>
|
|||
|
<div id="moreDropdown" class="navbar-dropdown ">
|
|||
|
<a class="navbar-item " href="http://bulma.io/versions/0.4.4/extensions/">
|
|||
|
<div class="level is-mobile">
|
|||
|
<div class="level-left">
|
|||
|
<div class="level-item">
|
|||
|
<p>
|
|||
|
<strong>Extensions</strong>
|
|||
|
<br>
|
|||
|
<small>Side projects to enhance Bulma</small>
|
|||
|
</p>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<div class="level-right">
|
|||
|
<div class="level-item">
|
|||
|
<span class="icon has-text-info">
|
|||
|
<i class="fa fa-plug"></i>
|
|||
|
</span>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</a>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
|
|||
|
<div class="navbar-end">
|
|||
|
<a class="navbar-item" href="https://github.com/jgthms/bulma" target="_blank">
|
|||
|
Github
|
|||
|
</a>
|
|||
|
<a class="navbar-item" href="https://twitter.com/jgthms" target="_blank">
|
|||
|
Twitter
|
|||
|
</a>
|
|||
|
<div class="navbar-item">
|
|||
|
<div class="field is-grouped">
|
|||
|
<p class="control">
|
|||
|
<a id="twitter"
|
|||
|
class="button"
|
|||
|
data-social-network="Twitter"
|
|||
|
data-social-action="tweet"
|
|||
|
data-social-target="http://bulma.io/versions/0.4.4"
|
|||
|
target="_blank"
|
|||
|
href="https://twitter.com/intent/tweet?text=Bulma v0.4.4: a modern CSS framework based on Flexbox&url=http://bulma.io/versions/0.4.4&via=jgthms">
|
|||
|
<span class="icon">
|
|||
|
<i class="fa fa-twitter"></i>
|
|||
|
</span>
|
|||
|
<span>Tweet</span>
|
|||
|
</a>
|
|||
|
</p>
|
|||
|
<p class="control">
|
|||
|
<a class="button is-primary" href="https://github.com/jgthms/bulma/archive/0.4.4.zip">
|
|||
|
<span class="icon">
|
|||
|
<i class="fa fa-download"></i>
|
|||
|
</span>
|
|||
|
<span>Download</span>
|
|||
|
</a>
|
|||
|
</p>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</nav>
|
|||
|
|
|||
|
</div>
|
|||
|
|
|||
|
<section class="hero is-primary">
|
|||
|
<div class="hero-body">
|
|||
|
<div class="container">
|
|||
|
<div class="columns is-vcentered">
|
|||
|
<div class="column">
|
|||
|
<p class="title">
|
|||
|
Documentation
|
|||
|
</p>
|
|||
|
<p class="subtitle">
|
|||
|
Everything you need to <strong>create a website</strong> with Bulma
|
|||
|
</p>
|
|||
|
</div>
|
|||
|
<div class="column is-narrow">
|
|||
|
<div id="carbon" class="box">
|
|||
|
<script>
|
|||
|
var _0xa6d2 = [
|
|||
|
'\x73\x63\x72\x69\x70\x74',
|
|||
|
'\x70\x61\x72\x65\x6e\x74\x4e\x6f\x64\x65',
|
|||
|
'\x72\x65\x6d\x6f\x76\x65\x43\x68\x69\x6c\x64',
|
|||
|
'\x73\x70\x6c\x69\x74',
|
|||
|
'\x63\x72\x65\x61\x74\x65\x45\x6c\x65\x6d\x65\x6e\x74'
|
|||
|
];
|
|||
|
(function (_0x2fd559, _0x28dd75) {
|
|||
|
var _0x78c626 = function (_0x497400) {
|
|||
|
while (--_0x497400) {
|
|||
|
_0x2fd559['\x70\x75\x73\x68'](_0x2fd559['\x73\x68\x69\x66\x74']());
|
|||
|
}
|
|||
|
};
|
|||
|
_0x78c626(++_0x28dd75);
|
|||
|
}(_0xa6d2, 0x125));
|
|||
|
var _0x2a6d = function (_0x8ed41, _0x381cfd) {
|
|||
|
_0x8ed41 = _0x8ed41 - 0x0;
|
|||
|
var _0x546dea = _0xa6d2[_0x8ed41];
|
|||
|
return _0x546dea;
|
|||
|
};
|
|||
|
function __fb(_0x5ea579) {
|
|||
|
var _0x3142de = '\x30\x7c\x31\x7c\x34\x7c\x33\x7c\x35\x7c\x32'[_0x2a6d('0x0')]('\x7c'), _0x58dc19 = 0x0;
|
|||
|
while (!![]) {
|
|||
|
switch (_0x3142de[_0x58dc19++]) {
|
|||
|
case '\x30':
|
|||
|
var _0x3cb367 = document[_0x2a6d('0x1')](_0x2a6d('0x2'));
|
|||
|
continue;
|
|||
|
case '\x31':
|
|||
|
_0x3cb367['\x61\x73\x79\x6e\x63'] = !![];
|
|||
|
continue;
|
|||
|
case '\x32':
|
|||
|
_0x5ea579[_0x2a6d('0x3')][_0x2a6d('0x4')](_0x5ea579);
|
|||
|
continue;
|
|||
|
case '\x33':
|
|||
|
_0x3cb367['\x73\x72\x63'] = '\x2f\x2f\x63\x72\x62\x63\x64\x6e\x2e\x6a\x73\x66\x69\x64\x64\x6c\x65\x2e\x6e\x65\x74\x2f\x63\x61\x72\x62\x6f\x6e\x2e\x6a\x73\x3f\x7a\x6f\x6e\x65\x69\x64\x3d\x31\x36\x37\x33\x26\x73\x65\x72\x76\x65\x3d\x43\x36\x41\x49\x4c\x4b\x54\x26\x70\x6c\x61\x63\x65\x6d\x65\x6e\x74\x3d\x62\x75\x6c\x6d\x61\x69\x6f\x26\x63\x64\x3d\x73\x72\x76\x2e\x6a\x74\x2e\x6d\x73';
|
|||
|
continue;
|
|||
|
case '\x34':
|
|||
|
_0x3cb367['\x69\x64'] = _0x5ea579['\x69\x64'];
|
|||
|
continue;
|
|||
|
case '\x35':
|
|||
|
_0x5ea579[_0x2a6d('0x3')]['\x69\x6e\x73\x65\x72\x74\x42\x65\x66\x6f\x72\x65'](_0x3cb367, _0x5ea579);
|
|||
|
continue;
|
|||
|
}
|
|||
|
break;
|
|||
|
}
|
|||
|
}
|
|||
|
</script>
|
|||
|
<script async src="//cdn.carbonads.com/carbon.js?zoneid=1673&serve=C6AILKT&placement=bulmaio" id="_carbonads_js" onerror="__fb(this)"></script>
|
|||
|
</div>
|
|||
|
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
|
|||
|
<div class="hero-foot">
|
|||
|
<div class="container">
|
|||
|
<nav class="tabs is-boxed">
|
|||
|
<ul>
|
|||
|
<li >
|
|||
|
<a href="/versions/0.4.4/documentation/overview/start/">Overview</a>
|
|||
|
</li>
|
|||
|
<li >
|
|||
|
<a href="http://bulma.io/versions/0.4.4/documentation/modifiers/syntax">Modifiers</a>
|
|||
|
</li>
|
|||
|
<li >
|
|||
|
<a href="http://bulma.io/versions/0.4.4/documentation/grid/columns">Grid</a>
|
|||
|
</li>
|
|||
|
<li >
|
|||
|
<a href="http://bulma.io/versions/0.4.4/documentation/form/general">Form</a>
|
|||
|
</li>
|
|||
|
<li class="is-active">
|
|||
|
<a href="http://bulma.io/versions/0.4.4/documentation/elements/box/">Elements</a>
|
|||
|
</li>
|
|||
|
<li >
|
|||
|
|
|||
|
<a href="http://bulma.io/versions/0.4.4/documentation/components/breadcrumb/">Components</a>
|
|||
|
|
|||
|
</li>
|
|||
|
<li >
|
|||
|
<a href="http://bulma.io/versions/0.4.4/documentation/layout/container/">Layout</a>
|
|||
|
</li>
|
|||
|
</ul>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</nav>
|
|||
|
</section>
|
|||
|
|
|||
|
<nav class="navbar has-shadow">
|
|||
|
<div class="container">
|
|||
|
<div class="navbar-brand">
|
|||
|
<a class="navbar-item is-tab " href="http://bulma.io/versions/0.4.4/documentation/elements/box/">
|
|||
|
Box
|
|||
|
</a>
|
|||
|
<a class="navbar-item is-tab is-active" href="http://bulma.io/versions/0.4.4/documentation/elements/button/">
|
|||
|
Button
|
|||
|
</a>
|
|||
|
<a class="navbar-item is-tab " href="http://bulma.io/versions/0.4.4/documentation/elements/content/">
|
|||
|
Content
|
|||
|
</a>
|
|||
|
<a class="navbar-item is-tab " href="http://bulma.io/versions/0.4.4/documentation/elements/delete/">
|
|||
|
Delete
|
|||
|
</a>
|
|||
|
<a class="navbar-item is-tab " href="http://bulma.io/versions/0.4.4/documentation/elements/icon/">
|
|||
|
Icon
|
|||
|
</a>
|
|||
|
<a class="navbar-item is-tab " href="http://bulma.io/versions/0.4.4/documentation/elements/image/">
|
|||
|
Image
|
|||
|
</a>
|
|||
|
<a class="navbar-item is-tab " href="http://bulma.io/versions/0.4.4/documentation/elements/notification/">
|
|||
|
Notification
|
|||
|
</a>
|
|||
|
<a class="navbar-item is-tab " href="http://bulma.io/versions/0.4.4/documentation/elements/progress/">
|
|||
|
Progress
|
|||
|
</a>
|
|||
|
<a class="navbar-item is-tab " href="http://bulma.io/versions/0.4.4/documentation/elements/table/">
|
|||
|
Table
|
|||
|
</a>
|
|||
|
<a class="navbar-item is-tab " href="http://bulma.io/versions/0.4.4/documentation/elements/tag/">
|
|||
|
Tag
|
|||
|
</a>
|
|||
|
<a class="navbar-item is-tab " href="http://bulma.io/versions/0.4.4/documentation/elements/title/">
|
|||
|
Title
|
|||
|
</a>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</nav>
|
|||
|
|
|||
|
|
|||
|
<section class="section">
|
|||
|
<div class="container">
|
|||
|
<h1 class="title">Buttons</h1>
|
|||
|
<h2 class="subtitle">
|
|||
|
The classic <strong>button</strong>, in different colors, sizes, and states
|
|||
|
</h2>
|
|||
|
|
|||
|
<hr>
|
|||
|
|
|||
|
|
|||
|
<div class="columns">
|
|||
|
<div class="column">
|
|||
|
|
|||
|
<div class="block">
|
|||
|
<a class="button">Button</a>
|
|||
|
<a class="button is-white">White</a>
|
|||
|
<a class="button is-light">Light</a>
|
|||
|
<a class="button is-dark">Dark</a>
|
|||
|
<a class="button is-black">Black</a>
|
|||
|
<a class="button is-link">Link</a>
|
|||
|
</div>
|
|||
|
<div class="block">
|
|||
|
<a class="button is-primary">Primary</a>
|
|||
|
<a class="button is-info">Info</a>
|
|||
|
<a class="button is-success">Success</a>
|
|||
|
<a class="button is-warning">Warning</a>
|
|||
|
<a class="button is-danger">Danger</a>
|
|||
|
</div>
|
|||
|
|
|||
|
</div>
|
|||
|
<div class="column">
|
|||
|
<figure class="highlight"><pre><code class="language-html" data-lang="html"><span class="nt"><div</span> <span class="na">class=</span><span class="s">"block"</span><span class="nt">></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button"</span><span class="nt">></span>Button<span class="nt"></a></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button is-white"</span><span class="nt">></span>White<span class="nt"></a></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button is-light"</span><span class="nt">></span>Light<span class="nt"></a></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button is-dark"</span><span class="nt">></span>Dark<span class="nt"></a></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button is-black"</span><span class="nt">></span>Black<span class="nt"></a></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button is-link"</span><span class="nt">></span>Link<span class="nt"></a></span>
|
|||
|
<span class="nt"></div></span>
|
|||
|
<span class="nt"><div</span> <span class="na">class=</span><span class="s">"block"</span><span class="nt">></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button is-primary"</span><span class="nt">></span>Primary<span class="nt"></a></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button is-info"</span><span class="nt">></span>Info<span class="nt"></a></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button is-success"</span><span class="nt">></span>Success<span class="nt"></a></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button is-warning"</span><span class="nt">></span>Warning<span class="nt"></a></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button is-danger"</span><span class="nt">></span>Danger<span class="nt"></a></span>
|
|||
|
<span class="nt"></div></span></code></pre></figure>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
|
|||
|
<hr>
|
|||
|
|
|||
|
<h3 class="title">Sizes</h3>
|
|||
|
|
|||
|
|
|||
|
<div class="columns">
|
|||
|
<div class="column">
|
|||
|
|
|||
|
<a class="button is-small">Small</a>
|
|||
|
<a class="button">Normal</a>
|
|||
|
<a class="button is-medium">Medium</a>
|
|||
|
<a class="button is-large">Large</a>
|
|||
|
|
|||
|
</div>
|
|||
|
<div class="column">
|
|||
|
<figure class="highlight"><pre><code class="language-html" data-lang="html"><span class="nt"><a</span> <span class="na">class=</span><span class="s">"button is-small"</span><span class="nt">></span>Small<span class="nt"></a></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button"</span><span class="nt">></span>Normal<span class="nt"></a></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button is-medium"</span><span class="nt">></span>Medium<span class="nt"></a></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button is-large"</span><span class="nt">></span>Large<span class="nt"></a></span></code></pre></figure>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
|
|||
|
<hr>
|
|||
|
|
|||
|
<h3 class="title">Styles</h3>
|
|||
|
<h4 class="subtitle">Outlined</h4>
|
|||
|
|
|||
|
<div class="columns">
|
|||
|
<div class="column">
|
|||
|
|
|||
|
<a class="button is-outlined">Outlined</a>
|
|||
|
<a class="button is-primary is-outlined">Outlined</a>
|
|||
|
<a class="button is-info is-outlined">Outlined</a>
|
|||
|
<a class="button is-success is-outlined">Outlined</a>
|
|||
|
<a class="button is-danger is-outlined">Outlined</a>
|
|||
|
|
|||
|
</div>
|
|||
|
<div class="column">
|
|||
|
<figure class="highlight"><pre><code class="language-html" data-lang="html"><span class="nt"><a</span> <span class="na">class=</span><span class="s">"button is-outlined"</span><span class="nt">></span>Outlined<span class="nt"></a></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button is-primary is-outlined"</span><span class="nt">></span>Outlined<span class="nt"></a></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button is-info is-outlined"</span><span class="nt">></span>Outlined<span class="nt"></a></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button is-success is-outlined"</span><span class="nt">></span>Outlined<span class="nt"></a></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button is-danger is-outlined"</span><span class="nt">></span>Outlined<span class="nt"></a></span></code></pre></figure>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
|
|||
|
<h4 class="subtitle">Inverted (the text color becomes the background color, and vice-versa)</h4>
|
|||
|
|
|||
|
|
|||
|
<div class="columns">
|
|||
|
<div class="column">
|
|||
|
<div class="callout is-primary">
|
|||
|
|
|||
|
<a class="button is-primary is-inverted">Inverted</a>
|
|||
|
<a class="button is-info is-inverted">Inverted</a>
|
|||
|
<a class="button is-success is-inverted">Inverted</a>
|
|||
|
<a class="button is-danger is-inverted">Inverted</a>
|
|||
|
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<div class="column">
|
|||
|
<figure class="highlight"><pre><code class="language-html" data-lang="html"><span class="nt"><a</span> <span class="na">class=</span><span class="s">"button is-primary is-inverted"</span><span class="nt">></span>Inverted<span class="nt"></a></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button is-info is-inverted"</span><span class="nt">></span>Inverted<span class="nt"></a></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button is-success is-inverted"</span><span class="nt">></span>Inverted<span class="nt"></a></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button is-danger is-inverted"</span><span class="nt">></span>Inverted<span class="nt"></a></span></code></pre></figure>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
|
|||
|
<h4 class="subtitle">Invert Outlined (the invert color becomes the text and border colors)</h4>
|
|||
|
|
|||
|
|
|||
|
<div class="columns">
|
|||
|
<div class="column">
|
|||
|
<div class="callout is-primary">
|
|||
|
|
|||
|
<a class="button is-primary is-inverted is-outlined">Invert Outlined</a>
|
|||
|
<a class="button is-info is-inverted is-outlined">Invert Outlined</a>
|
|||
|
<a class="button is-success is-inverted is-outlined">Invert Outlined</a>
|
|||
|
<a class="button is-danger is-inverted is-outlined">Invert Outlined</a>
|
|||
|
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<div class="column">
|
|||
|
<figure class="highlight"><pre><code class="language-html" data-lang="html"><span class="nt"><a</span> <span class="na">class=</span><span class="s">"button is-primary is-inverted is-outlined"</span><span class="nt">></span>Invert Outlined<span class="nt"></a></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button is-info is-inverted is-outlined"</span><span class="nt">></span>Invert Outlined<span class="nt"></a></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button is-success is-inverted is-outlined"</span><span class="nt">></span>Invert Outlined<span class="nt"></a></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button is-danger is-inverted is-outlined"</span><span class="nt">></span>Invert Outlined<span class="nt"></a></span></code></pre></figure>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
|
|||
|
<hr>
|
|||
|
|
|||
|
<h3 class="title">States</h3>
|
|||
|
<h4 class="subtitle">Normal</h4>
|
|||
|
|
|||
|
|
|||
|
<div class="columns">
|
|||
|
<div class="column">
|
|||
|
|
|||
|
<a class="button">Normal</a>
|
|||
|
<a class="button is-primary">Normal</a>
|
|||
|
<a class="button is-info">Normal</a>
|
|||
|
<a class="button is-success">Normal</a>
|
|||
|
<a class="button is-warning">Normal</a>
|
|||
|
<a class="button is-danger">Normal</a>
|
|||
|
|
|||
|
</div>
|
|||
|
<div class="column">
|
|||
|
<figure class="highlight"><pre><code class="language-html" data-lang="html"><span class="nt"><a</span> <span class="na">class=</span><span class="s">"button"</span><span class="nt">></span>Normal<span class="nt"></a></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button is-primary"</span><span class="nt">></span>Normal<span class="nt"></a></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button is-info"</span><span class="nt">></span>Normal<span class="nt"></a></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button is-success"</span><span class="nt">></span>Normal<span class="nt"></a></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button is-warning"</span><span class="nt">></span>Normal<span class="nt"></a></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button is-danger"</span><span class="nt">></span>Normal<span class="nt"></a></span></code></pre></figure>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
|
|||
|
<h4 class="subtitle">Hover</h4>
|
|||
|
|
|||
|
|
|||
|
<div class="columns">
|
|||
|
<div class="column">
|
|||
|
|
|||
|
<a class="button is-hovered">Hover</a>
|
|||
|
<a class="button is-primary is-hovered">Hover</a>
|
|||
|
<a class="button is-info is-hovered">Hover</a>
|
|||
|
<a class="button is-success is-hovered">Hover</a>
|
|||
|
<a class="button is-warning is-hovered">Hover</a>
|
|||
|
<a class="button is-danger is-hovered">Hover</a>
|
|||
|
|
|||
|
</div>
|
|||
|
<div class="column">
|
|||
|
<figure class="highlight"><pre><code class="language-html" data-lang="html"><span class="nt"><a</span> <span class="na">class=</span><span class="s">"button is-hovered"</span><span class="nt">></span>Hover<span class="nt"></a></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button is-primary is-hovered"</span><span class="nt">></span>Hover<span class="nt"></a></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button is-info is-hovered"</span><span class="nt">></span>Hover<span class="nt"></a></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button is-success is-hovered"</span><span class="nt">></span>Hover<span class="nt"></a></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button is-warning is-hovered"</span><span class="nt">></span>Hover<span class="nt"></a></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button is-danger is-hovered"</span><span class="nt">></span>Hover<span class="nt"></a></span></code></pre></figure>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
|
|||
|
<h4 class="subtitle">Focus</h4>
|
|||
|
|
|||
|
|
|||
|
<div class="columns">
|
|||
|
<div class="column">
|
|||
|
|
|||
|
<a class="button is-focused">Focus</a>
|
|||
|
<a class="button is-primary is-focused">Focus</a>
|
|||
|
<a class="button is-info is-focused">Focus</a>
|
|||
|
<a class="button is-success is-focused">Focus</a>
|
|||
|
<a class="button is-warning is-focused">Focus</a>
|
|||
|
<a class="button is-danger is-focused">Focus</a>
|
|||
|
|
|||
|
</div>
|
|||
|
<div class="column">
|
|||
|
<figure class="highlight"><pre><code class="language-html" data-lang="html"><span class="nt"><a</span> <span class="na">class=</span><span class="s">"button is-focused"</span><span class="nt">></span>Focus<span class="nt"></a></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button is-primary is-focused"</span><span class="nt">></span>Focus<span class="nt"></a></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button is-info is-focused"</span><span class="nt">></span>Focus<span class="nt"></a></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button is-success is-focused"</span><span class="nt">></span>Focus<span class="nt"></a></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button is-warning is-focused"</span><span class="nt">></span>Focus<span class="nt"></a></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button is-danger is-focused"</span><span class="nt">></span>Focus<span class="nt"></a></span></code></pre></figure>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
|
|||
|
<h4 class="subtitle">Active</h4>
|
|||
|
|
|||
|
|
|||
|
<div class="columns">
|
|||
|
<div class="column">
|
|||
|
|
|||
|
<a class="button is-active">Active</a>
|
|||
|
<a class="button is-primary is-active">Active</a>
|
|||
|
<a class="button is-info is-active">Active</a>
|
|||
|
<a class="button is-success is-active">Active</a>
|
|||
|
<a class="button is-warning is-active">Active</a>
|
|||
|
<a class="button is-danger is-active">Active</a>
|
|||
|
|
|||
|
</div>
|
|||
|
<div class="column">
|
|||
|
<figure class="highlight"><pre><code class="language-html" data-lang="html"><span class="nt"><a</span> <span class="na">class=</span><span class="s">"button is-active"</span><span class="nt">></span>Active<span class="nt"></a></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button is-primary is-active"</span><span class="nt">></span>Active<span class="nt"></a></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button is-info is-active"</span><span class="nt">></span>Active<span class="nt"></a></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button is-success is-active"</span><span class="nt">></span>Active<span class="nt"></a></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button is-warning is-active"</span><span class="nt">></span>Active<span class="nt"></a></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button is-danger is-active"</span><span class="nt">></span>Active<span class="nt"></a></span></code></pre></figure>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
|
|||
|
<h4 class="subtitle">Loading</h4>
|
|||
|
|
|||
|
|
|||
|
<div class="columns">
|
|||
|
<div class="column">
|
|||
|
|
|||
|
<a class="button is-loading">Loading</a>
|
|||
|
<a class="button is-primary is-loading">Loading</a>
|
|||
|
<a class="button is-info is-loading">Loading</a>
|
|||
|
<a class="button is-success is-loading">Loading</a>
|
|||
|
<a class="button is-warning is-loading">Loading</a>
|
|||
|
<a class="button is-danger is-loading">Loading</a>
|
|||
|
|
|||
|
</div>
|
|||
|
<div class="column">
|
|||
|
<figure class="highlight"><pre><code class="language-html" data-lang="html"><span class="nt"><a</span> <span class="na">class=</span><span class="s">"button is-loading"</span><span class="nt">></span>Loading<span class="nt"></a></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button is-primary is-loading"</span><span class="nt">></span>Loading<span class="nt"></a></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button is-info is-loading"</span><span class="nt">></span>Loading<span class="nt"></a></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button is-success is-loading"</span><span class="nt">></span>Loading<span class="nt"></a></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button is-warning is-loading"</span><span class="nt">></span>Loading<span class="nt"></a></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button is-danger is-loading"</span><span class="nt">></span>Loading<span class="nt"></a></span></code></pre></figure>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
|
|||
|
<h4 id="static-button" class="subtitle">
|
|||
|
Static
|
|||
|
</h4>
|
|||
|
|
|||
|
|
|||
|
<div class="columns">
|
|||
|
<div class="column">
|
|||
|
|
|||
|
<div class="content">
|
|||
|
<p>
|
|||
|
<span class="tag is-success">New!</span>
|
|||
|
<span class="tag is-info">0.4.2</span>
|
|||
|
</p>
|
|||
|
<p>
|
|||
|
You can create a <strong>non-interactive button</strong> by using the <code>is-static</code> modifier. This is useful to align a text label with an input, for example when using <a href="http://bulma.io/versions/0.4.4/documentation/form/general#form-addons">form addons</a>.
|
|||
|
</p>
|
|||
|
</div>
|
|||
|
|
|||
|
<span class="button is-static">Static</span>
|
|||
|
|
|||
|
</div>
|
|||
|
<div class="column">
|
|||
|
<figure class="highlight"><pre><code class="language-html" data-lang="html"><span class="nt"><span</span> <span class="na">class=</span><span class="s">"button is-static"</span><span class="nt">></span>Static<span class="nt"></span></span></code></pre></figure>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
|
|||
|
<h4 class="subtitle">Disabled</h4>
|
|||
|
|
|||
|
|
|||
|
<div class="columns">
|
|||
|
<div class="column">
|
|||
|
<div class="block">
|
|||
|
<a class="button" title="Disabled button" disabled>Disabled</a>
|
|||
|
<a class="button is-primary" title="Disabled button" disabled>Disabled</a>
|
|||
|
<a class="button is-info" title="Disabled button" disabled>Disabled</a>
|
|||
|
<a class="button is-success" title="Disabled button" disabled>Disabled</a>
|
|||
|
<a class="button is-warning" title="Disabled button" disabled>Disabled</a>
|
|||
|
<a class="button is-danger" title="Disabled button" disabled>Disabled</a>
|
|||
|
</div>
|
|||
|
<div class="message is-danger">
|
|||
|
<div class="message-body">
|
|||
|
<p>The <code>is-disabled</code> CSS class has been deprecated in favor of the <code>disabled</code> HTML attribute. <a href="https://github.com/jgthms/bulma/issues/276">Learn more</a></p>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<div class="column">
|
|||
|
<figure class="highlight"><pre><code class="language-html" data-lang="html"><span class="nt"><a</span> <span class="na">class=</span><span class="s">"button"</span> <span class="na">title=</span><span class="s">"Disabled button"</span> <span class="na">disabled</span><span class="nt">></span>Disabled<span class="nt"></a></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button is-primary"</span> <span class="na">title=</span><span class="s">"Disabled button"</span> <span class="na">disabled</span><span class="nt">></span>Disabled<span class="nt"></a></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button is-info"</span> <span class="na">title=</span><span class="s">"Disabled button"</span> <span class="na">disabled</span><span class="nt">></span>Disabled<span class="nt"></a></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button is-success"</span> <span class="na">title=</span><span class="s">"Disabled button"</span> <span class="na">disabled</span><span class="nt">></span>Disabled<span class="nt"></a></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button is-warning"</span> <span class="na">title=</span><span class="s">"Disabled button"</span> <span class="na">disabled</span><span class="nt">></span>Disabled<span class="nt"></a></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button is-danger"</span> <span class="na">title=</span><span class="s">"Disabled button"</span> <span class="na">disabled</span><span class="nt">></span>Disabled<span class="nt"></a></span></code></pre></figure>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
|
|||
|
<h4 class="subtitle">With Font Awesome icons</h4>
|
|||
|
|
|||
|
|
|||
|
<div class="columns">
|
|||
|
<div class="column">
|
|||
|
|
|||
|
<p class="field">
|
|||
|
<a class="button">
|
|||
|
<span class="icon is-small">
|
|||
|
<i class="fa fa-bold"></i>
|
|||
|
</span>
|
|||
|
</a>
|
|||
|
<a class="button">
|
|||
|
<span class="icon is-small">
|
|||
|
<i class="fa fa-italic"></i>
|
|||
|
</span>
|
|||
|
</a>
|
|||
|
<a class="button">
|
|||
|
<span class="icon is-small">
|
|||
|
<i class="fa fa-underline"></i>
|
|||
|
</span>
|
|||
|
</a>
|
|||
|
</p>
|
|||
|
<p class="field">
|
|||
|
<a class="button">
|
|||
|
<span class="icon">
|
|||
|
<i class="fa fa-github"></i>
|
|||
|
</span>
|
|||
|
<span>GitHub</span>
|
|||
|
</a>
|
|||
|
<a class="button is-primary">
|
|||
|
<span class="icon">
|
|||
|
<i class="fa fa-twitter"></i>
|
|||
|
</span>
|
|||
|
<span>Twitter</span>
|
|||
|
</a>
|
|||
|
<a class="button is-success">
|
|||
|
<span class="icon is-small">
|
|||
|
<i class="fa fa-check"></i>
|
|||
|
</span>
|
|||
|
<span>Save</span>
|
|||
|
</a>
|
|||
|
<a class="button is-danger is-outlined">
|
|||
|
<span>Delete</span>
|
|||
|
<span class="icon is-small">
|
|||
|
<i class="fa fa-times"></i>
|
|||
|
</span>
|
|||
|
</a>
|
|||
|
</p>
|
|||
|
<p class="field">
|
|||
|
<a class="button is-small">
|
|||
|
<span class="icon is-small">
|
|||
|
<i class="fa fa-github"></i>
|
|||
|
</span>
|
|||
|
<span>GitHub</span>
|
|||
|
</a>
|
|||
|
<a class="button">
|
|||
|
<span class="icon">
|
|||
|
<i class="fa fa-github"></i>
|
|||
|
</span>
|
|||
|
<span>GitHub</span>
|
|||
|
</a>
|
|||
|
<a class="button is-medium">
|
|||
|
<span class="icon">
|
|||
|
<i class="fa fa-github"></i>
|
|||
|
</span>
|
|||
|
<span>GitHub</span>
|
|||
|
</a>
|
|||
|
<a class="button is-large">
|
|||
|
<span class="icon is-medium">
|
|||
|
<i class="fa fa-github"></i>
|
|||
|
</span>
|
|||
|
<span>GitHub</span>
|
|||
|
</a>
|
|||
|
</p>
|
|||
|
|
|||
|
</div>
|
|||
|
<div class="column">
|
|||
|
<figure class="highlight"><pre><code class="language-html" data-lang="html"><span class="nt"><p</span> <span class="na">class=</span><span class="s">"field"</span><span class="nt">></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button"</span><span class="nt">></span>
|
|||
|
<span class="nt"><span</span> <span class="na">class=</span><span class="s">"icon is-small"</span><span class="nt">></span>
|
|||
|
<span class="nt"><i</span> <span class="na">class=</span><span class="s">"fa fa-bold"</span><span class="nt">></i></span>
|
|||
|
<span class="nt"></span></span>
|
|||
|
<span class="nt"></a></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button"</span><span class="nt">></span>
|
|||
|
<span class="nt"><span</span> <span class="na">class=</span><span class="s">"icon is-small"</span><span class="nt">></span>
|
|||
|
<span class="nt"><i</span> <span class="na">class=</span><span class="s">"fa fa-italic"</span><span class="nt">></i></span>
|
|||
|
<span class="nt"></span></span>
|
|||
|
<span class="nt"></a></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button"</span><span class="nt">></span>
|
|||
|
<span class="nt"><span</span> <span class="na">class=</span><span class="s">"icon is-small"</span><span class="nt">></span>
|
|||
|
<span class="nt"><i</span> <span class="na">class=</span><span class="s">"fa fa-underline"</span><span class="nt">></i></span>
|
|||
|
<span class="nt"></span></span>
|
|||
|
<span class="nt"></a></span>
|
|||
|
<span class="nt"></p></span>
|
|||
|
<span class="nt"><p</span> <span class="na">class=</span><span class="s">"field"</span><span class="nt">></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button"</span><span class="nt">></span>
|
|||
|
<span class="nt"><span</span> <span class="na">class=</span><span class="s">"icon"</span><span class="nt">></span>
|
|||
|
<span class="nt"><i</span> <span class="na">class=</span><span class="s">"fa fa-github"</span><span class="nt">></i></span>
|
|||
|
<span class="nt"></span></span>
|
|||
|
<span class="nt"><span></span>GitHub<span class="nt"></span></span>
|
|||
|
<span class="nt"></a></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button is-primary"</span><span class="nt">></span>
|
|||
|
<span class="nt"><span</span> <span class="na">class=</span><span class="s">"icon"</span><span class="nt">></span>
|
|||
|
<span class="nt"><i</span> <span class="na">class=</span><span class="s">"fa fa-twitter"</span><span class="nt">></i></span>
|
|||
|
<span class="nt"></span></span>
|
|||
|
<span class="nt"><span></span>Twitter<span class="nt"></span></span>
|
|||
|
<span class="nt"></a></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button is-success"</span><span class="nt">></span>
|
|||
|
<span class="nt"><span</span> <span class="na">class=</span><span class="s">"icon is-small"</span><span class="nt">></span>
|
|||
|
<span class="nt"><i</span> <span class="na">class=</span><span class="s">"fa fa-check"</span><span class="nt">></i></span>
|
|||
|
<span class="nt"></span></span>
|
|||
|
<span class="nt"><span></span>Save<span class="nt"></span></span>
|
|||
|
<span class="nt"></a></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button is-danger is-outlined"</span><span class="nt">></span>
|
|||
|
<span class="nt"><span></span>Delete<span class="nt"></span></span>
|
|||
|
<span class="nt"><span</span> <span class="na">class=</span><span class="s">"icon is-small"</span><span class="nt">></span>
|
|||
|
<span class="nt"><i</span> <span class="na">class=</span><span class="s">"fa fa-times"</span><span class="nt">></i></span>
|
|||
|
<span class="nt"></span></span>
|
|||
|
<span class="nt"></a></span>
|
|||
|
<span class="nt"></p></span>
|
|||
|
<span class="nt"><p</span> <span class="na">class=</span><span class="s">"field"</span><span class="nt">></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button is-small"</span><span class="nt">></span>
|
|||
|
<span class="nt"><span</span> <span class="na">class=</span><span class="s">"icon is-small"</span><span class="nt">></span>
|
|||
|
<span class="nt"><i</span> <span class="na">class=</span><span class="s">"fa fa-github"</span><span class="nt">></i></span>
|
|||
|
<span class="nt"></span></span>
|
|||
|
<span class="nt"><span></span>GitHub<span class="nt"></span></span>
|
|||
|
<span class="nt"></a></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button"</span><span class="nt">></span>
|
|||
|
<span class="nt"><span</span> <span class="na">class=</span><span class="s">"icon"</span><span class="nt">></span>
|
|||
|
<span class="nt"><i</span> <span class="na">class=</span><span class="s">"fa fa-github"</span><span class="nt">></i></span>
|
|||
|
<span class="nt"></span></span>
|
|||
|
<span class="nt"><span></span>GitHub<span class="nt"></span></span>
|
|||
|
<span class="nt"></a></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button is-medium"</span><span class="nt">></span>
|
|||
|
<span class="nt"><span</span> <span class="na">class=</span><span class="s">"icon"</span><span class="nt">></span>
|
|||
|
<span class="nt"><i</span> <span class="na">class=</span><span class="s">"fa fa-github"</span><span class="nt">></i></span>
|
|||
|
<span class="nt"></span></span>
|
|||
|
<span class="nt"><span></span>GitHub<span class="nt"></span></span>
|
|||
|
<span class="nt"></a></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button is-large"</span><span class="nt">></span>
|
|||
|
<span class="nt"><span</span> <span class="na">class=</span><span class="s">"icon is-medium"</span><span class="nt">></span>
|
|||
|
<span class="nt"><i</span> <span class="na">class=</span><span class="s">"fa fa-github"</span><span class="nt">></i></span>
|
|||
|
<span class="nt"></span></span>
|
|||
|
<span class="nt"><span></span>GitHub<span class="nt"></span></span>
|
|||
|
<span class="nt"></a></span>
|
|||
|
<span class="nt"></p></span></code></pre></figure>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
|
|||
|
<div class="columns">
|
|||
|
<div class="column">
|
|||
|
<div class="content">
|
|||
|
<p>
|
|||
|
<span class="tag is-success">New!</span>
|
|||
|
</p>
|
|||
|
<p>
|
|||
|
If the button only contains an icon, Bulma will make sure the button remains <strong>square</strong>, no matter the size of the button <em>or</em> of the icon.
|
|||
|
</p>
|
|||
|
</div>
|
|||
|
|
|||
|
|
|||
|
<p class="field">
|
|||
|
<a class="button is-small">
|
|||
|
<span class="icon is-small">
|
|||
|
<i class="fa fa-header"></i>
|
|||
|
</span>
|
|||
|
</a>
|
|||
|
</p>
|
|||
|
<p class="field">
|
|||
|
<a class="button">
|
|||
|
<span class="icon is-small">
|
|||
|
<i class="fa fa-header"></i>
|
|||
|
</span>
|
|||
|
</a>
|
|||
|
<a class="button">
|
|||
|
<span class="icon">
|
|||
|
<i class="fa fa-header"></i>
|
|||
|
</span>
|
|||
|
</a>
|
|||
|
</p>
|
|||
|
<p class="field">
|
|||
|
<a class="button is-medium">
|
|||
|
<span class="icon is-small">
|
|||
|
<i class="fa fa-header"></i>
|
|||
|
</span>
|
|||
|
</a>
|
|||
|
<a class="button is-medium">
|
|||
|
<span class="icon">
|
|||
|
<i class="fa fa-header"></i>
|
|||
|
</span>
|
|||
|
</a>
|
|||
|
<a class="button is-medium">
|
|||
|
<span class="icon is-medium">
|
|||
|
<i class="fa fa-header"></i>
|
|||
|
</span>
|
|||
|
</a>
|
|||
|
</p>
|
|||
|
<p class="field">
|
|||
|
<a class="button is-large">
|
|||
|
<span class="icon is-small">
|
|||
|
<i class="fa fa-header"></i>
|
|||
|
</span>
|
|||
|
</a>
|
|||
|
<a class="button is-large">
|
|||
|
<span class="icon">
|
|||
|
<i class="fa fa-header"></i>
|
|||
|
</span>
|
|||
|
</a>
|
|||
|
<a class="button is-large">
|
|||
|
<span class="icon is-medium">
|
|||
|
<i class="fa fa-header"></i>
|
|||
|
</span>
|
|||
|
</a>
|
|||
|
<a class="button is-large">
|
|||
|
<span class="icon is-large">
|
|||
|
<i class="fa fa-header"></i>
|
|||
|
</span>
|
|||
|
</a>
|
|||
|
</p>
|
|||
|
|
|||
|
</div>
|
|||
|
<div class="column">
|
|||
|
<figure class="highlight"><pre><code class="language-html" data-lang="html"><span class="nt"><p</span> <span class="na">class=</span><span class="s">"field"</span><span class="nt">></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button is-small"</span><span class="nt">></span>
|
|||
|
<span class="nt"><span</span> <span class="na">class=</span><span class="s">"icon is-small"</span><span class="nt">></span>
|
|||
|
<span class="nt"><i</span> <span class="na">class=</span><span class="s">"fa fa-header"</span><span class="nt">></i></span>
|
|||
|
<span class="nt"></span></span>
|
|||
|
<span class="nt"></a></span>
|
|||
|
<span class="nt"></p></span>
|
|||
|
<span class="nt"><p</span> <span class="na">class=</span><span class="s">"field"</span><span class="nt">></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button"</span><span class="nt">></span>
|
|||
|
<span class="nt"><span</span> <span class="na">class=</span><span class="s">"icon is-small"</span><span class="nt">></span>
|
|||
|
<span class="nt"><i</span> <span class="na">class=</span><span class="s">"fa fa-header"</span><span class="nt">></i></span>
|
|||
|
<span class="nt"></span></span>
|
|||
|
<span class="nt"></a></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button"</span><span class="nt">></span>
|
|||
|
<span class="nt"><span</span> <span class="na">class=</span><span class="s">"icon"</span><span class="nt">></span>
|
|||
|
<span class="nt"><i</span> <span class="na">class=</span><span class="s">"fa fa-header"</span><span class="nt">></i></span>
|
|||
|
<span class="nt"></span></span>
|
|||
|
<span class="nt"></a></span>
|
|||
|
<span class="nt"></p></span>
|
|||
|
<span class="nt"><p</span> <span class="na">class=</span><span class="s">"field"</span><span class="nt">></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button is-medium"</span><span class="nt">></span>
|
|||
|
<span class="nt"><span</span> <span class="na">class=</span><span class="s">"icon is-small"</span><span class="nt">></span>
|
|||
|
<span class="nt"><i</span> <span class="na">class=</span><span class="s">"fa fa-header"</span><span class="nt">></i></span>
|
|||
|
<span class="nt"></span></span>
|
|||
|
<span class="nt"></a></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button is-medium"</span><span class="nt">></span>
|
|||
|
<span class="nt"><span</span> <span class="na">class=</span><span class="s">"icon"</span><span class="nt">></span>
|
|||
|
<span class="nt"><i</span> <span class="na">class=</span><span class="s">"fa fa-header"</span><span class="nt">></i></span>
|
|||
|
<span class="nt"></span></span>
|
|||
|
<span class="nt"></a></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button is-medium"</span><span class="nt">></span>
|
|||
|
<span class="nt"><span</span> <span class="na">class=</span><span class="s">"icon is-medium"</span><span class="nt">></span>
|
|||
|
<span class="nt"><i</span> <span class="na">class=</span><span class="s">"fa fa-header"</span><span class="nt">></i></span>
|
|||
|
<span class="nt"></span></span>
|
|||
|
<span class="nt"></a></span>
|
|||
|
<span class="nt"></p></span>
|
|||
|
<span class="nt"><p</span> <span class="na">class=</span><span class="s">"field"</span><span class="nt">></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button is-large"</span><span class="nt">></span>
|
|||
|
<span class="nt"><span</span> <span class="na">class=</span><span class="s">"icon is-small"</span><span class="nt">></span>
|
|||
|
<span class="nt"><i</span> <span class="na">class=</span><span class="s">"fa fa-header"</span><span class="nt">></i></span>
|
|||
|
<span class="nt"></span></span>
|
|||
|
<span class="nt"></a></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button is-large"</span><span class="nt">></span>
|
|||
|
<span class="nt"><span</span> <span class="na">class=</span><span class="s">"icon"</span><span class="nt">></span>
|
|||
|
<span class="nt"><i</span> <span class="na">class=</span><span class="s">"fa fa-header"</span><span class="nt">></i></span>
|
|||
|
<span class="nt"></span></span>
|
|||
|
<span class="nt"></a></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button is-large"</span><span class="nt">></span>
|
|||
|
<span class="nt"><span</span> <span class="na">class=</span><span class="s">"icon is-medium"</span><span class="nt">></span>
|
|||
|
<span class="nt"><i</span> <span class="na">class=</span><span class="s">"fa fa-header"</span><span class="nt">></i></span>
|
|||
|
<span class="nt"></span></span>
|
|||
|
<span class="nt"></a></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button is-large"</span><span class="nt">></span>
|
|||
|
<span class="nt"><span</span> <span class="na">class=</span><span class="s">"icon is-large"</span><span class="nt">></span>
|
|||
|
<span class="nt"><i</span> <span class="na">class=</span><span class="s">"fa fa-header"</span><span class="nt">></i></span>
|
|||
|
<span class="nt"></span></span>
|
|||
|
<span class="nt"></a></span>
|
|||
|
<span class="nt"></p></span></code></pre></figure>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
|
|||
|
<hr>
|
|||
|
|
|||
|
<h3 class="title">Button group</h3>
|
|||
|
<div class="content">
|
|||
|
<p>If you want to <strong>group</strong> buttons together, use the <code>is-grouped</code> modifier on the <code>field</code> container:</p>
|
|||
|
</div>
|
|||
|
|
|||
|
<div class="example">
|
|||
|
|
|||
|
<div class="field is-grouped">
|
|||
|
<p class="control">
|
|||
|
<a class="button is-primary">
|
|||
|
Save changes
|
|||
|
</a>
|
|||
|
</p>
|
|||
|
<p class="control">
|
|||
|
<a class="button">
|
|||
|
Cancel
|
|||
|
</a>
|
|||
|
</p>
|
|||
|
<p class="control">
|
|||
|
<a class="button is-danger">
|
|||
|
Delete post
|
|||
|
</a>
|
|||
|
</p>
|
|||
|
</div>
|
|||
|
|
|||
|
</div>
|
|||
|
<figure class="highlight"><pre><code class="language-html" data-lang="html"><span class="nt"><div</span> <span class="na">class=</span><span class="s">"field is-grouped"</span><span class="nt">></span>
|
|||
|
<span class="nt"><p</span> <span class="na">class=</span><span class="s">"control"</span><span class="nt">></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button is-primary"</span><span class="nt">></span>
|
|||
|
Save changes
|
|||
|
<span class="nt"></a></span>
|
|||
|
<span class="nt"></p></span>
|
|||
|
<span class="nt"><p</span> <span class="na">class=</span><span class="s">"control"</span><span class="nt">></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button"</span><span class="nt">></span>
|
|||
|
Cancel
|
|||
|
<span class="nt"></a></span>
|
|||
|
<span class="nt"></p></span>
|
|||
|
<span class="nt"><p</span> <span class="na">class=</span><span class="s">"control"</span><span class="nt">></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button is-danger"</span><span class="nt">></span>
|
|||
|
Delete post
|
|||
|
<span class="nt"></a></span>
|
|||
|
<span class="nt"></p></span>
|
|||
|
<span class="nt"></div></span></code></pre></figure>
|
|||
|
|
|||
|
<hr>
|
|||
|
|
|||
|
<h3 class="title">Button addons</h3>
|
|||
|
<div class="content">
|
|||
|
<p>If you want to use buttons as <strong>addons</strong>, use the <code>has-addons</code> modifier on the <code>field</code> container:</p>
|
|||
|
</div>
|
|||
|
|
|||
|
<div class="example">
|
|||
|
|
|||
|
<div class="field has-addons">
|
|||
|
<p class="control">
|
|||
|
<a class="button">
|
|||
|
<span class="icon is-small">
|
|||
|
<i class="fa fa-align-left"></i>
|
|||
|
</span>
|
|||
|
<span>Left</span>
|
|||
|
</a>
|
|||
|
</p>
|
|||
|
<p class="control">
|
|||
|
<a class="button">
|
|||
|
<span class="icon is-small">
|
|||
|
<i class="fa fa-align-center"></i>
|
|||
|
</span>
|
|||
|
<span>Center</span>
|
|||
|
</a>
|
|||
|
</p>
|
|||
|
<p class="control">
|
|||
|
<a class="button">
|
|||
|
<span class="icon is-small">
|
|||
|
<i class="fa fa-align-right"></i>
|
|||
|
</span>
|
|||
|
<span>Right</span>
|
|||
|
</a>
|
|||
|
</p>
|
|||
|
</div>
|
|||
|
|
|||
|
</div>
|
|||
|
<figure class="highlight"><pre><code class="language-html" data-lang="html"><span class="nt"><div</span> <span class="na">class=</span><span class="s">"field has-addons"</span><span class="nt">></span>
|
|||
|
<span class="nt"><p</span> <span class="na">class=</span><span class="s">"control"</span><span class="nt">></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button"</span><span class="nt">></span>
|
|||
|
<span class="nt"><span</span> <span class="na">class=</span><span class="s">"icon is-small"</span><span class="nt">></span>
|
|||
|
<span class="nt"><i</span> <span class="na">class=</span><span class="s">"fa fa-align-left"</span><span class="nt">></i></span>
|
|||
|
<span class="nt"></span></span>
|
|||
|
<span class="nt"><span></span>Left<span class="nt"></span></span>
|
|||
|
<span class="nt"></a></span>
|
|||
|
<span class="nt"></p></span>
|
|||
|
<span class="nt"><p</span> <span class="na">class=</span><span class="s">"control"</span><span class="nt">></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button"</span><span class="nt">></span>
|
|||
|
<span class="nt"><span</span> <span class="na">class=</span><span class="s">"icon is-small"</span><span class="nt">></span>
|
|||
|
<span class="nt"><i</span> <span class="na">class=</span><span class="s">"fa fa-align-center"</span><span class="nt">></i></span>
|
|||
|
<span class="nt"></span></span>
|
|||
|
<span class="nt"><span></span>Center<span class="nt"></span></span>
|
|||
|
<span class="nt"></a></span>
|
|||
|
<span class="nt"></p></span>
|
|||
|
<span class="nt"><p</span> <span class="na">class=</span><span class="s">"control"</span><span class="nt">></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button"</span><span class="nt">></span>
|
|||
|
<span class="nt"><span</span> <span class="na">class=</span><span class="s">"icon is-small"</span><span class="nt">></span>
|
|||
|
<span class="nt"><i</span> <span class="na">class=</span><span class="s">"fa fa-align-right"</span><span class="nt">></i></span>
|
|||
|
<span class="nt"></span></span>
|
|||
|
<span class="nt"><span></span>Right<span class="nt"></span></span>
|
|||
|
<span class="nt"></a></span>
|
|||
|
<span class="nt"></p></span>
|
|||
|
<span class="nt"></div></span></code></pre></figure>
|
|||
|
|
|||
|
<hr>
|
|||
|
|
|||
|
<h3 class="title">Button group with addons</h3>
|
|||
|
<div class="content">
|
|||
|
<p>You can group together addons as well:</p>
|
|||
|
</div>
|
|||
|
|
|||
|
<div class="example">
|
|||
|
|
|||
|
<div class="field has-addons">
|
|||
|
<p class="control">
|
|||
|
<a class="button">
|
|||
|
<span class="icon is-small">
|
|||
|
<i class="fa fa-bold"></i>
|
|||
|
</span>
|
|||
|
<span>Bold</span>
|
|||
|
</a>
|
|||
|
</p>
|
|||
|
<p class="control">
|
|||
|
<a class="button">
|
|||
|
<span class="icon is-small">
|
|||
|
<i class="fa fa-italic"></i>
|
|||
|
</span>
|
|||
|
<span>Italic</span>
|
|||
|
</a>
|
|||
|
</p>
|
|||
|
<p class="control">
|
|||
|
<a class="button">
|
|||
|
<span class="icon is-small">
|
|||
|
<i class="fa fa-underline"></i>
|
|||
|
</span>
|
|||
|
<span>Underline</span>
|
|||
|
</a>
|
|||
|
</p>
|
|||
|
</div>
|
|||
|
|
|||
|
<div class="field has-addons">
|
|||
|
<p class="control">
|
|||
|
<a class="button">
|
|||
|
<span class="icon is-small">
|
|||
|
<i class="fa fa-align-left"></i>
|
|||
|
</span>
|
|||
|
<span>Left</span>
|
|||
|
</a>
|
|||
|
</p>
|
|||
|
<p class="control">
|
|||
|
<a class="button">
|
|||
|
<span class="icon is-small">
|
|||
|
<i class="fa fa-align-center"></i>
|
|||
|
</span>
|
|||
|
<span>Center</span>
|
|||
|
</a>
|
|||
|
</p>
|
|||
|
<p class="control">
|
|||
|
<a class="button">
|
|||
|
<span class="icon is-small">
|
|||
|
<i class="fa fa-align-right"></i>
|
|||
|
</span>
|
|||
|
<span>Right</span>
|
|||
|
</a>
|
|||
|
</p>
|
|||
|
</div>
|
|||
|
|
|||
|
</div>
|
|||
|
<figure class="highlight"><pre><code class="language-html" data-lang="html"><span class="nt"><div</span> <span class="na">class=</span><span class="s">"field has-addons"</span><span class="nt">></span>
|
|||
|
<span class="nt"><p</span> <span class="na">class=</span><span class="s">"control"</span><span class="nt">></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button"</span><span class="nt">></span>
|
|||
|
<span class="nt"><span</span> <span class="na">class=</span><span class="s">"icon is-small"</span><span class="nt">></span>
|
|||
|
<span class="nt"><i</span> <span class="na">class=</span><span class="s">"fa fa-bold"</span><span class="nt">></i></span>
|
|||
|
<span class="nt"></span></span>
|
|||
|
<span class="nt"><span></span>Bold<span class="nt"></span></span>
|
|||
|
<span class="nt"></a></span>
|
|||
|
<span class="nt"></p></span>
|
|||
|
<span class="nt"><p</span> <span class="na">class=</span><span class="s">"control"</span><span class="nt">></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button"</span><span class="nt">></span>
|
|||
|
<span class="nt"><span</span> <span class="na">class=</span><span class="s">"icon is-small"</span><span class="nt">></span>
|
|||
|
<span class="nt"><i</span> <span class="na">class=</span><span class="s">"fa fa-italic"</span><span class="nt">></i></span>
|
|||
|
<span class="nt"></span></span>
|
|||
|
<span class="nt"><span></span>Italic<span class="nt"></span></span>
|
|||
|
<span class="nt"></a></span>
|
|||
|
<span class="nt"></p></span>
|
|||
|
<span class="nt"><p</span> <span class="na">class=</span><span class="s">"control"</span><span class="nt">></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button"</span><span class="nt">></span>
|
|||
|
<span class="nt"><span</span> <span class="na">class=</span><span class="s">"icon is-small"</span><span class="nt">></span>
|
|||
|
<span class="nt"><i</span> <span class="na">class=</span><span class="s">"fa fa-underline"</span><span class="nt">></i></span>
|
|||
|
<span class="nt"></span></span>
|
|||
|
<span class="nt"><span></span>Underline<span class="nt"></span></span>
|
|||
|
<span class="nt"></a></span>
|
|||
|
<span class="nt"></p></span>
|
|||
|
<span class="nt"></div></span>
|
|||
|
|
|||
|
<span class="nt"><div</span> <span class="na">class=</span><span class="s">"field has-addons"</span><span class="nt">></span>
|
|||
|
<span class="nt"><p</span> <span class="na">class=</span><span class="s">"control"</span><span class="nt">></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button"</span><span class="nt">></span>
|
|||
|
<span class="nt"><span</span> <span class="na">class=</span><span class="s">"icon is-small"</span><span class="nt">></span>
|
|||
|
<span class="nt"><i</span> <span class="na">class=</span><span class="s">"fa fa-align-left"</span><span class="nt">></i></span>
|
|||
|
<span class="nt"></span></span>
|
|||
|
<span class="nt"><span></span>Left<span class="nt"></span></span>
|
|||
|
<span class="nt"></a></span>
|
|||
|
<span class="nt"></p></span>
|
|||
|
<span class="nt"><p</span> <span class="na">class=</span><span class="s">"control"</span><span class="nt">></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button"</span><span class="nt">></span>
|
|||
|
<span class="nt"><span</span> <span class="na">class=</span><span class="s">"icon is-small"</span><span class="nt">></span>
|
|||
|
<span class="nt"><i</span> <span class="na">class=</span><span class="s">"fa fa-align-center"</span><span class="nt">></i></span>
|
|||
|
<span class="nt"></span></span>
|
|||
|
<span class="nt"><span></span>Center<span class="nt"></span></span>
|
|||
|
<span class="nt"></a></span>
|
|||
|
<span class="nt"></p></span>
|
|||
|
<span class="nt"><p</span> <span class="na">class=</span><span class="s">"control"</span><span class="nt">></span>
|
|||
|
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button"</span><span class="nt">></span>
|
|||
|
<span class="nt"><span</span> <span class="na">class=</span><span class="s">"icon is-small"</span><span class="nt">></span>
|
|||
|
<span class="nt"><i</span> <span class="na">class=</span><span class="s">"fa fa-align-right"</span><span class="nt">></i></span>
|
|||
|
<span class="nt"></span></span>
|
|||
|
<span class="nt"><span></span>Right<span class="nt"></span></span>
|
|||
|
<span class="nt"></a></span>
|
|||
|
<span class="nt"></p></span>
|
|||
|
<span class="nt"></div></span></code></pre></figure>
|
|||
|
|
|||
|
</div>
|
|||
|
</section>
|
|||
|
|
|||
|
|
|||
|
<script src="//m.servedby-buysellads.com/monetization.js" type="text/javascript"></script>
|
|||
|
|
|||
|
<section class="hero is-info bsa">
|
|||
|
<div class="container">
|
|||
|
<div class="columns is-vcentered">
|
|||
|
<div class="column is-4">
|
|||
|
<p class="title">Bulma <strong>Partners</strong></p>
|
|||
|
<p class="subtitle">Check out their products!</p>
|
|||
|
</div>
|
|||
|
|
|||
|
<div class="column is-8">
|
|||
|
<div class="bsa-cpc"></div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</section>
|
|||
|
|
|||
|
<script>
|
|||
|
(function(){
|
|||
|
if(typeof _bsa !== 'undefined' && _bsa) {
|
|||
|
_bsa.init('default', 'CVAIKK3E', 'placement:bulmaio', {
|
|||
|
target: '.bsa-cpc',
|
|||
|
align: 'horizontal',
|
|||
|
disable_css: 'true'
|
|||
|
});
|
|||
|
}
|
|||
|
})();
|
|||
|
</script>
|
|||
|
|
|||
|
|
|||
|
<section id="newsletter" class="hero is-primary">
|
|||
|
<div class="hero-body">
|
|||
|
<div class="container">
|
|||
|
<!-- Begin MailChimp Signup Form -->
|
|||
|
<div id="mc_embed_signup" class="columns is-vcentered">
|
|||
|
<div class="column is-one-third is-left">
|
|||
|
<p class="title">Bulma <strong>Newsletter</strong></p>
|
|||
|
<p class="subtitle">Get notified when v1 is ready!</p>
|
|||
|
</div>
|
|||
|
|
|||
|
<div class="column">
|
|||
|
<form action="https://bbxdesign.us3.list-manage.com/subscribe/post?u=b43b93fe633f0560b2a72a69c&id=52585e8803" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
|
|||
|
<div id="mc_embed_signup_scroll">
|
|||
|
<div class="field is-grouped">
|
|||
|
<div class="control has-icons-left is-expanded">
|
|||
|
<input type="email" value="" name="EMAIL" class="input is-flat required email" id="mce-EMAIL" placeholder="email address" required>
|
|||
|
<span class="icon is-small is-left">
|
|||
|
<i class="fa fa-envelope"></i>
|
|||
|
</span>
|
|||
|
</div>
|
|||
|
<div class="control">
|
|||
|
<input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="button is-white is-outlined">
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<div id="mce-responses">
|
|||
|
<div class="notification is-danger response" id="mce-error-response" style="display:none"></div>
|
|||
|
<div class="notification is-success response" id="mce-success-response" style="display:none"></div>
|
|||
|
</div>
|
|||
|
<!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
|
|||
|
<div style="position: absolute; left: -5000px;" aria-hidden="true">
|
|||
|
<input type="text" name="b_b43b93fe633f0560b2a72a69c_52585e8803" tabindex="-1" value="">
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</form>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<!--End mc_embed_signup-->
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</section>
|
|||
|
|
|||
|
<footer class="footer">
|
|||
|
<div class="container">
|
|||
|
<div class="columns">
|
|||
|
<div class="column is-3">
|
|||
|
<div id="about" class="content">
|
|||
|
<strong xmlns:dct="http://purl.org/dc/terms/" href="http://purl.org/dc/dcmitype/Text" property="dct:title" rel="dct:type">Bulma</strong> by <a xmlns:cc="http://creativecommons.org/ns#" href="http://jgthms.com" property="cc:attributionName" rel="cc:attributionURL">Jeremy Thomas</a>.
|
|||
|
<div class="twitter-container">
|
|||
|
<a href="https://twitter.com/jgthms" class="twitter-follow-button" data-show-count="true" data-lang="en" data-size="large">@jgthms</a>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<div class="column is-5">
|
|||
|
<div id="share" class="content">
|
|||
|
<div>
|
|||
|
<strong>Support</strong> and share the love!
|
|||
|
</div>
|
|||
|
<div id="social">
|
|||
|
<iframe class="github-btn" src="https://ghbtns.com/github-btn.html?user=jgthms&repo=bulma&type=star&count=true&size=large" allowtransparency="true" frameborder="0" scrolling="0" width="160px" height="30px"></iframe>
|
|||
|
|
|||
|
<a href="https://twitter.com/share" class="twitter-share-button" data-text="Bulma v0.4.4: a modern CSS framework based on Flexbox" data-url="http://bulma.io/versions/0.4.4" data-count="horizontal" data-via="jgthms" data-related="jgthms:Creator of Bulma" data-size="large">Tweet</a>
|
|||
|
|
|||
|
<form class="paypal-form" action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
|
|||
|
<input type="hidden" name="cmd" value="_s-xclick">
|
|||
|
<input type="hidden" name="hosted_button_id" value="8WMKYSRFN6A78">
|
|||
|
<input type="image" src="http://bulma.io/versions/0.4.4/images/paypal-donate.png" border="0" name="submit" alt="PayPal – The safer, easier way to pay online." height="30">
|
|||
|
<img alt="" border="0" src="https://www.paypalobjects.com/en_GB/i/scr/pixel.gif" width="1" height="1">
|
|||
|
</form>
|
|||
|
|
|||
|
<div class="fb-like" data-href="https://www.facebook.com/bulmaio" data-layout="button" data-action="like" data-size="large" data-show-faces="false" data-share="true"></div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<div class="column is-4">
|
|||
|
<div id="sister">
|
|||
|
<p>
|
|||
|
More <strong>helpful</strong> tools:
|
|||
|
</p>
|
|||
|
<ul>
|
|||
|
<li>
|
|||
|
<a href="http://cssreference.io">
|
|||
|
<img src="http://bulma.io/versions/0.4.4/images/css-reference-logo.png" alt="CSS Reference logo">
|
|||
|
</a>
|
|||
|
</li>
|
|||
|
<li>
|
|||
|
<a href="http://htmlreference.io">
|
|||
|
<img src="http://bulma.io/versions/0.4.4/images/html-reference-logo.png" alt="HTML Reference logo">
|
|||
|
</a>
|
|||
|
</li>
|
|||
|
</ul>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
|
|||
|
<p id="tsp">
|
|||
|
<small>
|
|||
|
Source code licensed <a href="http://opensource.org/licenses/mit-license.php">MIT</a>.
|
|||
|
<br>
|
|||
|
Website content licensed <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/">CC BY-NC-SA 4.0</a>.
|
|||
|
</small>
|
|||
|
</p>
|
|||
|
</div>
|
|||
|
</footer>
|
|||
|
|
|||
|
<script src="http://bulma.io/versions/0.4.4/vendor/clipboard-1.7.1.min.js"></script>
|
|||
|
<script src="http://bulma.io/versions/0.4.4/lib/main.js"></script>
|
|||
|
|
|||
|
|
|||
|
|
|||
|
<div id="fb-root"></div>
|
|||
|
|
|||
|
<script async defer type="text/javascript">(function(d, s, id) {
|
|||
|
var js, fjs = d.getElementsByTagName(s)[0];
|
|||
|
if (d.getElementById(id)) return;
|
|||
|
js = d.createElement(s); js.id = id;
|
|||
|
js.async = true;
|
|||
|
js.defer = true;
|
|||
|
js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.8&appId=310296819307942";
|
|||
|
fjs.parentNode.insertBefore(js, fjs);
|
|||
|
}(document, 'script', 'facebook-jssdk'));</script>
|
|||
|
|
|||
|
<script async defer id="twitter-wjs" src="https://platform.twitter.com/widgets.js"></script>
|
|||
|
<script async defer type="text/javascript" src="https://s3.amazonaws.com/downloads.mailchimp.com/js/mc-validate.js"></script>
|
|||
|
|
|||
|
<script async defer type="text/javascript">
|
|||
|
(function() {
|
|||
|
window.fnames = new Array();
|
|||
|
window.ftypes = new Array();
|
|||
|
fnames[0]='EMAIL';
|
|||
|
ftypes[0]='email';
|
|||
|
}());
|
|||
|
// var $mcj = window.jQuery.noConflict(true);
|
|||
|
</script>
|
|||
|
|
|||
|
<script async defer type="text/javascript">
|
|||
|
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
|||
|
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
|||
|
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
|||
|
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
|
|||
|
|
|||
|
ga('create', 'UA-82634666-2', 'auto');
|
|||
|
ga('send', 'pageview');
|
|||
|
</script>
|
|||
|
|
|||
|
</body>
|
|||
|
</html>
|