diff --git a/docs/_posts/2021-01-23-the-block-probably-bulmas-most-important-feature.md b/docs/_posts/2021-01-23-the-block-probably-bulmas-most-important-feature.md new file mode 100644 index 00000000..51bc1c87 --- /dev/null +++ b/docs/_posts/2021-01-23-the-block-probably-bulmas-most-important-feature.md @@ -0,0 +1,164 @@ +--- +title: 'The `.block`, probably Bulma’s most important feature' +layout: post +introduction: 'Automatic spacing for everything in Bulma' +color: 'danger' +name: 'The Bulma block' +icon: 'cube' +--- + +The Bulma `block` is a simple element but with a very powerful feature: it provides `1.5rem` margin at the bottom, if it's not the last child. + +It exists as its own `.block` CSS class, but its properties are also used on **many other Bulma components**. + +For example, if you were to combine a `notification`, and a `pagination`, they would be **automatically spaced evenly**: + +
Newsletter
+ +Name | +Actions | +|
---|---|---|
Alex | +alex.smith@example.com | +Edit · Delete | +
Sam | +sam.rogers@example.com | +Edit · Delete | +
Luke | +hello.luke@example.com | +Edit · Delete | +
Eli | +eli.larry@example.com | +Edit · Delete | +
Dan | +dan.danny@example.com | +Edit · Delete | +
Newsletter
+ +Name | +Actions | +|
---|---|---|
Alex | +alex.smith@example.com | +Edit · Delete | +
Sam | +sam.rogers@example.com | +Edit · Delete | +
Luke | +hello.luke@example.com | +Edit · Delete | +
Eli | +eli.larry@example.com | +Edit · Delete | +
Dan | +dan.danny@example.com | +Edit · Delete | +