mirror of
https://github.com/jgthms/bulma
synced 2026-03-19 20:04:30 -07:00
Archive version 0.5.2
This commit is contained in:
638
docs/versions/0.5.2/documentation/overview/classes/index.html
Normal file
638
docs/versions/0.5.2/documentation/overview/classes/index.html
Normal file
@@ -0,0 +1,638 @@
|
||||
<!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.5.2 is an open source CSS framework based on Flexbox and built with Sass. It's 100% responsive, fully modular, and available for free.">
|
||||
|
||||
<title>CSS classes | Bulma v0.5.2: a modern CSS framework based on Flexbox</title>
|
||||
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="http://bulma.io/versions/0.5.2/css/bulma-docs.css?v=20170911-2007">
|
||||
|
||||
<link rel="canonical" href="http://bulma.io/versions/0.5.2/documentation/overview/classes/">
|
||||
<link rel="alternate" type="application/rss+xml" title="Bulma v0.5.2: a modern CSS framework based on Flexbox" href="http://bulma.io/versions/0.5.2/feed.xml">
|
||||
|
||||
<meta property="og:url" content="http://bulma.io/versions/0.5.2">
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:title" content="Bulma v0.5.2: a modern CSS framework based on Flexbox">
|
||||
<meta property="og:image" content="http://bulma.io/versions/0.5.2/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.5.2 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.5.2: a modern CSS framework based on Flexbox">
|
||||
<meta name="twitter:image" content="http://bulma.io/versions/0.5.2/images/bulma-banner.png">
|
||||
<meta name="twitter:description" content="Bulma v0.5.2 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.5.2/favicons/apple-touch-icon.png?v=201701041855">
|
||||
<link rel="icon" type="image/png" href="http://bulma.io/versions/0.5.2/favicons/favicon-32x32.png?v=201701041855" sizes="32x32">
|
||||
<link rel="icon" type="image/png" href="http://bulma.io/versions/0.5.2/favicons/favicon-16x16.png?v=201701041855" sizes="16x16">
|
||||
<link rel="manifest" href="http://bulma.io/versions/0.5.2/favicons/manifest.json?v=201701041855">
|
||||
<link rel="mask-icon" href="http://bulma.io/versions/0.5.2/favicons/safari-pinned-tab.svg?v=201701041855" color="#00d1b2">
|
||||
<link rel="shortcut icon" href="http://bulma.io/versions/0.5.2/favicons/favicon.ico?v=201701041855">
|
||||
<meta name="msapplication-config" content="http://bulma.io/versions/0.5.2/favicons/browserconfig.xml?v=201701041855">
|
||||
<meta name="theme-color" content="#00d1b2">
|
||||
</head>
|
||||
|
||||
<body class="layout-documentation page-overview">
|
||||
|
||||
<div class="notification is-info" style="border-radius: 0; margin-bottom: 0;">
|
||||
<p>
|
||||
You are viewing the deprecated <strong>0.5.2</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.5.2">
|
||||
<img src="http://bulma.io/versions/0.5.2/images/bulma-logo.png" alt="Bulma v0.5.2: 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-lg 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-lg 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">
|
||||
<div class="navbar-item has-dropdown is-hoverable">
|
||||
<a class="navbar-link is-active" href="/versions/0.5.2/documentation/overview/start/">
|
||||
Docs
|
||||
</a>
|
||||
<div class="navbar-dropdown ">
|
||||
<a class="navbar-item is-active" href="/versions/0.5.2/documentation/overview/start/">
|
||||
Overview
|
||||
</a>
|
||||
<a class="navbar-item " href="http://bulma.io/versions/0.5.2/documentation/modifiers/syntax/">
|
||||
Modifiers
|
||||
</a>
|
||||
<a class="navbar-item " href="http://bulma.io/versions/0.5.2/documentation/columns/basics/">
|
||||
Columns
|
||||
</a>
|
||||
<a class="navbar-item " href="http://bulma.io/versions/0.5.2/documentation/layout/container/">
|
||||
Layout
|
||||
</a>
|
||||
<a class="navbar-item " href="http://bulma.io/versions/0.5.2/documentation/form/general/">
|
||||
Form
|
||||
</a>
|
||||
<a class="navbar-item " href="http://bulma.io/versions/0.5.2/documentation/elements/box/">
|
||||
Elements
|
||||
</a>
|
||||
|
||||
<a class="navbar-item " href="http://bulma.io/versions/0.5.2/documentation/components/breadcrumb/">
|
||||
Components
|
||||
</a>
|
||||
|
||||
<hr class="navbar-divider">
|
||||
<div class="navbar-item">
|
||||
<div>
|
||||
<p class="is-size-6-desktop">
|
||||
<strong class="has-text-info">0.5.2</strong>
|
||||
</p>
|
||||
|
||||
<small>
|
||||
<a class="bd-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.5.2/blog/">
|
||||
Blog
|
||||
</a>
|
||||
<div id="blogDropdown" class="navbar-dropdown " data-style="width: 18rem;">
|
||||
|
||||
<a class="navbar-item" href="/2017/08/03/list-of-tags/">
|
||||
<div class="navbar-content">
|
||||
<p>
|
||||
<small class="has-text-info">03 Aug 2017</small>
|
||||
</p>
|
||||
<p>New feature: list of tags</p>
|
||||
</div>
|
||||
</a>
|
||||
|
||||
<a class="navbar-item" href="/2017/08/01/bulma-bootstrap-comparison/">
|
||||
<div class="navbar-content">
|
||||
<p>
|
||||
<small class="has-text-info">01 Aug 2017</small>
|
||||
</p>
|
||||
<p>Bulma / Bootstrap comparison</p>
|
||||
</div>
|
||||
</a>
|
||||
|
||||
<a class="navbar-item" href="/2017/07/24/access-previous-bulma-versions/">
|
||||
<div class="navbar-content">
|
||||
<p>
|
||||
<small class="has-text-info">24 Jul 2017</small>
|
||||
</p>
|
||||
<p>Access previous Bulma versions</p>
|
||||
</div>
|
||||
</a>
|
||||
|
||||
<a class="navbar-item" href="http://bulma.io/versions/0.5.2/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 bd-is-rss is-small" href="http://bulma.io/versions/0.5.2/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.5.2/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>
|
||||
<a class="navbar-item " href="http://bulma.io/versions/0.5.2/expo/">
|
||||
<span class="bd-emoji">⭐️</span>
|
||||
Expo
|
||||
</a>
|
||||
<a class="navbar-item " href="http://bulma.io/versions/0.5.2/love/">
|
||||
<span class="bd-emoji">❤️</span>
|
||||
Love
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="navbar-end">
|
||||
<a class="navbar-item is-hidden-desktop-only" href="https://github.com/jgthms/bulma" target="_blank">
|
||||
<span class="icon" style="color: #333;">
|
||||
<i class="fa fa-lg fa-github"></i>
|
||||
</span>
|
||||
</a>
|
||||
<a class="navbar-item is-hidden-desktop-only" href="https://twitter.com/jgthms" target="_blank">
|
||||
<span class="icon" style="color: #55acee;">
|
||||
<i class="fa fa-lg fa-twitter"></i>
|
||||
</span>
|
||||
</a>
|
||||
<div class="navbar-item">
|
||||
<div class="field is-grouped">
|
||||
<p class="control">
|
||||
<a class="bd-tw-button button"
|
||||
data-social-network="Twitter"
|
||||
data-social-action="tweet"
|
||||
data-social-target="http://bulma.io/versions/0.5.2"
|
||||
target="_blank"
|
||||
href="https://twitter.com/intent/tweet?text=Bulma v0.5.2: a modern CSS framework based on Flexbox&hashtags=bulmaio&url=http://bulma.io/versions/0.5.2&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.5.2.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="carboncontainer">
|
||||
<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>
|
||||
|
||||
<div class="hero-foot">
|
||||
<div class="container">
|
||||
<nav class="tabs is-boxed">
|
||||
<ul>
|
||||
<li class="is-active">
|
||||
<a href="/versions/0.5.2/documentation/overview/start/">Overview</a>
|
||||
</li>
|
||||
<li >
|
||||
<a href="http://bulma.io/versions/0.5.2/documentation/modifiers/syntax">Modifiers</a>
|
||||
</li>
|
||||
<li >
|
||||
<a href="http://bulma.io/versions/0.5.2/documentation/columns/basics">Columns</a>
|
||||
</li>
|
||||
<li >
|
||||
<a href="http://bulma.io/versions/0.5.2/documentation/layout/container/">Layout</a>
|
||||
</li>
|
||||
<li >
|
||||
<a href="http://bulma.io/versions/0.5.2/documentation/form/general">Form</a>
|
||||
</li>
|
||||
<li >
|
||||
<a href="http://bulma.io/versions/0.5.2/documentation/elements/box/">Elements</a>
|
||||
</li>
|
||||
<li >
|
||||
|
||||
<a href="http://bulma.io/versions/0.5.2/documentation/components/breadcrumb/">Components</a>
|
||||
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</section>
|
||||
|
||||
<nav class="navbar has-shadow">
|
||||
<div class="container">
|
||||
<div class="navbar-tabs">
|
||||
<a class="navbar-item is-tab " href="http://bulma.io/versions/0.5.2/documentation/overview/start/">
|
||||
Start
|
||||
</a>
|
||||
<a class="navbar-item is-tab " href="http://bulma.io/versions/0.5.2/documentation/overview/customize/">
|
||||
Customize
|
||||
</a>
|
||||
<a class="navbar-item is-tab is-active" href="http://bulma.io/versions/0.5.2/documentation/overview/classes/">
|
||||
Classes
|
||||
</a>
|
||||
<a class="navbar-item is-tab " href="http://bulma.io/versions/0.5.2/documentation/overview/modular/">
|
||||
Modular
|
||||
</a>
|
||||
<a class="navbar-item is-tab " href="http://bulma.io/versions/0.5.2/documentation/overview/responsiveness/">
|
||||
Responsiveness
|
||||
</a>
|
||||
<a class="navbar-item is-tab " href="http://bulma.io/versions/0.5.2/documentation/overview/variables/">
|
||||
Variables
|
||||
</a>
|
||||
<a class="navbar-item is-tab " href="http://bulma.io/versions/0.5.2/documentation/overview/colors/">
|
||||
Colors
|
||||
</a>
|
||||
<a class="navbar-item is-tab " href="http://bulma.io/versions/0.5.2/documentation/overview/functions/">
|
||||
Functions
|
||||
</a>
|
||||
<a class="navbar-item is-tab " href="http://bulma.io/versions/0.5.2/documentation/overview/mixins/">
|
||||
Mixins
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
|
||||
<section class="section">
|
||||
<div class="container">
|
||||
<h1 class="title">Classes</h1>
|
||||
<h2 class="subtitle">Bulma is simply a <strong>collection</strong> of CSS classes. Write the HTML code you want.</h2>
|
||||
|
||||
<hr>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
Bulma is a <strong>CSS</strong> framework, meaning that the end result is simply a <strong>single</strong> <code>.css</code> file:
|
||||
<br>
|
||||
<a href="https://github.com/jgthms/bulma/blob/master/css/bulma.css">https://github.com/jgthms/bulma/blob/master/css/bulma.css</a></p>
|
||||
<p>
|
||||
Because Bulma solely comprises CSS classes, the HTML code you write has <strong>no impact</strong> on the styling of your page. That's why <code>.input</code> exists as a class, so you can choose <em>which</em> <code><input type="text"></code> elements you want to style.
|
||||
</p>
|
||||
<p>
|
||||
Bulma only styles <strong>generic</strong> tags directly <strong>twice</strong>:
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
<a href="https://github.com/jgthms/bulma/blob/master/sass/base/generic.sass"><code>generic.sass</code></a> to define a basic style for your page
|
||||
</li>
|
||||
<li>
|
||||
the <a href="http://bulma.io/versions/0.5.2/documentation/elements/content/"><code>.content</code> class </a> to use for <em>any</em> textual content, like WYSIWYG
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
<section class="section">
|
||||
<div class="container">
|
||||
<p class="has-text-centered has-text-grey-light">
|
||||
This page is <strong class="has-text-grey">open source</strong>.
|
||||
Noticed a typo? Or something unclear?
|
||||
<a class="has-text-grey" href="https://github.com/jgthms/bulma/blob/master/docs/documentation/overview/classes.html" style="border-bottom: 1px solid currentColor;">
|
||||
Improve this page on GitHub
|
||||
</a>
|
||||
</p>
|
||||
</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>.
|
||||
<p id="alternative">
|
||||
<a href="http://bulma.io/versions/0.5.2/alternative-to-bootstrap/">An alternative to <strong>Bootstrap</strong></a>
|
||||
</p>
|
||||
|
||||
<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.5.2: a modern CSS framework based on Flexbox" data-url="http://bulma.io/versions/0.5.2" 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.5.2/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.5.2/images/css-reference-logo.png" alt="CSS Reference logo">
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="http://htmlreference.io">
|
||||
<img src="http://bulma.io/versions/0.5.2/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.5.2/vendor/clipboard-1.7.1.min.js"></script>
|
||||
<script src="http://bulma.io/versions/0.5.2/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>
|
||||
885
docs/versions/0.5.2/documentation/overview/colors/index.html
Normal file
885
docs/versions/0.5.2/documentation/overview/colors/index.html
Normal file
@@ -0,0 +1,885 @@
|
||||
<!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.5.2 is an open source CSS framework based on Flexbox and built with Sass. It's 100% responsive, fully modular, and available for free.">
|
||||
|
||||
<title>Colors | Bulma v0.5.2: a modern CSS framework based on Flexbox</title>
|
||||
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="http://bulma.io/versions/0.5.2/css/bulma-docs.css?v=20170911-2007">
|
||||
|
||||
<link rel="canonical" href="http://bulma.io/versions/0.5.2/documentation/overview/colors/">
|
||||
<link rel="alternate" type="application/rss+xml" title="Bulma v0.5.2: a modern CSS framework based on Flexbox" href="http://bulma.io/versions/0.5.2/feed.xml">
|
||||
|
||||
<meta property="og:url" content="http://bulma.io/versions/0.5.2">
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:title" content="Bulma v0.5.2: a modern CSS framework based on Flexbox">
|
||||
<meta property="og:image" content="http://bulma.io/versions/0.5.2/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.5.2 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.5.2: a modern CSS framework based on Flexbox">
|
||||
<meta name="twitter:image" content="http://bulma.io/versions/0.5.2/images/bulma-banner.png">
|
||||
<meta name="twitter:description" content="Bulma v0.5.2 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.5.2/favicons/apple-touch-icon.png?v=201701041855">
|
||||
<link rel="icon" type="image/png" href="http://bulma.io/versions/0.5.2/favicons/favicon-32x32.png?v=201701041855" sizes="32x32">
|
||||
<link rel="icon" type="image/png" href="http://bulma.io/versions/0.5.2/favicons/favicon-16x16.png?v=201701041855" sizes="16x16">
|
||||
<link rel="manifest" href="http://bulma.io/versions/0.5.2/favicons/manifest.json?v=201701041855">
|
||||
<link rel="mask-icon" href="http://bulma.io/versions/0.5.2/favicons/safari-pinned-tab.svg?v=201701041855" color="#00d1b2">
|
||||
<link rel="shortcut icon" href="http://bulma.io/versions/0.5.2/favicons/favicon.ico?v=201701041855">
|
||||
<meta name="msapplication-config" content="http://bulma.io/versions/0.5.2/favicons/browserconfig.xml?v=201701041855">
|
||||
<meta name="theme-color" content="#00d1b2">
|
||||
</head>
|
||||
|
||||
<body class="layout-documentation page-overview">
|
||||
|
||||
<div class="notification is-info" style="border-radius: 0; margin-bottom: 0;">
|
||||
<p>
|
||||
You are viewing the deprecated <strong>0.5.2</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.5.2">
|
||||
<img src="http://bulma.io/versions/0.5.2/images/bulma-logo.png" alt="Bulma v0.5.2: 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-lg 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-lg 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">
|
||||
<div class="navbar-item has-dropdown is-hoverable">
|
||||
<a class="navbar-link is-active" href="/versions/0.5.2/documentation/overview/start/">
|
||||
Docs
|
||||
</a>
|
||||
<div class="navbar-dropdown ">
|
||||
<a class="navbar-item is-active" href="/versions/0.5.2/documentation/overview/start/">
|
||||
Overview
|
||||
</a>
|
||||
<a class="navbar-item " href="http://bulma.io/versions/0.5.2/documentation/modifiers/syntax/">
|
||||
Modifiers
|
||||
</a>
|
||||
<a class="navbar-item " href="http://bulma.io/versions/0.5.2/documentation/columns/basics/">
|
||||
Columns
|
||||
</a>
|
||||
<a class="navbar-item " href="http://bulma.io/versions/0.5.2/documentation/layout/container/">
|
||||
Layout
|
||||
</a>
|
||||
<a class="navbar-item " href="http://bulma.io/versions/0.5.2/documentation/form/general/">
|
||||
Form
|
||||
</a>
|
||||
<a class="navbar-item " href="http://bulma.io/versions/0.5.2/documentation/elements/box/">
|
||||
Elements
|
||||
</a>
|
||||
|
||||
<a class="navbar-item " href="http://bulma.io/versions/0.5.2/documentation/components/breadcrumb/">
|
||||
Components
|
||||
</a>
|
||||
|
||||
<hr class="navbar-divider">
|
||||
<div class="navbar-item">
|
||||
<div>
|
||||
<p class="is-size-6-desktop">
|
||||
<strong class="has-text-info">0.5.2</strong>
|
||||
</p>
|
||||
|
||||
<small>
|
||||
<a class="bd-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.5.2/blog/">
|
||||
Blog
|
||||
</a>
|
||||
<div id="blogDropdown" class="navbar-dropdown " data-style="width: 18rem;">
|
||||
|
||||
<a class="navbar-item" href="/2017/08/03/list-of-tags/">
|
||||
<div class="navbar-content">
|
||||
<p>
|
||||
<small class="has-text-info">03 Aug 2017</small>
|
||||
</p>
|
||||
<p>New feature: list of tags</p>
|
||||
</div>
|
||||
</a>
|
||||
|
||||
<a class="navbar-item" href="/2017/08/01/bulma-bootstrap-comparison/">
|
||||
<div class="navbar-content">
|
||||
<p>
|
||||
<small class="has-text-info">01 Aug 2017</small>
|
||||
</p>
|
||||
<p>Bulma / Bootstrap comparison</p>
|
||||
</div>
|
||||
</a>
|
||||
|
||||
<a class="navbar-item" href="/2017/07/24/access-previous-bulma-versions/">
|
||||
<div class="navbar-content">
|
||||
<p>
|
||||
<small class="has-text-info">24 Jul 2017</small>
|
||||
</p>
|
||||
<p>Access previous Bulma versions</p>
|
||||
</div>
|
||||
</a>
|
||||
|
||||
<a class="navbar-item" href="http://bulma.io/versions/0.5.2/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 bd-is-rss is-small" href="http://bulma.io/versions/0.5.2/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.5.2/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>
|
||||
<a class="navbar-item " href="http://bulma.io/versions/0.5.2/expo/">
|
||||
<span class="bd-emoji">⭐️</span>
|
||||
Expo
|
||||
</a>
|
||||
<a class="navbar-item " href="http://bulma.io/versions/0.5.2/love/">
|
||||
<span class="bd-emoji">❤️</span>
|
||||
Love
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="navbar-end">
|
||||
<a class="navbar-item is-hidden-desktop-only" href="https://github.com/jgthms/bulma" target="_blank">
|
||||
<span class="icon" style="color: #333;">
|
||||
<i class="fa fa-lg fa-github"></i>
|
||||
</span>
|
||||
</a>
|
||||
<a class="navbar-item is-hidden-desktop-only" href="https://twitter.com/jgthms" target="_blank">
|
||||
<span class="icon" style="color: #55acee;">
|
||||
<i class="fa fa-lg fa-twitter"></i>
|
||||
</span>
|
||||
</a>
|
||||
<div class="navbar-item">
|
||||
<div class="field is-grouped">
|
||||
<p class="control">
|
||||
<a class="bd-tw-button button"
|
||||
data-social-network="Twitter"
|
||||
data-social-action="tweet"
|
||||
data-social-target="http://bulma.io/versions/0.5.2"
|
||||
target="_blank"
|
||||
href="https://twitter.com/intent/tweet?text=Bulma v0.5.2: a modern CSS framework based on Flexbox&hashtags=bulmaio&url=http://bulma.io/versions/0.5.2&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.5.2.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="carboncontainer">
|
||||
<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>
|
||||
|
||||
<div class="hero-foot">
|
||||
<div class="container">
|
||||
<nav class="tabs is-boxed">
|
||||
<ul>
|
||||
<li class="is-active">
|
||||
<a href="/versions/0.5.2/documentation/overview/start/">Overview</a>
|
||||
</li>
|
||||
<li >
|
||||
<a href="http://bulma.io/versions/0.5.2/documentation/modifiers/syntax">Modifiers</a>
|
||||
</li>
|
||||
<li >
|
||||
<a href="http://bulma.io/versions/0.5.2/documentation/columns/basics">Columns</a>
|
||||
</li>
|
||||
<li >
|
||||
<a href="http://bulma.io/versions/0.5.2/documentation/layout/container/">Layout</a>
|
||||
</li>
|
||||
<li >
|
||||
<a href="http://bulma.io/versions/0.5.2/documentation/form/general">Form</a>
|
||||
</li>
|
||||
<li >
|
||||
<a href="http://bulma.io/versions/0.5.2/documentation/elements/box/">Elements</a>
|
||||
</li>
|
||||
<li >
|
||||
|
||||
<a href="http://bulma.io/versions/0.5.2/documentation/components/breadcrumb/">Components</a>
|
||||
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</section>
|
||||
|
||||
<nav class="navbar has-shadow">
|
||||
<div class="container">
|
||||
<div class="navbar-tabs">
|
||||
<a class="navbar-item is-tab " href="http://bulma.io/versions/0.5.2/documentation/overview/start/">
|
||||
Start
|
||||
</a>
|
||||
<a class="navbar-item is-tab " href="http://bulma.io/versions/0.5.2/documentation/overview/customize/">
|
||||
Customize
|
||||
</a>
|
||||
<a class="navbar-item is-tab " href="http://bulma.io/versions/0.5.2/documentation/overview/classes/">
|
||||
Classes
|
||||
</a>
|
||||
<a class="navbar-item is-tab " href="http://bulma.io/versions/0.5.2/documentation/overview/modular/">
|
||||
Modular
|
||||
</a>
|
||||
<a class="navbar-item is-tab " href="http://bulma.io/versions/0.5.2/documentation/overview/responsiveness/">
|
||||
Responsiveness
|
||||
</a>
|
||||
<a class="navbar-item is-tab " href="http://bulma.io/versions/0.5.2/documentation/overview/variables/">
|
||||
Variables
|
||||
</a>
|
||||
<a class="navbar-item is-tab is-active" href="http://bulma.io/versions/0.5.2/documentation/overview/colors/">
|
||||
Colors
|
||||
</a>
|
||||
<a class="navbar-item is-tab " href="http://bulma.io/versions/0.5.2/documentation/overview/functions/">
|
||||
Functions
|
||||
</a>
|
||||
<a class="navbar-item is-tab " href="http://bulma.io/versions/0.5.2/documentation/overview/mixins/">
|
||||
Mixins
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
|
||||
<section class="section">
|
||||
<div class="container">
|
||||
<h1 class="title">Colors</h1>
|
||||
<h2 class="subtitle">The <strong>colors</strong> that <strong>style</strong> most Bulma elements and components</h2>
|
||||
|
||||
<hr>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
Most elements and components have color variations thanks to <strong>modifiers</strong> with syntax <code>.is-$color</code>, like <code>is-primary</code> or <code>is-dark</code>.
|
||||
</p>
|
||||
<p>
|
||||
This is thanks to the <code>$colors</code> <strong>Sass map</strong>, through which Bulma cycles to grab all the colors and their inverts.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Color</th>
|
||||
<th>Variable</th>
|
||||
<th>Value</th>
|
||||
<th>Actual value</th>
|
||||
<th>Invert variable</th>
|
||||
<th>Actual invert value</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<strong>White</strong>
|
||||
</td>
|
||||
<td>
|
||||
<code>$white</code>
|
||||
</td>
|
||||
<td>
|
||||
<code>$white</code>
|
||||
</td>
|
||||
<td>
|
||||
<span class="bd-color" style="background: hsl(0, 0%, 100%);"></span>
|
||||
<code>hsl(0, 0%, 100%)</code>
|
||||
|
||||
</td>
|
||||
<td>
|
||||
<code>$black</code>
|
||||
</td>
|
||||
<td>
|
||||
|
||||
<span class="bd-color" style="background: rgba(0, 0, 0, 0.7);"></span>
|
||||
<code>rgba(0, 0, 0, 0.7)</code>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<strong>Black</strong>
|
||||
</td>
|
||||
<td>
|
||||
<code>$black</code>
|
||||
</td>
|
||||
<td>
|
||||
<code>$black</code>
|
||||
</td>
|
||||
<td>
|
||||
<span class="bd-color" style="background: hsl(0, 0%, 4%);"></span>
|
||||
<code>hsl(0, 0%, 4%)</code>
|
||||
|
||||
</td>
|
||||
<td>
|
||||
<code>$white</code>
|
||||
</td>
|
||||
<td>
|
||||
|
||||
<span class="bd-color" style="background: #fff;"></span>
|
||||
<code>#fff</code>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<strong>Light</strong>
|
||||
</td>
|
||||
<td>
|
||||
<code>$light</code>
|
||||
</td>
|
||||
<td>
|
||||
<code>$white-ter</code>
|
||||
</td>
|
||||
<td>
|
||||
<span class="bd-color" style="background: hsl(0, 0%, 96%);"></span>
|
||||
<code>hsl(0, 0%, 96%)</code>
|
||||
|
||||
</td>
|
||||
<td>
|
||||
<code>$light-invert</code>
|
||||
</td>
|
||||
<td>
|
||||
|
||||
<span class="bd-color" style="background: rgba(0, 0, 0, 0.7);"></span>
|
||||
<code>rgba(0, 0, 0, 0.7)</code>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<strong>Dark</strong>
|
||||
</td>
|
||||
<td>
|
||||
<code>$dark</code>
|
||||
</td>
|
||||
<td>
|
||||
<code>$grey-darker</code>
|
||||
</td>
|
||||
<td>
|
||||
<span class="bd-color" style="background: hsl(0, 0%, 21%);"></span>
|
||||
<code>hsl(0, 0%, 21%)</code>
|
||||
|
||||
</td>
|
||||
<td>
|
||||
<code>$dark-invert</code>
|
||||
</td>
|
||||
<td>
|
||||
|
||||
<span class="bd-color" style="background: #fff;"></span>
|
||||
<code>#fff</code>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<strong>Primary</strong>
|
||||
</td>
|
||||
<td>
|
||||
<code>$primary</code>
|
||||
</td>
|
||||
<td>
|
||||
<code>$turquoise</code>
|
||||
</td>
|
||||
<td>
|
||||
<span class="bd-color" style="background: hsl(171, 100%, 41%);"></span>
|
||||
<code>hsl(171, 100%, 41%)</code>
|
||||
|
||||
</td>
|
||||
<td>
|
||||
<code>$primary-invert</code>
|
||||
</td>
|
||||
<td>
|
||||
|
||||
<span class="bd-color" style="background: #fff;"></span>
|
||||
<code>#fff</code>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<strong>Info</strong>
|
||||
</td>
|
||||
<td>
|
||||
<code>$info</code>
|
||||
</td>
|
||||
<td>
|
||||
<code>$blue</code>
|
||||
</td>
|
||||
<td>
|
||||
<span class="bd-color" style="background: hsl(217, 71%, 53%);"></span>
|
||||
<code>hsl(217, 71%, 53%)</code>
|
||||
|
||||
</td>
|
||||
<td>
|
||||
<code>$info-invert</code>
|
||||
</td>
|
||||
<td>
|
||||
|
||||
<span class="bd-color" style="background: #fff;"></span>
|
||||
<code>#fff</code>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<strong>Success</strong>
|
||||
</td>
|
||||
<td>
|
||||
<code>$success</code>
|
||||
</td>
|
||||
<td>
|
||||
<code>$green</code>
|
||||
</td>
|
||||
<td>
|
||||
<span class="bd-color" style="background: hsl(141, 71%, 48%);"></span>
|
||||
<code>hsl(141, 71%, 48%)</code>
|
||||
|
||||
</td>
|
||||
<td>
|
||||
<code>$success-invert</code>
|
||||
</td>
|
||||
<td>
|
||||
|
||||
<span class="bd-color" style="background: #fff;"></span>
|
||||
<code>#fff</code>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<strong>Warning</strong>
|
||||
</td>
|
||||
<td>
|
||||
<code>$warning</code>
|
||||
</td>
|
||||
<td>
|
||||
<code>$yellow</code>
|
||||
</td>
|
||||
<td>
|
||||
<span class="bd-color" style="background: hsl(48, 100%, 67%);"></span>
|
||||
<code>hsl(48, 100%, 67%)</code>
|
||||
|
||||
</td>
|
||||
<td>
|
||||
<code>$warning-invert</code>
|
||||
</td>
|
||||
<td>
|
||||
|
||||
<span class="bd-color" style="background: rgba(0, 0, 0, 0.7);"></span>
|
||||
<code>rgba(0, 0, 0, 0.7)</code>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<strong>Danger</strong>
|
||||
</td>
|
||||
<td>
|
||||
<code>$danger</code>
|
||||
</td>
|
||||
<td>
|
||||
<code>$red</code>
|
||||
</td>
|
||||
<td>
|
||||
<span class="bd-color" style="background: hsl(348, 100%, 61%);"></span>
|
||||
<code>hsl(348, 100%, 61%)</code>
|
||||
|
||||
</td>
|
||||
<td>
|
||||
<code>$danger-invert</code>
|
||||
</td>
|
||||
<td>
|
||||
|
||||
<span class="bd-color" style="background: #fff;"></span>
|
||||
<code>#fff</code>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
<section class="section">
|
||||
<div class="container">
|
||||
<p class="has-text-centered has-text-grey-light">
|
||||
This page is <strong class="has-text-grey">open source</strong>.
|
||||
Noticed a typo? Or something unclear?
|
||||
<a class="has-text-grey" href="https://github.com/jgthms/bulma/blob/master/docs/documentation/overview/colors.html" style="border-bottom: 1px solid currentColor;">
|
||||
Improve this page on GitHub
|
||||
</a>
|
||||
</p>
|
||||
</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>.
|
||||
<p id="alternative">
|
||||
<a href="http://bulma.io/versions/0.5.2/alternative-to-bootstrap/">An alternative to <strong>Bootstrap</strong></a>
|
||||
</p>
|
||||
|
||||
<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.5.2: a modern CSS framework based on Flexbox" data-url="http://bulma.io/versions/0.5.2" 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.5.2/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.5.2/images/css-reference-logo.png" alt="CSS Reference logo">
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="http://htmlreference.io">
|
||||
<img src="http://bulma.io/versions/0.5.2/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.5.2/vendor/clipboard-1.7.1.min.js"></script>
|
||||
<script src="http://bulma.io/versions/0.5.2/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>
|
||||
693
docs/versions/0.5.2/documentation/overview/customize/index.html
Normal file
693
docs/versions/0.5.2/documentation/overview/customize/index.html
Normal file
@@ -0,0 +1,693 @@
|
||||
<!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.5.2 is an open source CSS framework based on Flexbox and built with Sass. It's 100% responsive, fully modular, and available for free.">
|
||||
|
||||
<title>Customize Bulma | Bulma v0.5.2: a modern CSS framework based on Flexbox</title>
|
||||
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="http://bulma.io/versions/0.5.2/css/bulma-docs.css?v=20170911-2007">
|
||||
|
||||
<link rel="canonical" href="http://bulma.io/versions/0.5.2/documentation/overview/customize/">
|
||||
<link rel="alternate" type="application/rss+xml" title="Bulma v0.5.2: a modern CSS framework based on Flexbox" href="http://bulma.io/versions/0.5.2/feed.xml">
|
||||
|
||||
<meta property="og:url" content="http://bulma.io/versions/0.5.2">
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:title" content="Bulma v0.5.2: a modern CSS framework based on Flexbox">
|
||||
<meta property="og:image" content="http://bulma.io/versions/0.5.2/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.5.2 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.5.2: a modern CSS framework based on Flexbox">
|
||||
<meta name="twitter:image" content="http://bulma.io/versions/0.5.2/images/bulma-banner.png">
|
||||
<meta name="twitter:description" content="Bulma v0.5.2 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.5.2/favicons/apple-touch-icon.png?v=201701041855">
|
||||
<link rel="icon" type="image/png" href="http://bulma.io/versions/0.5.2/favicons/favicon-32x32.png?v=201701041855" sizes="32x32">
|
||||
<link rel="icon" type="image/png" href="http://bulma.io/versions/0.5.2/favicons/favicon-16x16.png?v=201701041855" sizes="16x16">
|
||||
<link rel="manifest" href="http://bulma.io/versions/0.5.2/favicons/manifest.json?v=201701041855">
|
||||
<link rel="mask-icon" href="http://bulma.io/versions/0.5.2/favicons/safari-pinned-tab.svg?v=201701041855" color="#00d1b2">
|
||||
<link rel="shortcut icon" href="http://bulma.io/versions/0.5.2/favicons/favicon.ico?v=201701041855">
|
||||
<meta name="msapplication-config" content="http://bulma.io/versions/0.5.2/favicons/browserconfig.xml?v=201701041855">
|
||||
<meta name="theme-color" content="#00d1b2">
|
||||
</head>
|
||||
|
||||
<body class="layout-documentation page-overview">
|
||||
|
||||
<div class="notification is-info" style="border-radius: 0; margin-bottom: 0;">
|
||||
<p>
|
||||
You are viewing the deprecated <strong>0.5.2</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.5.2">
|
||||
<img src="http://bulma.io/versions/0.5.2/images/bulma-logo.png" alt="Bulma v0.5.2: 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-lg 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-lg 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">
|
||||
<div class="navbar-item has-dropdown is-hoverable">
|
||||
<a class="navbar-link is-active" href="/versions/0.5.2/documentation/overview/start/">
|
||||
Docs
|
||||
</a>
|
||||
<div class="navbar-dropdown ">
|
||||
<a class="navbar-item is-active" href="/versions/0.5.2/documentation/overview/start/">
|
||||
Overview
|
||||
</a>
|
||||
<a class="navbar-item " href="http://bulma.io/versions/0.5.2/documentation/modifiers/syntax/">
|
||||
Modifiers
|
||||
</a>
|
||||
<a class="navbar-item " href="http://bulma.io/versions/0.5.2/documentation/columns/basics/">
|
||||
Columns
|
||||
</a>
|
||||
<a class="navbar-item " href="http://bulma.io/versions/0.5.2/documentation/layout/container/">
|
||||
Layout
|
||||
</a>
|
||||
<a class="navbar-item " href="http://bulma.io/versions/0.5.2/documentation/form/general/">
|
||||
Form
|
||||
</a>
|
||||
<a class="navbar-item " href="http://bulma.io/versions/0.5.2/documentation/elements/box/">
|
||||
Elements
|
||||
</a>
|
||||
|
||||
<a class="navbar-item " href="http://bulma.io/versions/0.5.2/documentation/components/breadcrumb/">
|
||||
Components
|
||||
</a>
|
||||
|
||||
<hr class="navbar-divider">
|
||||
<div class="navbar-item">
|
||||
<div>
|
||||
<p class="is-size-6-desktop">
|
||||
<strong class="has-text-info">0.5.2</strong>
|
||||
</p>
|
||||
|
||||
<small>
|
||||
<a class="bd-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.5.2/blog/">
|
||||
Blog
|
||||
</a>
|
||||
<div id="blogDropdown" class="navbar-dropdown " data-style="width: 18rem;">
|
||||
|
||||
<a class="navbar-item" href="/2017/08/03/list-of-tags/">
|
||||
<div class="navbar-content">
|
||||
<p>
|
||||
<small class="has-text-info">03 Aug 2017</small>
|
||||
</p>
|
||||
<p>New feature: list of tags</p>
|
||||
</div>
|
||||
</a>
|
||||
|
||||
<a class="navbar-item" href="/2017/08/01/bulma-bootstrap-comparison/">
|
||||
<div class="navbar-content">
|
||||
<p>
|
||||
<small class="has-text-info">01 Aug 2017</small>
|
||||
</p>
|
||||
<p>Bulma / Bootstrap comparison</p>
|
||||
</div>
|
||||
</a>
|
||||
|
||||
<a class="navbar-item" href="/2017/07/24/access-previous-bulma-versions/">
|
||||
<div class="navbar-content">
|
||||
<p>
|
||||
<small class="has-text-info">24 Jul 2017</small>
|
||||
</p>
|
||||
<p>Access previous Bulma versions</p>
|
||||
</div>
|
||||
</a>
|
||||
|
||||
<a class="navbar-item" href="http://bulma.io/versions/0.5.2/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 bd-is-rss is-small" href="http://bulma.io/versions/0.5.2/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.5.2/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>
|
||||
<a class="navbar-item " href="http://bulma.io/versions/0.5.2/expo/">
|
||||
<span class="bd-emoji">⭐️</span>
|
||||
Expo
|
||||
</a>
|
||||
<a class="navbar-item " href="http://bulma.io/versions/0.5.2/love/">
|
||||
<span class="bd-emoji">❤️</span>
|
||||
Love
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="navbar-end">
|
||||
<a class="navbar-item is-hidden-desktop-only" href="https://github.com/jgthms/bulma" target="_blank">
|
||||
<span class="icon" style="color: #333;">
|
||||
<i class="fa fa-lg fa-github"></i>
|
||||
</span>
|
||||
</a>
|
||||
<a class="navbar-item is-hidden-desktop-only" href="https://twitter.com/jgthms" target="_blank">
|
||||
<span class="icon" style="color: #55acee;">
|
||||
<i class="fa fa-lg fa-twitter"></i>
|
||||
</span>
|
||||
</a>
|
||||
<div class="navbar-item">
|
||||
<div class="field is-grouped">
|
||||
<p class="control">
|
||||
<a class="bd-tw-button button"
|
||||
data-social-network="Twitter"
|
||||
data-social-action="tweet"
|
||||
data-social-target="http://bulma.io/versions/0.5.2"
|
||||
target="_blank"
|
||||
href="https://twitter.com/intent/tweet?text=Bulma v0.5.2: a modern CSS framework based on Flexbox&hashtags=bulmaio&url=http://bulma.io/versions/0.5.2&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.5.2.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="carboncontainer">
|
||||
<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>
|
||||
|
||||
<div class="hero-foot">
|
||||
<div class="container">
|
||||
<nav class="tabs is-boxed">
|
||||
<ul>
|
||||
<li class="is-active">
|
||||
<a href="/versions/0.5.2/documentation/overview/start/">Overview</a>
|
||||
</li>
|
||||
<li >
|
||||
<a href="http://bulma.io/versions/0.5.2/documentation/modifiers/syntax">Modifiers</a>
|
||||
</li>
|
||||
<li >
|
||||
<a href="http://bulma.io/versions/0.5.2/documentation/columns/basics">Columns</a>
|
||||
</li>
|
||||
<li >
|
||||
<a href="http://bulma.io/versions/0.5.2/documentation/layout/container/">Layout</a>
|
||||
</li>
|
||||
<li >
|
||||
<a href="http://bulma.io/versions/0.5.2/documentation/form/general">Form</a>
|
||||
</li>
|
||||
<li >
|
||||
<a href="http://bulma.io/versions/0.5.2/documentation/elements/box/">Elements</a>
|
||||
</li>
|
||||
<li >
|
||||
|
||||
<a href="http://bulma.io/versions/0.5.2/documentation/components/breadcrumb/">Components</a>
|
||||
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</section>
|
||||
|
||||
|
||||
|
||||
<nav class="navbar has-shadow">
|
||||
<div class="container">
|
||||
<div class="navbar-tabs">
|
||||
<a class="navbar-item is-tab " href="http://bulma.io/versions/0.5.2/documentation/overview/start/">
|
||||
Start
|
||||
</a>
|
||||
<a class="navbar-item is-tab is-active" href="http://bulma.io/versions/0.5.2/documentation/overview/customize/">
|
||||
Customize
|
||||
</a>
|
||||
<a class="navbar-item is-tab " href="http://bulma.io/versions/0.5.2/documentation/overview/classes/">
|
||||
Classes
|
||||
</a>
|
||||
<a class="navbar-item is-tab " href="http://bulma.io/versions/0.5.2/documentation/overview/modular/">
|
||||
Modular
|
||||
</a>
|
||||
<a class="navbar-item is-tab " href="http://bulma.io/versions/0.5.2/documentation/overview/responsiveness/">
|
||||
Responsiveness
|
||||
</a>
|
||||
<a class="navbar-item is-tab " href="http://bulma.io/versions/0.5.2/documentation/overview/variables/">
|
||||
Variables
|
||||
</a>
|
||||
<a class="navbar-item is-tab " href="http://bulma.io/versions/0.5.2/documentation/overview/colors/">
|
||||
Colors
|
||||
</a>
|
||||
<a class="navbar-item is-tab " href="http://bulma.io/versions/0.5.2/documentation/overview/functions/">
|
||||
Functions
|
||||
</a>
|
||||
<a class="navbar-item is-tab " href="http://bulma.io/versions/0.5.2/documentation/overview/mixins/">
|
||||
Mixins
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
|
||||
<section class="section">
|
||||
<div class="container">
|
||||
<h1 class="title">Customizing with Sass</h1>
|
||||
<h2 class="subtitle">Create your <strong>own theme</strong> with a simple set of <strong>variables</strong></h2>
|
||||
|
||||
<hr>
|
||||
|
||||
<div class="content">
|
||||
<p>If you're familiar with <a href="http://sass-lang.com/">Sass</a> and want to <strong>customize</strong> Bulma with your own colors and variables, just install Bulma via <strong>npm</strong>:</p>
|
||||
</div>
|
||||
|
||||
<article class="media is-large">
|
||||
<div class="media-left">
|
||||
<p class="title is-5">1</p>
|
||||
</div>
|
||||
<div class="media-content">
|
||||
<p class="title is-5">
|
||||
<strong>Download</strong> the source files:
|
||||
</p>
|
||||
<figure class="highlight"><pre><code class="language-bash" data-lang="bash">npm install bulma</code></pre></figure>
|
||||
<div class="content">or clone the repository: <a href="https://github.com/jgthms/bulma">https://github.com/jgthms/bulma</a></div>
|
||||
</div>
|
||||
</article>
|
||||
|
||||
<article class="media is-large">
|
||||
<div class="media-left">
|
||||
<p class="title is-5">2</p>
|
||||
</div>
|
||||
<div class="media-content">
|
||||
<p class="title is-5">
|
||||
<strong>Set</strong> your variables
|
||||
</p>
|
||||
<p class="subtitle is-6">
|
||||
Add your own colors, set new fonts, override Bulma's default styles...
|
||||
</p>
|
||||
<div class="highlight-full">
|
||||
<figure class="highlight"><pre><code class="language-sass" data-lang="sass"><span class="c1">// 1. Import the initial variables
|
||||
</span><span class="k">@import</span> <span class="s">"../sass/utilities/initial-variables"</span>
|
||||
|
||||
<span class="c1">// 2. Set your own initial variables
|
||||
// Update blue
|
||||
</span><span class="nv">$blue</span><span class="p">:</span> <span class="mh">#72d0eb</span>
|
||||
<span class="c1">// Add pink and its invert
|
||||
</span><span class="nv">$pink</span><span class="p">:</span> <span class="mh">#ffb3b3</span>
|
||||
<span class="nv">$pink-invert</span><span class="p">:</span> <span class="mh">#fff</span>
|
||||
<span class="c1">// Add a serif family
|
||||
</span><span class="nv">$family-serif</span><span class="p">:</span> <span class="s2">"Merriweather"</span><span class="o">,</span> <span class="s2">"Georgia"</span><span class="o">,</span> <span class="nb">serif</span>
|
||||
|
||||
<span class="c1">// 3. Set the derived variables
|
||||
// Use the new pink as the primary color
|
||||
</span><span class="nv">$primary</span><span class="p">:</span> <span class="nv">$pink</span>
|
||||
<span class="nv">$primary-invert</span><span class="p">:</span> <span class="nv">$pink-invert</span>
|
||||
<span class="c1">// Use the existing orange as the danger color
|
||||
</span><span class="nv">$danger</span><span class="p">:</span> <span class="nv">$orange</span>
|
||||
<span class="c1">// Use the new serif family
|
||||
</span><span class="nv">$family-primary</span><span class="p">:</span> <span class="nv">$family-serif</span>
|
||||
|
||||
<span class="c1">// 4. Import the rest of Bulma
|
||||
</span><span class="k">@import</span> <span class="s">"../bulma"</span></code></pre></figure>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
|
||||
<article class="media is-large">
|
||||
<div class="media-left">
|
||||
<p class="title is-5">3</p>
|
||||
</div>
|
||||
<div class="media-content">
|
||||
<p class="title is-5">
|
||||
See the <strong>result</strong>: before and after
|
||||
</p>
|
||||
<p class="subtitle is-6">
|
||||
As <code>$blue</code> has been updated, and since <code>$blue-invert</code> is automatically calculated with the <strong>function</strong> <code>$blue-invert: findColorInvert($blue)</code>, the <code>$blue-invert</code> is now black instead of white</p>
|
||||
</p>
|
||||
<figure>
|
||||
<img width="640" height="640" src="http://bulma.io/versions/0.5.2/images/customize-before.png" alt="Customizing Bulma with Sass">
|
||||
<img width="640" height="640" src="http://bulma.io/versions/0.5.2/images/customize-after.png" alt="Customizing Bulma with Sass">
|
||||
</figure>
|
||||
</div>
|
||||
</article>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
<section class="section">
|
||||
<div class="container">
|
||||
<p class="has-text-centered has-text-grey-light">
|
||||
This page is <strong class="has-text-grey">open source</strong>.
|
||||
Noticed a typo? Or something unclear?
|
||||
<a class="has-text-grey" href="https://github.com/jgthms/bulma/blob/master/docs/documentation/overview/customize.html" style="border-bottom: 1px solid currentColor;">
|
||||
Improve this page on GitHub
|
||||
</a>
|
||||
</p>
|
||||
</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>.
|
||||
<p id="alternative">
|
||||
<a href="http://bulma.io/versions/0.5.2/alternative-to-bootstrap/">An alternative to <strong>Bootstrap</strong></a>
|
||||
</p>
|
||||
|
||||
<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.5.2: a modern CSS framework based on Flexbox" data-url="http://bulma.io/versions/0.5.2" 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.5.2/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.5.2/images/css-reference-logo.png" alt="CSS Reference logo">
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="http://htmlreference.io">
|
||||
<img src="http://bulma.io/versions/0.5.2/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.5.2/vendor/clipboard-1.7.1.min.js"></script>
|
||||
<script src="http://bulma.io/versions/0.5.2/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>
|
||||
844
docs/versions/0.5.2/documentation/overview/functions/index.html
Normal file
844
docs/versions/0.5.2/documentation/overview/functions/index.html
Normal file
@@ -0,0 +1,844 @@
|
||||
<!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.5.2 is an open source CSS framework based on Flexbox and built with Sass. It's 100% responsive, fully modular, and available for free.">
|
||||
|
||||
<title>Functions | Bulma v0.5.2: a modern CSS framework based on Flexbox</title>
|
||||
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="http://bulma.io/versions/0.5.2/css/bulma-docs.css?v=20170911-2007">
|
||||
|
||||
<link rel="canonical" href="http://bulma.io/versions/0.5.2/documentation/overview/functions/">
|
||||
<link rel="alternate" type="application/rss+xml" title="Bulma v0.5.2: a modern CSS framework based on Flexbox" href="http://bulma.io/versions/0.5.2/feed.xml">
|
||||
|
||||
<meta property="og:url" content="http://bulma.io/versions/0.5.2">
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:title" content="Bulma v0.5.2: a modern CSS framework based on Flexbox">
|
||||
<meta property="og:image" content="http://bulma.io/versions/0.5.2/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.5.2 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.5.2: a modern CSS framework based on Flexbox">
|
||||
<meta name="twitter:image" content="http://bulma.io/versions/0.5.2/images/bulma-banner.png">
|
||||
<meta name="twitter:description" content="Bulma v0.5.2 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.5.2/favicons/apple-touch-icon.png?v=201701041855">
|
||||
<link rel="icon" type="image/png" href="http://bulma.io/versions/0.5.2/favicons/favicon-32x32.png?v=201701041855" sizes="32x32">
|
||||
<link rel="icon" type="image/png" href="http://bulma.io/versions/0.5.2/favicons/favicon-16x16.png?v=201701041855" sizes="16x16">
|
||||
<link rel="manifest" href="http://bulma.io/versions/0.5.2/favicons/manifest.json?v=201701041855">
|
||||
<link rel="mask-icon" href="http://bulma.io/versions/0.5.2/favicons/safari-pinned-tab.svg?v=201701041855" color="#00d1b2">
|
||||
<link rel="shortcut icon" href="http://bulma.io/versions/0.5.2/favicons/favicon.ico?v=201701041855">
|
||||
<meta name="msapplication-config" content="http://bulma.io/versions/0.5.2/favicons/browserconfig.xml?v=201701041855">
|
||||
<meta name="theme-color" content="#00d1b2">
|
||||
</head>
|
||||
|
||||
<body class="layout-documentation page-overview">
|
||||
|
||||
<div class="notification is-info" style="border-radius: 0; margin-bottom: 0;">
|
||||
<p>
|
||||
You are viewing the deprecated <strong>0.5.2</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.5.2">
|
||||
<img src="http://bulma.io/versions/0.5.2/images/bulma-logo.png" alt="Bulma v0.5.2: 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-lg 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-lg 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">
|
||||
<div class="navbar-item has-dropdown is-hoverable">
|
||||
<a class="navbar-link is-active" href="/versions/0.5.2/documentation/overview/start/">
|
||||
Docs
|
||||
</a>
|
||||
<div class="navbar-dropdown ">
|
||||
<a class="navbar-item is-active" href="/versions/0.5.2/documentation/overview/start/">
|
||||
Overview
|
||||
</a>
|
||||
<a class="navbar-item " href="http://bulma.io/versions/0.5.2/documentation/modifiers/syntax/">
|
||||
Modifiers
|
||||
</a>
|
||||
<a class="navbar-item " href="http://bulma.io/versions/0.5.2/documentation/columns/basics/">
|
||||
Columns
|
||||
</a>
|
||||
<a class="navbar-item " href="http://bulma.io/versions/0.5.2/documentation/layout/container/">
|
||||
Layout
|
||||
</a>
|
||||
<a class="navbar-item " href="http://bulma.io/versions/0.5.2/documentation/form/general/">
|
||||
Form
|
||||
</a>
|
||||
<a class="navbar-item " href="http://bulma.io/versions/0.5.2/documentation/elements/box/">
|
||||
Elements
|
||||
</a>
|
||||
|
||||
<a class="navbar-item " href="http://bulma.io/versions/0.5.2/documentation/components/breadcrumb/">
|
||||
Components
|
||||
</a>
|
||||
|
||||
<hr class="navbar-divider">
|
||||
<div class="navbar-item">
|
||||
<div>
|
||||
<p class="is-size-6-desktop">
|
||||
<strong class="has-text-info">0.5.2</strong>
|
||||
</p>
|
||||
|
||||
<small>
|
||||
<a class="bd-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.5.2/blog/">
|
||||
Blog
|
||||
</a>
|
||||
<div id="blogDropdown" class="navbar-dropdown " data-style="width: 18rem;">
|
||||
|
||||
<a class="navbar-item" href="/2017/08/03/list-of-tags/">
|
||||
<div class="navbar-content">
|
||||
<p>
|
||||
<small class="has-text-info">03 Aug 2017</small>
|
||||
</p>
|
||||
<p>New feature: list of tags</p>
|
||||
</div>
|
||||
</a>
|
||||
|
||||
<a class="navbar-item" href="/2017/08/01/bulma-bootstrap-comparison/">
|
||||
<div class="navbar-content">
|
||||
<p>
|
||||
<small class="has-text-info">01 Aug 2017</small>
|
||||
</p>
|
||||
<p>Bulma / Bootstrap comparison</p>
|
||||
</div>
|
||||
</a>
|
||||
|
||||
<a class="navbar-item" href="/2017/07/24/access-previous-bulma-versions/">
|
||||
<div class="navbar-content">
|
||||
<p>
|
||||
<small class="has-text-info">24 Jul 2017</small>
|
||||
</p>
|
||||
<p>Access previous Bulma versions</p>
|
||||
</div>
|
||||
</a>
|
||||
|
||||
<a class="navbar-item" href="http://bulma.io/versions/0.5.2/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 bd-is-rss is-small" href="http://bulma.io/versions/0.5.2/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.5.2/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>
|
||||
<a class="navbar-item " href="http://bulma.io/versions/0.5.2/expo/">
|
||||
<span class="bd-emoji">⭐️</span>
|
||||
Expo
|
||||
</a>
|
||||
<a class="navbar-item " href="http://bulma.io/versions/0.5.2/love/">
|
||||
<span class="bd-emoji">❤️</span>
|
||||
Love
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="navbar-end">
|
||||
<a class="navbar-item is-hidden-desktop-only" href="https://github.com/jgthms/bulma" target="_blank">
|
||||
<span class="icon" style="color: #333;">
|
||||
<i class="fa fa-lg fa-github"></i>
|
||||
</span>
|
||||
</a>
|
||||
<a class="navbar-item is-hidden-desktop-only" href="https://twitter.com/jgthms" target="_blank">
|
||||
<span class="icon" style="color: #55acee;">
|
||||
<i class="fa fa-lg fa-twitter"></i>
|
||||
</span>
|
||||
</a>
|
||||
<div class="navbar-item">
|
||||
<div class="field is-grouped">
|
||||
<p class="control">
|
||||
<a class="bd-tw-button button"
|
||||
data-social-network="Twitter"
|
||||
data-social-action="tweet"
|
||||
data-social-target="http://bulma.io/versions/0.5.2"
|
||||
target="_blank"
|
||||
href="https://twitter.com/intent/tweet?text=Bulma v0.5.2: a modern CSS framework based on Flexbox&hashtags=bulmaio&url=http://bulma.io/versions/0.5.2&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.5.2.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="carboncontainer">
|
||||
<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>
|
||||
|
||||
<div class="hero-foot">
|
||||
<div class="container">
|
||||
<nav class="tabs is-boxed">
|
||||
<ul>
|
||||
<li class="is-active">
|
||||
<a href="/versions/0.5.2/documentation/overview/start/">Overview</a>
|
||||
</li>
|
||||
<li >
|
||||
<a href="http://bulma.io/versions/0.5.2/documentation/modifiers/syntax">Modifiers</a>
|
||||
</li>
|
||||
<li >
|
||||
<a href="http://bulma.io/versions/0.5.2/documentation/columns/basics">Columns</a>
|
||||
</li>
|
||||
<li >
|
||||
<a href="http://bulma.io/versions/0.5.2/documentation/layout/container/">Layout</a>
|
||||
</li>
|
||||
<li >
|
||||
<a href="http://bulma.io/versions/0.5.2/documentation/form/general">Form</a>
|
||||
</li>
|
||||
<li >
|
||||
<a href="http://bulma.io/versions/0.5.2/documentation/elements/box/">Elements</a>
|
||||
</li>
|
||||
<li >
|
||||
|
||||
<a href="http://bulma.io/versions/0.5.2/documentation/components/breadcrumb/">Components</a>
|
||||
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</section>
|
||||
|
||||
<nav class="navbar has-shadow">
|
||||
<div class="container">
|
||||
<div class="navbar-tabs">
|
||||
<a class="navbar-item is-tab " href="http://bulma.io/versions/0.5.2/documentation/overview/start/">
|
||||
Start
|
||||
</a>
|
||||
<a class="navbar-item is-tab " href="http://bulma.io/versions/0.5.2/documentation/overview/customize/">
|
||||
Customize
|
||||
</a>
|
||||
<a class="navbar-item is-tab " href="http://bulma.io/versions/0.5.2/documentation/overview/classes/">
|
||||
Classes
|
||||
</a>
|
||||
<a class="navbar-item is-tab " href="http://bulma.io/versions/0.5.2/documentation/overview/modular/">
|
||||
Modular
|
||||
</a>
|
||||
<a class="navbar-item is-tab " href="http://bulma.io/versions/0.5.2/documentation/overview/responsiveness/">
|
||||
Responsiveness
|
||||
</a>
|
||||
<a class="navbar-item is-tab " href="http://bulma.io/versions/0.5.2/documentation/overview/variables/">
|
||||
Variables
|
||||
</a>
|
||||
<a class="navbar-item is-tab " href="http://bulma.io/versions/0.5.2/documentation/overview/colors/">
|
||||
Colors
|
||||
</a>
|
||||
<a class="navbar-item is-tab is-active" href="http://bulma.io/versions/0.5.2/documentation/overview/functions/">
|
||||
Functions
|
||||
</a>
|
||||
<a class="navbar-item is-tab " href="http://bulma.io/versions/0.5.2/documentation/overview/mixins/">
|
||||
Mixins
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
|
||||
<section class="section">
|
||||
<div class="container">
|
||||
<h1 class="title">Functions</h1>
|
||||
<h2 class="subtitle">Utility functions to calculate colors and other values</h2>
|
||||
|
||||
<hr>
|
||||
|
||||
<div class="content">
|
||||
<p>Bulma uses 5 custom functions to help define the values and colors dynamically:</p>
|
||||
<ul>
|
||||
<li><code>powerNumber($number, $exp)</code>: calculates the value of a number exposed to another one. Returns a number.</li>
|
||||
<li><code>colorLuminance($color)</code>: defines if a color is dark or light. Return a decimal number between 0 and 1 where <= 0.5 is dark and > 0.5 is light.</li>
|
||||
<li><code>findColorInvert($color)</code>: returns either 70% transparent black or 100% opaque white depending on the luminance of the color.</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<hr style="margin-bottom: 0;">
|
||||
|
||||
<h3 id="the-code-findcolorinvert-code-function" class="title is-4 is-spaced bd-anchor-title">
|
||||
The <code>findColorInvert()</code> function
|
||||
<a class="bd-anchor-link" href="#the-code-findcolorinvert-code-function">
|
||||
#
|
||||
</a>
|
||||
</h3>
|
||||
|
||||
|
||||
<div class="content">
|
||||
<p>The <code>findColorInvert($color)</code> function takes a <strong>color</strong> as an input, and outputs either transparent <strong>black</strong> <code>rgba(#000, 0.7)</code> or <strong>white</strong> <code>#fff</code>:</p>
|
||||
<ul>
|
||||
<li>if <code>colorLuminance($color) > 0.55</code>, it outputs <code>rgba(#000, 0.7)</code></li>
|
||||
<li>otherwise, it outputs <code>#fff</code></li>
|
||||
</ul>
|
||||
<p>Its purpose is to guarantee a <strong>readable</strong> shade for the <em>text</em> when the input color is used as the <em>background</em>.</p>
|
||||
<table class="table is-bordered">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>color</th>
|
||||
<th>color luminance</th>
|
||||
<th>findColorInvert()</th>
|
||||
<th>result</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="bd-color" style="background: #00d1b2;"></span>
|
||||
<code>#00d1b2</code>
|
||||
</td>
|
||||
<td>
|
||||
<code>0.52831</code>
|
||||
</td>
|
||||
<td>
|
||||
<span class="bd-color" style="background: #fff;"></span>
|
||||
<code>#fff</code>
|
||||
</td>
|
||||
<td>
|
||||
<a class="button" style="background: #00d1b2; border-color: #00d1b2; color: #fff;">
|
||||
Button
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="bd-color" style="background: #3273dc;"></span>
|
||||
<code>#3273dc</code>
|
||||
</td>
|
||||
<td>
|
||||
<code>0.23119</code>
|
||||
</td>
|
||||
<td>
|
||||
<span class="bd-color" style="background: #fff;"></span>
|
||||
<code>#fff</code>
|
||||
</td>
|
||||
<td>
|
||||
<a class="button" style="background: #3273dc; border-color: #3273dc; color: #fff;">
|
||||
Button
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="bd-color" style="background: #23d160;"></span>
|
||||
<code>#23d160</code>
|
||||
</td>
|
||||
<td>
|
||||
<code>0.51067</code>
|
||||
</td>
|
||||
<td>
|
||||
<span class="bd-color" style="background: #fff;"></span>
|
||||
<code>#fff</code>
|
||||
</td>
|
||||
<td>
|
||||
<a class="button" style="background: #23d160; border-color: #23d160; color: #fff;">
|
||||
Button
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="bd-color" style="background: #ffdd57;"></span>
|
||||
<code>#ffdd57</code>
|
||||
</td>
|
||||
<td>
|
||||
<code>0.76863</code>
|
||||
</td>
|
||||
<td>
|
||||
<span class="bd-color" style="background: rgba(0, 0, 0, 0.7);"></span>
|
||||
<code>rgba(0, 0, 0, 0.7)</code>
|
||||
</td>
|
||||
<td>
|
||||
<a class="button" style="background: #ffdd57; border-color: #ffdd57; color: rgba(0, 0, 0, 0.7);">
|
||||
Button
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="bd-color" style="background: #ff3860;"></span>
|
||||
<code>#ff3860</code>
|
||||
</td>
|
||||
<td>
|
||||
<code>0.27313</code>
|
||||
</td>
|
||||
<td>
|
||||
<span class="bd-color" style="background: #fff;"></span>
|
||||
<code>#fff</code>
|
||||
</td>
|
||||
<td>
|
||||
<a class="button" style="background: #ff3860; border-color: #ff3860; color: #fff;">
|
||||
Button
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="bd-color" style="background: #ffb3b3;"></span>
|
||||
<code>#ffb3b3</code>
|
||||
</td>
|
||||
<td>
|
||||
<code>0.61796</code>
|
||||
</td>
|
||||
<td>
|
||||
<span class="bd-color" style="background: rgba(0,0,0,0.7);"></span>
|
||||
<code>rgba(0,0,0,0.7)</code>
|
||||
</td>
|
||||
<td>
|
||||
<a class="button" style="background: #ffb3b3; border-color: #ffb3b3; color: rgba(0,0,0,0.7);">
|
||||
Button
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="bd-color" style="background: #ffbc6b;"></span>
|
||||
<code>#ffbc6b</code>
|
||||
</td>
|
||||
<td>
|
||||
<code>0.63053</code>
|
||||
</td>
|
||||
<td>
|
||||
<span class="bd-color" style="background: rgba(0,0,0,0.7);"></span>
|
||||
<code>rgba(0,0,0,0.7)</code>
|
||||
</td>
|
||||
<td>
|
||||
<a class="button" style="background: #ffbc6b; border-color: #ffbc6b; color: rgba(0,0,0,0.7);">
|
||||
Button
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="bd-color" style="background: hsl(294, 71%, 79%);"></span>
|
||||
<code>hsl(294, 71%, 79%)</code>
|
||||
</td>
|
||||
<td>
|
||||
<code>0.5529</code>
|
||||
</td>
|
||||
<td>
|
||||
<span class="bd-color" style="background: rgba(0,0,0,0.7);"></span>
|
||||
<code>rgba(0,0,0,0.7)</code>
|
||||
</td>
|
||||
<td>
|
||||
<a class="button" style="background: hsl(294, 71%, 79%); border-color: hsl(294, 71%, 79%); color: rgba(0,0,0,0.7);">
|
||||
Button
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p>
|
||||
For colors that have a luminance close to the <code>0.55</code> threshold, it can be useful to <strong>override</strong> the <code>findColorInvert()</code> function, and rather set the invert color <strong>manually.</strong>
|
||||
<br>
|
||||
For example, this shade of <span class="bd-color" style="background: hsl(294, 71%, 79%); float: none; height: 16px; width: 16px; margin-right: 0; vertical-align: middle;"></span> purple has a color luminance of <code>0.5529</code>. It can be preferable to set a color invert of white instead of transparent black:
|
||||
</p>
|
||||
<table class="table is-bordered">
|
||||
<tbody>
|
||||
<tr>
|
||||
<th>
|
||||
with <code>findColorInvert()</code>
|
||||
</th>
|
||||
<td>
|
||||
<code>$purple-invert: findColorInvert($purple)</code>
|
||||
</td>
|
||||
<td>
|
||||
<span class="bd-color" style="background: rgba(0,0,0,0.7);"></span>
|
||||
<code>rgba(0,0,0,0.7)</code>
|
||||
</td>
|
||||
<td>
|
||||
<a class="button" style="background: hsl(294, 71%, 79%); border-color: hsl(294, 71%, 79%); color: rgba(0,0,0,0.7);">
|
||||
Button
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
with manual setting
|
||||
</th>
|
||||
<td>
|
||||
<code>$purple-invert: #fff</code>
|
||||
</td>
|
||||
<td>
|
||||
<span class="bd-color" style="background: #fff;"></span>
|
||||
<code>#fff</code>
|
||||
</td>
|
||||
<td>
|
||||
<a class="button" style="background: hsl(294, 71%, 79%); border-color: hsl(294, 71%, 79%); color: #fff;">
|
||||
Button
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
<section class="section">
|
||||
<div class="container">
|
||||
<p class="has-text-centered has-text-grey-light">
|
||||
This page is <strong class="has-text-grey">open source</strong>.
|
||||
Noticed a typo? Or something unclear?
|
||||
<a class="has-text-grey" href="https://github.com/jgthms/bulma/blob/master/docs/documentation/overview/functions.html" style="border-bottom: 1px solid currentColor;">
|
||||
Improve this page on GitHub
|
||||
</a>
|
||||
</p>
|
||||
</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>.
|
||||
<p id="alternative">
|
||||
<a href="http://bulma.io/versions/0.5.2/alternative-to-bootstrap/">An alternative to <strong>Bootstrap</strong></a>
|
||||
</p>
|
||||
|
||||
<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.5.2: a modern CSS framework based on Flexbox" data-url="http://bulma.io/versions/0.5.2" 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.5.2/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.5.2/images/css-reference-logo.png" alt="CSS Reference logo">
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="http://htmlreference.io">
|
||||
<img src="http://bulma.io/versions/0.5.2/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.5.2/vendor/clipboard-1.7.1.min.js"></script>
|
||||
<script src="http://bulma.io/versions/0.5.2/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>
|
||||
672
docs/versions/0.5.2/documentation/overview/mixins/index.html
Normal file
672
docs/versions/0.5.2/documentation/overview/mixins/index.html
Normal file
@@ -0,0 +1,672 @@
|
||||
<!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.5.2 is an open source CSS framework based on Flexbox and built with Sass. It's 100% responsive, fully modular, and available for free.">
|
||||
|
||||
<title>Mixins | Bulma v0.5.2: a modern CSS framework based on Flexbox</title>
|
||||
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="http://bulma.io/versions/0.5.2/css/bulma-docs.css?v=20170911-2007">
|
||||
|
||||
<link rel="canonical" href="http://bulma.io/versions/0.5.2/documentation/overview/mixins/">
|
||||
<link rel="alternate" type="application/rss+xml" title="Bulma v0.5.2: a modern CSS framework based on Flexbox" href="http://bulma.io/versions/0.5.2/feed.xml">
|
||||
|
||||
<meta property="og:url" content="http://bulma.io/versions/0.5.2">
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:title" content="Bulma v0.5.2: a modern CSS framework based on Flexbox">
|
||||
<meta property="og:image" content="http://bulma.io/versions/0.5.2/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.5.2 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.5.2: a modern CSS framework based on Flexbox">
|
||||
<meta name="twitter:image" content="http://bulma.io/versions/0.5.2/images/bulma-banner.png">
|
||||
<meta name="twitter:description" content="Bulma v0.5.2 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.5.2/favicons/apple-touch-icon.png?v=201701041855">
|
||||
<link rel="icon" type="image/png" href="http://bulma.io/versions/0.5.2/favicons/favicon-32x32.png?v=201701041855" sizes="32x32">
|
||||
<link rel="icon" type="image/png" href="http://bulma.io/versions/0.5.2/favicons/favicon-16x16.png?v=201701041855" sizes="16x16">
|
||||
<link rel="manifest" href="http://bulma.io/versions/0.5.2/favicons/manifest.json?v=201701041855">
|
||||
<link rel="mask-icon" href="http://bulma.io/versions/0.5.2/favicons/safari-pinned-tab.svg?v=201701041855" color="#00d1b2">
|
||||
<link rel="shortcut icon" href="http://bulma.io/versions/0.5.2/favicons/favicon.ico?v=201701041855">
|
||||
<meta name="msapplication-config" content="http://bulma.io/versions/0.5.2/favicons/browserconfig.xml?v=201701041855">
|
||||
<meta name="theme-color" content="#00d1b2">
|
||||
</head>
|
||||
|
||||
<body class="layout-documentation page-overview">
|
||||
|
||||
<div class="notification is-info" style="border-radius: 0; margin-bottom: 0;">
|
||||
<p>
|
||||
You are viewing the deprecated <strong>0.5.2</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.5.2">
|
||||
<img src="http://bulma.io/versions/0.5.2/images/bulma-logo.png" alt="Bulma v0.5.2: 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-lg 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-lg 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">
|
||||
<div class="navbar-item has-dropdown is-hoverable">
|
||||
<a class="navbar-link is-active" href="/versions/0.5.2/documentation/overview/start/">
|
||||
Docs
|
||||
</a>
|
||||
<div class="navbar-dropdown ">
|
||||
<a class="navbar-item is-active" href="/versions/0.5.2/documentation/overview/start/">
|
||||
Overview
|
||||
</a>
|
||||
<a class="navbar-item " href="http://bulma.io/versions/0.5.2/documentation/modifiers/syntax/">
|
||||
Modifiers
|
||||
</a>
|
||||
<a class="navbar-item " href="http://bulma.io/versions/0.5.2/documentation/columns/basics/">
|
||||
Columns
|
||||
</a>
|
||||
<a class="navbar-item " href="http://bulma.io/versions/0.5.2/documentation/layout/container/">
|
||||
Layout
|
||||
</a>
|
||||
<a class="navbar-item " href="http://bulma.io/versions/0.5.2/documentation/form/general/">
|
||||
Form
|
||||
</a>
|
||||
<a class="navbar-item " href="http://bulma.io/versions/0.5.2/documentation/elements/box/">
|
||||
Elements
|
||||
</a>
|
||||
|
||||
<a class="navbar-item " href="http://bulma.io/versions/0.5.2/documentation/components/breadcrumb/">
|
||||
Components
|
||||
</a>
|
||||
|
||||
<hr class="navbar-divider">
|
||||
<div class="navbar-item">
|
||||
<div>
|
||||
<p class="is-size-6-desktop">
|
||||
<strong class="has-text-info">0.5.2</strong>
|
||||
</p>
|
||||
|
||||
<small>
|
||||
<a class="bd-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.5.2/blog/">
|
||||
Blog
|
||||
</a>
|
||||
<div id="blogDropdown" class="navbar-dropdown " data-style="width: 18rem;">
|
||||
|
||||
<a class="navbar-item" href="/2017/08/03/list-of-tags/">
|
||||
<div class="navbar-content">
|
||||
<p>
|
||||
<small class="has-text-info">03 Aug 2017</small>
|
||||
</p>
|
||||
<p>New feature: list of tags</p>
|
||||
</div>
|
||||
</a>
|
||||
|
||||
<a class="navbar-item" href="/2017/08/01/bulma-bootstrap-comparison/">
|
||||
<div class="navbar-content">
|
||||
<p>
|
||||
<small class="has-text-info">01 Aug 2017</small>
|
||||
</p>
|
||||
<p>Bulma / Bootstrap comparison</p>
|
||||
</div>
|
||||
</a>
|
||||
|
||||
<a class="navbar-item" href="/2017/07/24/access-previous-bulma-versions/">
|
||||
<div class="navbar-content">
|
||||
<p>
|
||||
<small class="has-text-info">24 Jul 2017</small>
|
||||
</p>
|
||||
<p>Access previous Bulma versions</p>
|
||||
</div>
|
||||
</a>
|
||||
|
||||
<a class="navbar-item" href="http://bulma.io/versions/0.5.2/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 bd-is-rss is-small" href="http://bulma.io/versions/0.5.2/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.5.2/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>
|
||||
<a class="navbar-item " href="http://bulma.io/versions/0.5.2/expo/">
|
||||
<span class="bd-emoji">⭐️</span>
|
||||
Expo
|
||||
</a>
|
||||
<a class="navbar-item " href="http://bulma.io/versions/0.5.2/love/">
|
||||
<span class="bd-emoji">❤️</span>
|
||||
Love
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="navbar-end">
|
||||
<a class="navbar-item is-hidden-desktop-only" href="https://github.com/jgthms/bulma" target="_blank">
|
||||
<span class="icon" style="color: #333;">
|
||||
<i class="fa fa-lg fa-github"></i>
|
||||
</span>
|
||||
</a>
|
||||
<a class="navbar-item is-hidden-desktop-only" href="https://twitter.com/jgthms" target="_blank">
|
||||
<span class="icon" style="color: #55acee;">
|
||||
<i class="fa fa-lg fa-twitter"></i>
|
||||
</span>
|
||||
</a>
|
||||
<div class="navbar-item">
|
||||
<div class="field is-grouped">
|
||||
<p class="control">
|
||||
<a class="bd-tw-button button"
|
||||
data-social-network="Twitter"
|
||||
data-social-action="tweet"
|
||||
data-social-target="http://bulma.io/versions/0.5.2"
|
||||
target="_blank"
|
||||
href="https://twitter.com/intent/tweet?text=Bulma v0.5.2: a modern CSS framework based on Flexbox&hashtags=bulmaio&url=http://bulma.io/versions/0.5.2&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.5.2.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="carboncontainer">
|
||||
<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>
|
||||
|
||||
<div class="hero-foot">
|
||||
<div class="container">
|
||||
<nav class="tabs is-boxed">
|
||||
<ul>
|
||||
<li class="is-active">
|
||||
<a href="/versions/0.5.2/documentation/overview/start/">Overview</a>
|
||||
</li>
|
||||
<li >
|
||||
<a href="http://bulma.io/versions/0.5.2/documentation/modifiers/syntax">Modifiers</a>
|
||||
</li>
|
||||
<li >
|
||||
<a href="http://bulma.io/versions/0.5.2/documentation/columns/basics">Columns</a>
|
||||
</li>
|
||||
<li >
|
||||
<a href="http://bulma.io/versions/0.5.2/documentation/layout/container/">Layout</a>
|
||||
</li>
|
||||
<li >
|
||||
<a href="http://bulma.io/versions/0.5.2/documentation/form/general">Form</a>
|
||||
</li>
|
||||
<li >
|
||||
<a href="http://bulma.io/versions/0.5.2/documentation/elements/box/">Elements</a>
|
||||
</li>
|
||||
<li >
|
||||
|
||||
<a href="http://bulma.io/versions/0.5.2/documentation/components/breadcrumb/">Components</a>
|
||||
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</section>
|
||||
|
||||
<nav class="navbar has-shadow">
|
||||
<div class="container">
|
||||
<div class="navbar-tabs">
|
||||
<a class="navbar-item is-tab " href="http://bulma.io/versions/0.5.2/documentation/overview/start/">
|
||||
Start
|
||||
</a>
|
||||
<a class="navbar-item is-tab " href="http://bulma.io/versions/0.5.2/documentation/overview/customize/">
|
||||
Customize
|
||||
</a>
|
||||
<a class="navbar-item is-tab " href="http://bulma.io/versions/0.5.2/documentation/overview/classes/">
|
||||
Classes
|
||||
</a>
|
||||
<a class="navbar-item is-tab " href="http://bulma.io/versions/0.5.2/documentation/overview/modular/">
|
||||
Modular
|
||||
</a>
|
||||
<a class="navbar-item is-tab " href="http://bulma.io/versions/0.5.2/documentation/overview/responsiveness/">
|
||||
Responsiveness
|
||||
</a>
|
||||
<a class="navbar-item is-tab " href="http://bulma.io/versions/0.5.2/documentation/overview/variables/">
|
||||
Variables
|
||||
</a>
|
||||
<a class="navbar-item is-tab " href="http://bulma.io/versions/0.5.2/documentation/overview/colors/">
|
||||
Colors
|
||||
</a>
|
||||
<a class="navbar-item is-tab " href="http://bulma.io/versions/0.5.2/documentation/overview/functions/">
|
||||
Functions
|
||||
</a>
|
||||
<a class="navbar-item is-tab is-active" href="http://bulma.io/versions/0.5.2/documentation/overview/mixins/">
|
||||
Mixins
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
|
||||
<section class="section">
|
||||
<div class="container">
|
||||
<h1 class="title">Mixins</h1>
|
||||
<h2 class="subtitle">Utility mixins for custom elements and responsive helpers</h2>
|
||||
|
||||
<hr>
|
||||
|
||||
<table class="table is-bordered">
|
||||
<tr>
|
||||
<td><code>=arrow($color)</code></td>
|
||||
<td>Creates a CSS-only down arrow. Used for the dropdown select.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>=block</code></td>
|
||||
<td>Defines a margin-bottom of 1.5rem, except when the element is the last child. Used for almost all block elements.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>=clearfix</code></td>
|
||||
<td>Adds a clearfix at the end of the element. Used for the "is-clearfix" helper.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>=center($size)</code></td>
|
||||
<td>Positions an element in the exact center of its parent. Used for the spinner in a loading button.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>=delete</code></td>
|
||||
<td>Creates a CSS-only cross. Used for the delete element in modals, messages, tags...</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>=fa($size, $dimensions)</code></td>
|
||||
<td>Sets the style of a Font Awesome icon container.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>=hamburger($dimensions)</code></td>
|
||||
<td>Creates a CSS-only hamburger menu with 3 bars. Used for the "nav-toggle".</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>=loader</code></td>
|
||||
<td>Creates a CSS-only loading spinner. Used for the ".loader" element, and for input and button spinners.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>=overflow-touch</code></td>
|
||||
<td>Sets the style of a container so that it keeps momentum when scrolling on iOS devices.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>=overlay($offset: 0)</code></td>
|
||||
<td>Makes the element overlay its parent container, like the transparent modal background.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>=placeholder</code></td>
|
||||
<td>Sets the styles of an input placeholder.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>=unselectable</code></td>
|
||||
<td>Turns the element unselectable. Used for buttons to prevent selection when clicking.</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<div class="content">
|
||||
<p>These mixins are already used throughout Bulma, but you can use them as well to extend your own styles.</p>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
<section class="section">
|
||||
<div class="container">
|
||||
<p class="has-text-centered has-text-grey-light">
|
||||
This page is <strong class="has-text-grey">open source</strong>.
|
||||
Noticed a typo? Or something unclear?
|
||||
<a class="has-text-grey" href="https://github.com/jgthms/bulma/blob/master/docs/documentation/overview/mixins.html" style="border-bottom: 1px solid currentColor;">
|
||||
Improve this page on GitHub
|
||||
</a>
|
||||
</p>
|
||||
</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>.
|
||||
<p id="alternative">
|
||||
<a href="http://bulma.io/versions/0.5.2/alternative-to-bootstrap/">An alternative to <strong>Bootstrap</strong></a>
|
||||
</p>
|
||||
|
||||
<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.5.2: a modern CSS framework based on Flexbox" data-url="http://bulma.io/versions/0.5.2" 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.5.2/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.5.2/images/css-reference-logo.png" alt="CSS Reference logo">
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="http://htmlreference.io">
|
||||
<img src="http://bulma.io/versions/0.5.2/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.5.2/vendor/clipboard-1.7.1.min.js"></script>
|
||||
<script src="http://bulma.io/versions/0.5.2/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>
|
||||
692
docs/versions/0.5.2/documentation/overview/modular/index.html
Normal file
692
docs/versions/0.5.2/documentation/overview/modular/index.html
Normal file
@@ -0,0 +1,692 @@
|
||||
<!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.5.2 is an open source CSS framework based on Flexbox and built with Sass. It's 100% responsive, fully modular, and available for free.">
|
||||
|
||||
<title>Modularity | Bulma v0.5.2: a modern CSS framework based on Flexbox</title>
|
||||
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="http://bulma.io/versions/0.5.2/css/bulma-docs.css?v=20170911-2007">
|
||||
|
||||
<link rel="canonical" href="http://bulma.io/versions/0.5.2/documentation/overview/modular/">
|
||||
<link rel="alternate" type="application/rss+xml" title="Bulma v0.5.2: a modern CSS framework based on Flexbox" href="http://bulma.io/versions/0.5.2/feed.xml">
|
||||
|
||||
<meta property="og:url" content="http://bulma.io/versions/0.5.2">
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:title" content="Bulma v0.5.2: a modern CSS framework based on Flexbox">
|
||||
<meta property="og:image" content="http://bulma.io/versions/0.5.2/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.5.2 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.5.2: a modern CSS framework based on Flexbox">
|
||||
<meta name="twitter:image" content="http://bulma.io/versions/0.5.2/images/bulma-banner.png">
|
||||
<meta name="twitter:description" content="Bulma v0.5.2 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.5.2/favicons/apple-touch-icon.png?v=201701041855">
|
||||
<link rel="icon" type="image/png" href="http://bulma.io/versions/0.5.2/favicons/favicon-32x32.png?v=201701041855" sizes="32x32">
|
||||
<link rel="icon" type="image/png" href="http://bulma.io/versions/0.5.2/favicons/favicon-16x16.png?v=201701041855" sizes="16x16">
|
||||
<link rel="manifest" href="http://bulma.io/versions/0.5.2/favicons/manifest.json?v=201701041855">
|
||||
<link rel="mask-icon" href="http://bulma.io/versions/0.5.2/favicons/safari-pinned-tab.svg?v=201701041855" color="#00d1b2">
|
||||
<link rel="shortcut icon" href="http://bulma.io/versions/0.5.2/favicons/favicon.ico?v=201701041855">
|
||||
<meta name="msapplication-config" content="http://bulma.io/versions/0.5.2/favicons/browserconfig.xml?v=201701041855">
|
||||
<meta name="theme-color" content="#00d1b2">
|
||||
</head>
|
||||
|
||||
<body class="layout-documentation page-overview">
|
||||
|
||||
<div class="notification is-info" style="border-radius: 0; margin-bottom: 0;">
|
||||
<p>
|
||||
You are viewing the deprecated <strong>0.5.2</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.5.2">
|
||||
<img src="http://bulma.io/versions/0.5.2/images/bulma-logo.png" alt="Bulma v0.5.2: 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-lg 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-lg 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">
|
||||
<div class="navbar-item has-dropdown is-hoverable">
|
||||
<a class="navbar-link is-active" href="/versions/0.5.2/documentation/overview/start/">
|
||||
Docs
|
||||
</a>
|
||||
<div class="navbar-dropdown ">
|
||||
<a class="navbar-item is-active" href="/versions/0.5.2/documentation/overview/start/">
|
||||
Overview
|
||||
</a>
|
||||
<a class="navbar-item " href="http://bulma.io/versions/0.5.2/documentation/modifiers/syntax/">
|
||||
Modifiers
|
||||
</a>
|
||||
<a class="navbar-item " href="http://bulma.io/versions/0.5.2/documentation/columns/basics/">
|
||||
Columns
|
||||
</a>
|
||||
<a class="navbar-item " href="http://bulma.io/versions/0.5.2/documentation/layout/container/">
|
||||
Layout
|
||||
</a>
|
||||
<a class="navbar-item " href="http://bulma.io/versions/0.5.2/documentation/form/general/">
|
||||
Form
|
||||
</a>
|
||||
<a class="navbar-item " href="http://bulma.io/versions/0.5.2/documentation/elements/box/">
|
||||
Elements
|
||||
</a>
|
||||
|
||||
<a class="navbar-item " href="http://bulma.io/versions/0.5.2/documentation/components/breadcrumb/">
|
||||
Components
|
||||
</a>
|
||||
|
||||
<hr class="navbar-divider">
|
||||
<div class="navbar-item">
|
||||
<div>
|
||||
<p class="is-size-6-desktop">
|
||||
<strong class="has-text-info">0.5.2</strong>
|
||||
</p>
|
||||
|
||||
<small>
|
||||
<a class="bd-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.5.2/blog/">
|
||||
Blog
|
||||
</a>
|
||||
<div id="blogDropdown" class="navbar-dropdown " data-style="width: 18rem;">
|
||||
|
||||
<a class="navbar-item" href="/2017/08/03/list-of-tags/">
|
||||
<div class="navbar-content">
|
||||
<p>
|
||||
<small class="has-text-info">03 Aug 2017</small>
|
||||
</p>
|
||||
<p>New feature: list of tags</p>
|
||||
</div>
|
||||
</a>
|
||||
|
||||
<a class="navbar-item" href="/2017/08/01/bulma-bootstrap-comparison/">
|
||||
<div class="navbar-content">
|
||||
<p>
|
||||
<small class="has-text-info">01 Aug 2017</small>
|
||||
</p>
|
||||
<p>Bulma / Bootstrap comparison</p>
|
||||
</div>
|
||||
</a>
|
||||
|
||||
<a class="navbar-item" href="/2017/07/24/access-previous-bulma-versions/">
|
||||
<div class="navbar-content">
|
||||
<p>
|
||||
<small class="has-text-info">24 Jul 2017</small>
|
||||
</p>
|
||||
<p>Access previous Bulma versions</p>
|
||||
</div>
|
||||
</a>
|
||||
|
||||
<a class="navbar-item" href="http://bulma.io/versions/0.5.2/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 bd-is-rss is-small" href="http://bulma.io/versions/0.5.2/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.5.2/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>
|
||||
<a class="navbar-item " href="http://bulma.io/versions/0.5.2/expo/">
|
||||
<span class="bd-emoji">⭐️</span>
|
||||
Expo
|
||||
</a>
|
||||
<a class="navbar-item " href="http://bulma.io/versions/0.5.2/love/">
|
||||
<span class="bd-emoji">❤️</span>
|
||||
Love
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="navbar-end">
|
||||
<a class="navbar-item is-hidden-desktop-only" href="https://github.com/jgthms/bulma" target="_blank">
|
||||
<span class="icon" style="color: #333;">
|
||||
<i class="fa fa-lg fa-github"></i>
|
||||
</span>
|
||||
</a>
|
||||
<a class="navbar-item is-hidden-desktop-only" href="https://twitter.com/jgthms" target="_blank">
|
||||
<span class="icon" style="color: #55acee;">
|
||||
<i class="fa fa-lg fa-twitter"></i>
|
||||
</span>
|
||||
</a>
|
||||
<div class="navbar-item">
|
||||
<div class="field is-grouped">
|
||||
<p class="control">
|
||||
<a class="bd-tw-button button"
|
||||
data-social-network="Twitter"
|
||||
data-social-action="tweet"
|
||||
data-social-target="http://bulma.io/versions/0.5.2"
|
||||
target="_blank"
|
||||
href="https://twitter.com/intent/tweet?text=Bulma v0.5.2: a modern CSS framework based on Flexbox&hashtags=bulmaio&url=http://bulma.io/versions/0.5.2&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.5.2.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="carboncontainer">
|
||||
<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>
|
||||
|
||||
<div class="hero-foot">
|
||||
<div class="container">
|
||||
<nav class="tabs is-boxed">
|
||||
<ul>
|
||||
<li class="is-active">
|
||||
<a href="/versions/0.5.2/documentation/overview/start/">Overview</a>
|
||||
</li>
|
||||
<li >
|
||||
<a href="http://bulma.io/versions/0.5.2/documentation/modifiers/syntax">Modifiers</a>
|
||||
</li>
|
||||
<li >
|
||||
<a href="http://bulma.io/versions/0.5.2/documentation/columns/basics">Columns</a>
|
||||
</li>
|
||||
<li >
|
||||
<a href="http://bulma.io/versions/0.5.2/documentation/layout/container/">Layout</a>
|
||||
</li>
|
||||
<li >
|
||||
<a href="http://bulma.io/versions/0.5.2/documentation/form/general">Form</a>
|
||||
</li>
|
||||
<li >
|
||||
<a href="http://bulma.io/versions/0.5.2/documentation/elements/box/">Elements</a>
|
||||
</li>
|
||||
<li >
|
||||
|
||||
<a href="http://bulma.io/versions/0.5.2/documentation/components/breadcrumb/">Components</a>
|
||||
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</section>
|
||||
|
||||
<nav class="navbar has-shadow">
|
||||
<div class="container">
|
||||
<div class="navbar-tabs">
|
||||
<a class="navbar-item is-tab " href="http://bulma.io/versions/0.5.2/documentation/overview/start/">
|
||||
Start
|
||||
</a>
|
||||
<a class="navbar-item is-tab " href="http://bulma.io/versions/0.5.2/documentation/overview/customize/">
|
||||
Customize
|
||||
</a>
|
||||
<a class="navbar-item is-tab " href="http://bulma.io/versions/0.5.2/documentation/overview/classes/">
|
||||
Classes
|
||||
</a>
|
||||
<a class="navbar-item is-tab is-active" href="http://bulma.io/versions/0.5.2/documentation/overview/modular/">
|
||||
Modular
|
||||
</a>
|
||||
<a class="navbar-item is-tab " href="http://bulma.io/versions/0.5.2/documentation/overview/responsiveness/">
|
||||
Responsiveness
|
||||
</a>
|
||||
<a class="navbar-item is-tab " href="http://bulma.io/versions/0.5.2/documentation/overview/variables/">
|
||||
Variables
|
||||
</a>
|
||||
<a class="navbar-item is-tab " href="http://bulma.io/versions/0.5.2/documentation/overview/colors/">
|
||||
Colors
|
||||
</a>
|
||||
<a class="navbar-item is-tab " href="http://bulma.io/versions/0.5.2/documentation/overview/functions/">
|
||||
Functions
|
||||
</a>
|
||||
<a class="navbar-item is-tab " href="http://bulma.io/versions/0.5.2/documentation/overview/mixins/">
|
||||
Mixins
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
|
||||
<section class="section">
|
||||
<div class="container">
|
||||
<h1 class="title">Modular</h1>
|
||||
<h2 class="subtitle">Just import what you <strong>need</strong></h2>
|
||||
|
||||
<hr>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
Bulma consists of <strong>29</strong> <code>.sass</code> files that you can import <strong>individually.</strong>
|
||||
</p>
|
||||
<p>
|
||||
For example, let's say you only want the Bulma <strong>columns.</strong>
|
||||
<br>
|
||||
The file is located in the <code>bulma/sass/grid</code> folder.
|
||||
<br>
|
||||
Simply <strong>import</strong> the utilities dependencies, and then the files you need directly:
|
||||
</p>
|
||||
<figure class="highlight"><pre><code class="language-sass" data-lang="sass"><span class="k">@import</span> <span class="s">"bulma/sass/utilities/_all"</span>
|
||||
<span class="k">@import</span> <span class="s">"bulma/sass/grid/columns"</span></code></pre></figure>
|
||||
<p>
|
||||
Now you can use the classes <code>.columns</code> (for the container) and <code>.column</code> directly:
|
||||
</p>
|
||||
<figure class="highlight"><pre><code class="language-html" data-lang="html"><span class="nt"><div</span> <span class="na">class=</span><span class="s">"columns"</span><span class="nt">></span>
|
||||
<span class="nt"><div</span> <span class="na">class=</span><span class="s">"column"</span><span class="nt">></span>1<span class="nt"></div></span>
|
||||
<span class="nt"><div</span> <span class="na">class=</span><span class="s">"column"</span><span class="nt">></span>2<span class="nt"></div></span>
|
||||
<span class="nt"><div</span> <span class="na">class=</span><span class="s">"column"</span><span class="nt">></span>3<span class="nt"></div></span>
|
||||
<span class="nt"><div</span> <span class="na">class=</span><span class="s">"column"</span><span class="nt">></span>4<span class="nt"></div></span>
|
||||
<span class="nt"><div</span> <span class="na">class=</span><span class="s">"column"</span><span class="nt">></span>5<span class="nt"></div></span>
|
||||
<span class="nt"></div></span></code></pre></figure>
|
||||
|
||||
<hr>
|
||||
|
||||
<p>
|
||||
What if you only want the <strong>button</strong> styles instead?
|
||||
</p>
|
||||
<figure class="highlight"><pre><code class="language-sass" data-lang="sass"><span class="k">@import</span> <span class="s">"bulma/sass/utilities/_all"</span>
|
||||
<span class="k">@import</span> <span class="s">"bulma/sass/elements/button.sass"</span></code></pre></figure>
|
||||
<p>
|
||||
You can now use the <code>.button</code> class, and all its modifiers:
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
<code>.is-active</code>
|
||||
</li>
|
||||
<li>
|
||||
<code>.is-primary</code>,
|
||||
<code>.is-info</code>,
|
||||
<code>.is-success</code>...
|
||||
</li>
|
||||
<li>
|
||||
<code>.is-small</code>,
|
||||
<code>.is-medium</code>,
|
||||
<code>.is-large</code>
|
||||
</li>
|
||||
<li>
|
||||
<code>.is-outlined</code>,
|
||||
<code>.is-inverted</code>,
|
||||
<code>.is-link</code>
|
||||
</li>
|
||||
<li>
|
||||
<code>.is-loading</code>,
|
||||
<code>[disabled]</code>
|
||||
</li>
|
||||
</ul>
|
||||
<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>
|
||||
Button
|
||||
<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>
|
||||
Primary button
|
||||
<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 button
|
||||
<span class="nt"></a></span>
|
||||
|
||||
<span class="nt"><a</span> <span class="na">class=</span><span class="s">"button is-loading"</span><span class="nt">></span>
|
||||
Loading button
|
||||
<span class="nt"></a></span></code></pre></figure>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
<section class="section">
|
||||
<div class="container">
|
||||
<p class="has-text-centered has-text-grey-light">
|
||||
This page is <strong class="has-text-grey">open source</strong>.
|
||||
Noticed a typo? Or something unclear?
|
||||
<a class="has-text-grey" href="https://github.com/jgthms/bulma/blob/master/docs/documentation/overview/modular.html" style="border-bottom: 1px solid currentColor;">
|
||||
Improve this page on GitHub
|
||||
</a>
|
||||
</p>
|
||||
</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>.
|
||||
<p id="alternative">
|
||||
<a href="http://bulma.io/versions/0.5.2/alternative-to-bootstrap/">An alternative to <strong>Bootstrap</strong></a>
|
||||
</p>
|
||||
|
||||
<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.5.2: a modern CSS framework based on Flexbox" data-url="http://bulma.io/versions/0.5.2" 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.5.2/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.5.2/images/css-reference-logo.png" alt="CSS Reference logo">
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="http://htmlreference.io">
|
||||
<img src="http://bulma.io/versions/0.5.2/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.5.2/vendor/clipboard-1.7.1.min.js"></script>
|
||||
<script src="http://bulma.io/versions/0.5.2/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>
|
||||
@@ -0,0 +1,808 @@
|
||||
<!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.5.2 is an open source CSS framework based on Flexbox and built with Sass. It's 100% responsive, fully modular, and available for free.">
|
||||
|
||||
<title>Responsiveness | Bulma v0.5.2: a modern CSS framework based on Flexbox</title>
|
||||
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="http://bulma.io/versions/0.5.2/css/bulma-docs.css?v=20170911-2007">
|
||||
|
||||
<link rel="canonical" href="http://bulma.io/versions/0.5.2/documentation/overview/responsiveness/">
|
||||
<link rel="alternate" type="application/rss+xml" title="Bulma v0.5.2: a modern CSS framework based on Flexbox" href="http://bulma.io/versions/0.5.2/feed.xml">
|
||||
|
||||
<meta property="og:url" content="http://bulma.io/versions/0.5.2">
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:title" content="Bulma v0.5.2: a modern CSS framework based on Flexbox">
|
||||
<meta property="og:image" content="http://bulma.io/versions/0.5.2/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.5.2 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.5.2: a modern CSS framework based on Flexbox">
|
||||
<meta name="twitter:image" content="http://bulma.io/versions/0.5.2/images/bulma-banner.png">
|
||||
<meta name="twitter:description" content="Bulma v0.5.2 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.5.2/favicons/apple-touch-icon.png?v=201701041855">
|
||||
<link rel="icon" type="image/png" href="http://bulma.io/versions/0.5.2/favicons/favicon-32x32.png?v=201701041855" sizes="32x32">
|
||||
<link rel="icon" type="image/png" href="http://bulma.io/versions/0.5.2/favicons/favicon-16x16.png?v=201701041855" sizes="16x16">
|
||||
<link rel="manifest" href="http://bulma.io/versions/0.5.2/favicons/manifest.json?v=201701041855">
|
||||
<link rel="mask-icon" href="http://bulma.io/versions/0.5.2/favicons/safari-pinned-tab.svg?v=201701041855" color="#00d1b2">
|
||||
<link rel="shortcut icon" href="http://bulma.io/versions/0.5.2/favicons/favicon.ico?v=201701041855">
|
||||
<meta name="msapplication-config" content="http://bulma.io/versions/0.5.2/favicons/browserconfig.xml?v=201701041855">
|
||||
<meta name="theme-color" content="#00d1b2">
|
||||
</head>
|
||||
|
||||
<body class="layout-documentation page-overview">
|
||||
|
||||
<div class="notification is-info" style="border-radius: 0; margin-bottom: 0;">
|
||||
<p>
|
||||
You are viewing the deprecated <strong>0.5.2</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.5.2">
|
||||
<img src="http://bulma.io/versions/0.5.2/images/bulma-logo.png" alt="Bulma v0.5.2: 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-lg 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-lg 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">
|
||||
<div class="navbar-item has-dropdown is-hoverable">
|
||||
<a class="navbar-link is-active" href="/versions/0.5.2/documentation/overview/start/">
|
||||
Docs
|
||||
</a>
|
||||
<div class="navbar-dropdown ">
|
||||
<a class="navbar-item is-active" href="/versions/0.5.2/documentation/overview/start/">
|
||||
Overview
|
||||
</a>
|
||||
<a class="navbar-item " href="http://bulma.io/versions/0.5.2/documentation/modifiers/syntax/">
|
||||
Modifiers
|
||||
</a>
|
||||
<a class="navbar-item " href="http://bulma.io/versions/0.5.2/documentation/columns/basics/">
|
||||
Columns
|
||||
</a>
|
||||
<a class="navbar-item " href="http://bulma.io/versions/0.5.2/documentation/layout/container/">
|
||||
Layout
|
||||
</a>
|
||||
<a class="navbar-item " href="http://bulma.io/versions/0.5.2/documentation/form/general/">
|
||||
Form
|
||||
</a>
|
||||
<a class="navbar-item " href="http://bulma.io/versions/0.5.2/documentation/elements/box/">
|
||||
Elements
|
||||
</a>
|
||||
|
||||
<a class="navbar-item " href="http://bulma.io/versions/0.5.2/documentation/components/breadcrumb/">
|
||||
Components
|
||||
</a>
|
||||
|
||||
<hr class="navbar-divider">
|
||||
<div class="navbar-item">
|
||||
<div>
|
||||
<p class="is-size-6-desktop">
|
||||
<strong class="has-text-info">0.5.2</strong>
|
||||
</p>
|
||||
|
||||
<small>
|
||||
<a class="bd-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.5.2/blog/">
|
||||
Blog
|
||||
</a>
|
||||
<div id="blogDropdown" class="navbar-dropdown " data-style="width: 18rem;">
|
||||
|
||||
<a class="navbar-item" href="/2017/08/03/list-of-tags/">
|
||||
<div class="navbar-content">
|
||||
<p>
|
||||
<small class="has-text-info">03 Aug 2017</small>
|
||||
</p>
|
||||
<p>New feature: list of tags</p>
|
||||
</div>
|
||||
</a>
|
||||
|
||||
<a class="navbar-item" href="/2017/08/01/bulma-bootstrap-comparison/">
|
||||
<div class="navbar-content">
|
||||
<p>
|
||||
<small class="has-text-info">01 Aug 2017</small>
|
||||
</p>
|
||||
<p>Bulma / Bootstrap comparison</p>
|
||||
</div>
|
||||
</a>
|
||||
|
||||
<a class="navbar-item" href="/2017/07/24/access-previous-bulma-versions/">
|
||||
<div class="navbar-content">
|
||||
<p>
|
||||
<small class="has-text-info">24 Jul 2017</small>
|
||||
</p>
|
||||
<p>Access previous Bulma versions</p>
|
||||
</div>
|
||||
</a>
|
||||
|
||||
<a class="navbar-item" href="http://bulma.io/versions/0.5.2/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 bd-is-rss is-small" href="http://bulma.io/versions/0.5.2/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.5.2/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>
|
||||
<a class="navbar-item " href="http://bulma.io/versions/0.5.2/expo/">
|
||||
<span class="bd-emoji">⭐️</span>
|
||||
Expo
|
||||
</a>
|
||||
<a class="navbar-item " href="http://bulma.io/versions/0.5.2/love/">
|
||||
<span class="bd-emoji">❤️</span>
|
||||
Love
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="navbar-end">
|
||||
<a class="navbar-item is-hidden-desktop-only" href="https://github.com/jgthms/bulma" target="_blank">
|
||||
<span class="icon" style="color: #333;">
|
||||
<i class="fa fa-lg fa-github"></i>
|
||||
</span>
|
||||
</a>
|
||||
<a class="navbar-item is-hidden-desktop-only" href="https://twitter.com/jgthms" target="_blank">
|
||||
<span class="icon" style="color: #55acee;">
|
||||
<i class="fa fa-lg fa-twitter"></i>
|
||||
</span>
|
||||
</a>
|
||||
<div class="navbar-item">
|
||||
<div class="field is-grouped">
|
||||
<p class="control">
|
||||
<a class="bd-tw-button button"
|
||||
data-social-network="Twitter"
|
||||
data-social-action="tweet"
|
||||
data-social-target="http://bulma.io/versions/0.5.2"
|
||||
target="_blank"
|
||||
href="https://twitter.com/intent/tweet?text=Bulma v0.5.2: a modern CSS framework based on Flexbox&hashtags=bulmaio&url=http://bulma.io/versions/0.5.2&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.5.2.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="carboncontainer">
|
||||
<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>
|
||||
|
||||
<div class="hero-foot">
|
||||
<div class="container">
|
||||
<nav class="tabs is-boxed">
|
||||
<ul>
|
||||
<li class="is-active">
|
||||
<a href="/versions/0.5.2/documentation/overview/start/">Overview</a>
|
||||
</li>
|
||||
<li >
|
||||
<a href="http://bulma.io/versions/0.5.2/documentation/modifiers/syntax">Modifiers</a>
|
||||
</li>
|
||||
<li >
|
||||
<a href="http://bulma.io/versions/0.5.2/documentation/columns/basics">Columns</a>
|
||||
</li>
|
||||
<li >
|
||||
<a href="http://bulma.io/versions/0.5.2/documentation/layout/container/">Layout</a>
|
||||
</li>
|
||||
<li >
|
||||
<a href="http://bulma.io/versions/0.5.2/documentation/form/general">Form</a>
|
||||
</li>
|
||||
<li >
|
||||
<a href="http://bulma.io/versions/0.5.2/documentation/elements/box/">Elements</a>
|
||||
</li>
|
||||
<li >
|
||||
|
||||
<a href="http://bulma.io/versions/0.5.2/documentation/components/breadcrumb/">Components</a>
|
||||
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</section>
|
||||
|
||||
<nav class="navbar has-shadow">
|
||||
<div class="container">
|
||||
<div class="navbar-tabs">
|
||||
<a class="navbar-item is-tab " href="http://bulma.io/versions/0.5.2/documentation/overview/start/">
|
||||
Start
|
||||
</a>
|
||||
<a class="navbar-item is-tab " href="http://bulma.io/versions/0.5.2/documentation/overview/customize/">
|
||||
Customize
|
||||
</a>
|
||||
<a class="navbar-item is-tab " href="http://bulma.io/versions/0.5.2/documentation/overview/classes/">
|
||||
Classes
|
||||
</a>
|
||||
<a class="navbar-item is-tab " href="http://bulma.io/versions/0.5.2/documentation/overview/modular/">
|
||||
Modular
|
||||
</a>
|
||||
<a class="navbar-item is-tab is-active" href="http://bulma.io/versions/0.5.2/documentation/overview/responsiveness/">
|
||||
Responsiveness
|
||||
</a>
|
||||
<a class="navbar-item is-tab " href="http://bulma.io/versions/0.5.2/documentation/overview/variables/">
|
||||
Variables
|
||||
</a>
|
||||
<a class="navbar-item is-tab " href="http://bulma.io/versions/0.5.2/documentation/overview/colors/">
|
||||
Colors
|
||||
</a>
|
||||
<a class="navbar-item is-tab " href="http://bulma.io/versions/0.5.2/documentation/overview/functions/">
|
||||
Functions
|
||||
</a>
|
||||
<a class="navbar-item is-tab " href="http://bulma.io/versions/0.5.2/documentation/overview/mixins/">
|
||||
Mixins
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
|
||||
<section class="section">
|
||||
<div class="container">
|
||||
<h1 class="title">Responsiveness</h1>
|
||||
<h2 class="subtitle">Bulma is a <strong>mobile-first</strong> framework</h2>
|
||||
|
||||
<hr style="margin-bottom: 0;">
|
||||
|
||||
<h3 id="vertical-by-default" class="title is-4 is-spaced bd-anchor-title">
|
||||
Vertical by default
|
||||
<a class="bd-anchor-link" href="#vertical-by-default">
|
||||
#
|
||||
</a>
|
||||
</h3>
|
||||
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
Every element in Bulma is <strong>mobile-first</strong> and optimizes for <strong>vertical reading</strong>, so by default on mobile:
|
||||
</p>
|
||||
<ul>
|
||||
<li><code>columns</code> are stacked vertically</li>
|
||||
<li>the <code>level</code> component will show its children stacked vertically</li>
|
||||
<li>the <code>nav</code> menu will be hidden</li>
|
||||
</ul>
|
||||
<p>For example, you can enforce the <strong>horizontal</strong> layout for both <code>columns</code> or <code>nav</code> by appending the <code>is-mobile</code> modifer.</p>
|
||||
</div>
|
||||
|
||||
<hr style="margin-bottom: 0;">
|
||||
|
||||
<h3 id="breakpoints" class="title is-4 is-spaced bd-anchor-title">
|
||||
Breakpoints
|
||||
<a class="bd-anchor-link" href="#breakpoints">
|
||||
#
|
||||
</a>
|
||||
</h3>
|
||||
|
||||
|
||||
<div class="content">
|
||||
<p>Bulma has 5 breakpoints:</p>
|
||||
<ul>
|
||||
<li><code>mobile</code>: up to <code>768px</code></li>
|
||||
<li><code>tablet</code>: from <code>769px</code></li>
|
||||
<li><code>desktop</code>: from <code>1008px</code></li>
|
||||
<li><code>widescreen</code>: from <code>1200px</code></li>
|
||||
<li><span class="tag is-success">New!</span> <code>fullhd</code>: from <code>1392px</code></li>
|
||||
</ul>
|
||||
<p>Bulma uses 9 responsive mixins:</p>
|
||||
<ul>
|
||||
<li>
|
||||
<code>=mobile</code><br>
|
||||
until <code>768px</code>
|
||||
</li>
|
||||
<li>
|
||||
<code>=tablet</code><br>
|
||||
from <code>769px</code>
|
||||
</li>
|
||||
<li>
|
||||
<code>=tablet-only</code><br>
|
||||
from <code>769px</code> and until <code>1007px</code>
|
||||
</li>
|
||||
<li>
|
||||
<code>=touch</code><br>
|
||||
until <code>1007px</code>
|
||||
</li>
|
||||
<li>
|
||||
<code>=desktop</code><br>
|
||||
from <code>1008px</code>
|
||||
</li>
|
||||
<li>
|
||||
<code>=desktop-only</code><br>
|
||||
from <code>1008px</code> and until <code>1199px</code>
|
||||
</li>
|
||||
<li>
|
||||
<code>=widescreen</code><br>
|
||||
from <code>1200px</code>
|
||||
</li>
|
||||
<li>
|
||||
<code>=widescreen-only</code><br>
|
||||
from <code>1200px</code> and until <code>1391px</code>
|
||||
</li>
|
||||
<li>
|
||||
<span class="tag is-success">New!</span>
|
||||
<code>=fullhd</code><br>
|
||||
from <code>1392px</code>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<table class="table is-bordered">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width: 20%;">
|
||||
Mobile<br>
|
||||
Up to <code>768px</code>
|
||||
</th>
|
||||
<th style="width: 20%;">
|
||||
Tablet<br>
|
||||
Between <code>769px</code> and <code>1007px</code>
|
||||
</th>
|
||||
<th style="width: 20%;">
|
||||
Desktop<br>
|
||||
Between <code>1008px</code> and <code>1199px</code>
|
||||
</th>
|
||||
<th style="width: 20%;">
|
||||
Widescreen<br>
|
||||
Between <code>1200px</code> and <code>1391px</code>
|
||||
</th>
|
||||
<th style="width: 20%;">
|
||||
FullHD<br>
|
||||
<code>1392px</code> and above
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<p class="notification is-success">mobile</p>
|
||||
</td>
|
||||
<td colspan="4">
|
||||
<p class="notification">-</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p class="notification">-</p>
|
||||
</td>
|
||||
<td colspan="4">
|
||||
<p class="notification is-success">tablet</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<p class="notification">-</p>
|
||||
</td>
|
||||
<td colspan="3">
|
||||
<p class="notification is-success">desktop</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="3">
|
||||
<p class="notification">-</p>
|
||||
</td>
|
||||
<td colspan="2">
|
||||
<p class="notification is-success">widescreen</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="4">
|
||||
<p class="notification">-</p>
|
||||
</td>
|
||||
<td>
|
||||
<p class="notification is-success">fullhd</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p class="notification">-</p>
|
||||
</td>
|
||||
<td>
|
||||
<p class="notification is-success">tablet-only</p>
|
||||
</td>
|
||||
<td colspan="3">
|
||||
<p class="notification">-</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<p class="notification">-</p>
|
||||
</td>
|
||||
<td>
|
||||
<p class="notification is-success">desktop-only</p>
|
||||
</td>
|
||||
<td colspan="2">
|
||||
<p class="notification">-</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="3">
|
||||
<p class="notification">-</p>
|
||||
</td>
|
||||
<td>
|
||||
<p class="notification is-success">widescreen-only</p>
|
||||
</td>
|
||||
<td>
|
||||
<p class="notification">-</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<p class="notification is-success">touch</p>
|
||||
</td>
|
||||
<td colspan="3">
|
||||
<p class="notification">-</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
<section class="section">
|
||||
<div class="container">
|
||||
<p class="has-text-centered has-text-grey-light">
|
||||
This page is <strong class="has-text-grey">open source</strong>.
|
||||
Noticed a typo? Or something unclear?
|
||||
<a class="has-text-grey" href="https://github.com/jgthms/bulma/blob/master/docs/documentation/overview/responsiveness.html" style="border-bottom: 1px solid currentColor;">
|
||||
Improve this page on GitHub
|
||||
</a>
|
||||
</p>
|
||||
</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>.
|
||||
<p id="alternative">
|
||||
<a href="http://bulma.io/versions/0.5.2/alternative-to-bootstrap/">An alternative to <strong>Bootstrap</strong></a>
|
||||
</p>
|
||||
|
||||
<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.5.2: a modern CSS framework based on Flexbox" data-url="http://bulma.io/versions/0.5.2" 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.5.2/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.5.2/images/css-reference-logo.png" alt="CSS Reference logo">
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="http://htmlreference.io">
|
||||
<img src="http://bulma.io/versions/0.5.2/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.5.2/vendor/clipboard-1.7.1.min.js"></script>
|
||||
<script src="http://bulma.io/versions/0.5.2/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>
|
||||
726
docs/versions/0.5.2/documentation/overview/start/index.html
Normal file
726
docs/versions/0.5.2/documentation/overview/start/index.html
Normal file
@@ -0,0 +1,726 @@
|
||||
<!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.5.2 is an open source CSS framework based on Flexbox and built with Sass. It's 100% responsive, fully modular, and available for free.">
|
||||
|
||||
<title>Get started with Bulma | Bulma v0.5.2: a modern CSS framework based on Flexbox</title>
|
||||
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="http://bulma.io/versions/0.5.2/css/bulma-docs.css?v=20170911-2007">
|
||||
|
||||
<link rel="canonical" href="http://bulma.io/versions/0.5.2/documentation/overview/start/">
|
||||
<link rel="alternate" type="application/rss+xml" title="Bulma v0.5.2: a modern CSS framework based on Flexbox" href="http://bulma.io/versions/0.5.2/feed.xml">
|
||||
|
||||
<meta property="og:url" content="http://bulma.io/versions/0.5.2">
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:title" content="Bulma v0.5.2: a modern CSS framework based on Flexbox">
|
||||
<meta property="og:image" content="http://bulma.io/versions/0.5.2/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.5.2 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.5.2: a modern CSS framework based on Flexbox">
|
||||
<meta name="twitter:image" content="http://bulma.io/versions/0.5.2/images/bulma-banner.png">
|
||||
<meta name="twitter:description" content="Bulma v0.5.2 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.5.2/favicons/apple-touch-icon.png?v=201701041855">
|
||||
<link rel="icon" type="image/png" href="http://bulma.io/versions/0.5.2/favicons/favicon-32x32.png?v=201701041855" sizes="32x32">
|
||||
<link rel="icon" type="image/png" href="http://bulma.io/versions/0.5.2/favicons/favicon-16x16.png?v=201701041855" sizes="16x16">
|
||||
<link rel="manifest" href="http://bulma.io/versions/0.5.2/favicons/manifest.json?v=201701041855">
|
||||
<link rel="mask-icon" href="http://bulma.io/versions/0.5.2/favicons/safari-pinned-tab.svg?v=201701041855" color="#00d1b2">
|
||||
<link rel="shortcut icon" href="http://bulma.io/versions/0.5.2/favicons/favicon.ico?v=201701041855">
|
||||
<meta name="msapplication-config" content="http://bulma.io/versions/0.5.2/favicons/browserconfig.xml?v=201701041855">
|
||||
<meta name="theme-color" content="#00d1b2">
|
||||
</head>
|
||||
|
||||
<body class="layout-documentation page-overview">
|
||||
|
||||
<div class="notification is-info" style="border-radius: 0; margin-bottom: 0;">
|
||||
<p>
|
||||
You are viewing the deprecated <strong>0.5.2</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.5.2">
|
||||
<img src="http://bulma.io/versions/0.5.2/images/bulma-logo.png" alt="Bulma v0.5.2: 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-lg 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-lg 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">
|
||||
<div class="navbar-item has-dropdown is-hoverable">
|
||||
<a class="navbar-link is-active" href="/versions/0.5.2/documentation/overview/start/">
|
||||
Docs
|
||||
</a>
|
||||
<div class="navbar-dropdown ">
|
||||
<a class="navbar-item is-active" href="/versions/0.5.2/documentation/overview/start/">
|
||||
Overview
|
||||
</a>
|
||||
<a class="navbar-item " href="http://bulma.io/versions/0.5.2/documentation/modifiers/syntax/">
|
||||
Modifiers
|
||||
</a>
|
||||
<a class="navbar-item " href="http://bulma.io/versions/0.5.2/documentation/columns/basics/">
|
||||
Columns
|
||||
</a>
|
||||
<a class="navbar-item " href="http://bulma.io/versions/0.5.2/documentation/layout/container/">
|
||||
Layout
|
||||
</a>
|
||||
<a class="navbar-item " href="http://bulma.io/versions/0.5.2/documentation/form/general/">
|
||||
Form
|
||||
</a>
|
||||
<a class="navbar-item " href="http://bulma.io/versions/0.5.2/documentation/elements/box/">
|
||||
Elements
|
||||
</a>
|
||||
|
||||
<a class="navbar-item " href="http://bulma.io/versions/0.5.2/documentation/components/breadcrumb/">
|
||||
Components
|
||||
</a>
|
||||
|
||||
<hr class="navbar-divider">
|
||||
<div class="navbar-item">
|
||||
<div>
|
||||
<p class="is-size-6-desktop">
|
||||
<strong class="has-text-info">0.5.2</strong>
|
||||
</p>
|
||||
|
||||
<small>
|
||||
<a class="bd-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.5.2/blog/">
|
||||
Blog
|
||||
</a>
|
||||
<div id="blogDropdown" class="navbar-dropdown " data-style="width: 18rem;">
|
||||
|
||||
<a class="navbar-item" href="/2017/08/03/list-of-tags/">
|
||||
<div class="navbar-content">
|
||||
<p>
|
||||
<small class="has-text-info">03 Aug 2017</small>
|
||||
</p>
|
||||
<p>New feature: list of tags</p>
|
||||
</div>
|
||||
</a>
|
||||
|
||||
<a class="navbar-item" href="/2017/08/01/bulma-bootstrap-comparison/">
|
||||
<div class="navbar-content">
|
||||
<p>
|
||||
<small class="has-text-info">01 Aug 2017</small>
|
||||
</p>
|
||||
<p>Bulma / Bootstrap comparison</p>
|
||||
</div>
|
||||
</a>
|
||||
|
||||
<a class="navbar-item" href="/2017/07/24/access-previous-bulma-versions/">
|
||||
<div class="navbar-content">
|
||||
<p>
|
||||
<small class="has-text-info">24 Jul 2017</small>
|
||||
</p>
|
||||
<p>Access previous Bulma versions</p>
|
||||
</div>
|
||||
</a>
|
||||
|
||||
<a class="navbar-item" href="http://bulma.io/versions/0.5.2/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 bd-is-rss is-small" href="http://bulma.io/versions/0.5.2/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.5.2/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>
|
||||
<a class="navbar-item " href="http://bulma.io/versions/0.5.2/expo/">
|
||||
<span class="bd-emoji">⭐️</span>
|
||||
Expo
|
||||
</a>
|
||||
<a class="navbar-item " href="http://bulma.io/versions/0.5.2/love/">
|
||||
<span class="bd-emoji">❤️</span>
|
||||
Love
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="navbar-end">
|
||||
<a class="navbar-item is-hidden-desktop-only" href="https://github.com/jgthms/bulma" target="_blank">
|
||||
<span class="icon" style="color: #333;">
|
||||
<i class="fa fa-lg fa-github"></i>
|
||||
</span>
|
||||
</a>
|
||||
<a class="navbar-item is-hidden-desktop-only" href="https://twitter.com/jgthms" target="_blank">
|
||||
<span class="icon" style="color: #55acee;">
|
||||
<i class="fa fa-lg fa-twitter"></i>
|
||||
</span>
|
||||
</a>
|
||||
<div class="navbar-item">
|
||||
<div class="field is-grouped">
|
||||
<p class="control">
|
||||
<a class="bd-tw-button button"
|
||||
data-social-network="Twitter"
|
||||
data-social-action="tweet"
|
||||
data-social-target="http://bulma.io/versions/0.5.2"
|
||||
target="_blank"
|
||||
href="https://twitter.com/intent/tweet?text=Bulma v0.5.2: a modern CSS framework based on Flexbox&hashtags=bulmaio&url=http://bulma.io/versions/0.5.2&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.5.2.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="carboncontainer">
|
||||
<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>
|
||||
|
||||
<div class="hero-foot">
|
||||
<div class="container">
|
||||
<nav class="tabs is-boxed">
|
||||
<ul>
|
||||
<li class="is-active">
|
||||
<a href="/versions/0.5.2/documentation/overview/start/">Overview</a>
|
||||
</li>
|
||||
<li >
|
||||
<a href="http://bulma.io/versions/0.5.2/documentation/modifiers/syntax">Modifiers</a>
|
||||
</li>
|
||||
<li >
|
||||
<a href="http://bulma.io/versions/0.5.2/documentation/columns/basics">Columns</a>
|
||||
</li>
|
||||
<li >
|
||||
<a href="http://bulma.io/versions/0.5.2/documentation/layout/container/">Layout</a>
|
||||
</li>
|
||||
<li >
|
||||
<a href="http://bulma.io/versions/0.5.2/documentation/form/general">Form</a>
|
||||
</li>
|
||||
<li >
|
||||
<a href="http://bulma.io/versions/0.5.2/documentation/elements/box/">Elements</a>
|
||||
</li>
|
||||
<li >
|
||||
|
||||
<a href="http://bulma.io/versions/0.5.2/documentation/components/breadcrumb/">Components</a>
|
||||
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</section>
|
||||
|
||||
<nav class="navbar has-shadow">
|
||||
<div class="container">
|
||||
<div class="navbar-tabs">
|
||||
<a class="navbar-item is-tab is-active" href="http://bulma.io/versions/0.5.2/documentation/overview/start/">
|
||||
Start
|
||||
</a>
|
||||
<a class="navbar-item is-tab " href="http://bulma.io/versions/0.5.2/documentation/overview/customize/">
|
||||
Customize
|
||||
</a>
|
||||
<a class="navbar-item is-tab " href="http://bulma.io/versions/0.5.2/documentation/overview/classes/">
|
||||
Classes
|
||||
</a>
|
||||
<a class="navbar-item is-tab " href="http://bulma.io/versions/0.5.2/documentation/overview/modular/">
|
||||
Modular
|
||||
</a>
|
||||
<a class="navbar-item is-tab " href="http://bulma.io/versions/0.5.2/documentation/overview/responsiveness/">
|
||||
Responsiveness
|
||||
</a>
|
||||
<a class="navbar-item is-tab " href="http://bulma.io/versions/0.5.2/documentation/overview/variables/">
|
||||
Variables
|
||||
</a>
|
||||
<a class="navbar-item is-tab " href="http://bulma.io/versions/0.5.2/documentation/overview/colors/">
|
||||
Colors
|
||||
</a>
|
||||
<a class="navbar-item is-tab " href="http://bulma.io/versions/0.5.2/documentation/overview/functions/">
|
||||
Functions
|
||||
</a>
|
||||
<a class="navbar-item is-tab " href="http://bulma.io/versions/0.5.2/documentation/overview/mixins/">
|
||||
Mixins
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
|
||||
<section class="section">
|
||||
<div class="container">
|
||||
<h1 class="title">Getting started</h1>
|
||||
<h2 class="subtitle">You only need <strong>1 CSS file</strong> to use Bulma</h2>
|
||||
|
||||
<hr>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
There are several ways to <strong>get started</strong> with Bulma. You can either:
|
||||
</p>
|
||||
<ol>
|
||||
<li>
|
||||
use <strong>npm</strong> to install the Bulma package
|
||||
</li>
|
||||
<li>
|
||||
use the cdnjs <strong>CDN</strong> to link to the Bulma stylesheet
|
||||
</li>
|
||||
<li>
|
||||
use the <strong>GitHub repository</strong> to get the latest development version
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
||||
|
||||
<article class="media is-large">
|
||||
<div class="media-left">
|
||||
<p class="title is-5">1</p>
|
||||
</div>
|
||||
<div class="media-content">
|
||||
<p class="title is-5">
|
||||
Use <strong>NPM</strong> <em>(recommended)</em>:
|
||||
</p>
|
||||
<figure class="highlight"><pre><code class="language-bash" data-lang="bash">npm install bulma</code></pre></figure>
|
||||
</div>
|
||||
</article>
|
||||
|
||||
<article class="media is-large">
|
||||
<div class="media-left">
|
||||
<p class="title is-5">2</p>
|
||||
</div>
|
||||
<div class="media-content">
|
||||
<p class="title is-5">
|
||||
Use the <a href="https://cdnjs.com/" target="_blank">cdnjs</a> <strong>CDN</strong>
|
||||
<br>
|
||||
<a href="https://cdnjs.com/libraries/bulma">https://cdnjs.com/libraries/bulma</a>
|
||||
</p>
|
||||
</div>
|
||||
</article>
|
||||
|
||||
<article class="media is-large">
|
||||
<div class="media-left">
|
||||
<p class="title is-5">3</p>
|
||||
</div>
|
||||
<div class="media-content">
|
||||
<p class="title is-5">
|
||||
Download from the <strong>repository</strong>
|
||||
<br>
|
||||
<a href="https://github.com/jgthms/bulma/tree/master/css">https://github.com/jgthms/bulma/tree/master/css</a>
|
||||
</p>
|
||||
</div>
|
||||
</article>
|
||||
|
||||
<hr>
|
||||
|
||||
<div class="message is-info">
|
||||
<div class="message-header">
|
||||
Font Awesome icons
|
||||
</div>
|
||||
<div class="message-body">
|
||||
<p>If you want to use icons with Bulma, don't forget to include <a href="https://fortawesome.github.io/Font-Awesome/">Font Awesome</a>:</p>
|
||||
<figure class="highlight"><pre><code class="language-html" data-lang="html"><span class="nt"><link</span> <span class="na">rel=</span><span class="s">"stylesheet"</span> <span class="na">href=</span><span class="s">"https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"</span><span class="nt">></span></code></pre></figure>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<hr style="margin-bottom: 0;">
|
||||
|
||||
<h3 id="starter-template" class="title is-4 is-spaced bd-anchor-title">
|
||||
Starter template
|
||||
<a class="bd-anchor-link" href="#starter-template">
|
||||
#
|
||||
</a>
|
||||
</h3>
|
||||
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
If you want to get started <strong>right away</strong>, you can use this <strong>HTML starter template</strong>. Just copy/paste this code in a file and save it on your computer.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="bd-example highlight-full">
|
||||
<figure class="highlight"><pre><code class="language-html" data-lang="html"><span class="cp"><!DOCTYPE html></span>
|
||||
<span class="nt"><html></span>
|
||||
<span class="nt"><head></span>
|
||||
<span class="nt"><meta</span> <span class="na">charset=</span><span class="s">"utf-8"</span><span class="nt">></span>
|
||||
<span class="nt"><meta</span> <span class="na">name=</span><span class="s">"viewport"</span> <span class="na">content=</span><span class="s">"width=device-width, initial-scale=1"</span><span class="nt">></span>
|
||||
<span class="nt"><title></span>Hello Bulma!<span class="nt"></title></span>
|
||||
<span class="nt"><link</span> <span class="na">rel=</span><span class="s">"stylesheet"</span> <span class="na">href=</span><span class="s">"https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"</span><span class="nt">></span>
|
||||
<span class="nt"><link</span> <span class="na">rel=</span><span class="s">"stylesheet"</span> <span class="na">href=</span><span class="s">"https://cdnjs.cloudflare.com/ajax/libs/bulma/0.5.2/css/bulma.min.css"</span><span class="nt">></span>
|
||||
<span class="nt"></head></span>
|
||||
<span class="nt"><body></span>
|
||||
<span class="nt"><section</span> <span class="na">class=</span><span class="s">"section"</span><span class="nt">></span>
|
||||
<span class="nt"><div</span> <span class="na">class=</span><span class="s">"container"</span><span class="nt">></span>
|
||||
<span class="nt"><h1</span> <span class="na">class=</span><span class="s">"title"</span><span class="nt">></span>
|
||||
Hello World
|
||||
<span class="nt"></h1></span>
|
||||
<span class="nt"><p</span> <span class="na">class=</span><span class="s">"subtitle"</span><span class="nt">></span>
|
||||
My first website with <span class="nt"><strong></span>Bulma<span class="nt"></strong></span>!
|
||||
<span class="nt"></p></span>
|
||||
<span class="nt"></div></span>
|
||||
<span class="nt"></section></span>
|
||||
<span class="nt"></body></span>
|
||||
<span class="nt"></html></span></code></pre></figure>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
<section class="section">
|
||||
<div class="container">
|
||||
<p class="has-text-centered has-text-grey-light">
|
||||
This page is <strong class="has-text-grey">open source</strong>.
|
||||
Noticed a typo? Or something unclear?
|
||||
<a class="has-text-grey" href="https://github.com/jgthms/bulma/blob/master/docs/documentation/overview/start.html" style="border-bottom: 1px solid currentColor;">
|
||||
Improve this page on GitHub
|
||||
</a>
|
||||
</p>
|
||||
</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>.
|
||||
<p id="alternative">
|
||||
<a href="http://bulma.io/versions/0.5.2/alternative-to-bootstrap/">An alternative to <strong>Bootstrap</strong></a>
|
||||
</p>
|
||||
|
||||
<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.5.2: a modern CSS framework based on Flexbox" data-url="http://bulma.io/versions/0.5.2" 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.5.2/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.5.2/images/css-reference-logo.png" alt="CSS Reference logo">
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="http://htmlreference.io">
|
||||
<img src="http://bulma.io/versions/0.5.2/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.5.2/vendor/clipboard-1.7.1.min.js"></script>
|
||||
<script src="http://bulma.io/versions/0.5.2/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>
|
||||
1559
docs/versions/0.5.2/documentation/overview/variables/index.html
Normal file
1559
docs/versions/0.5.2/documentation/overview/variables/index.html
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user