<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Bulma中文文档: a modern CSS framework based on Flexbox</title>
    <description>Bulma中文文档Bulma is an open source CSS framework based on Flexbox and built with Sass. It's 100% responsive, fully modular, and available for free.</description>
    <link>https://img.higrid.net</link>
    <id>https://img.higrid.net</id>
    <updated>2024-05-13T07:23:27+00:00</updated>
    <author>
      <name>Bulma中文文档: a modern CSS framework based on Flexbox</name>
      <email>bbxdesign@gmail.com</email>
    </author>
    <atom:link href="https://img.higrid.net/atom.xml" rel="self" type="application/rss+xml" />
    
      <item>
        <title>Bulma supports Font Awesome&amp;nbsp;5</title>
        
        <description>&lt;p&gt;Bulma is &lt;strong&gt;icon library agnostic&lt;/strong&gt;: this means that you can use &lt;em&gt;any&lt;/em&gt; icon font library (like Font Awesome 4 or 5, Material Design Icons, Open Iconic, Ionicons…) with Bulma’s &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;icon&lt;/code&gt; class.&lt;/p&gt;

&lt;p&gt;As a result, &lt;strong&gt;Bulma already supports Font Awesome 5&lt;/strong&gt;! 😃&lt;/p&gt;

&lt;p&gt;Since the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;icon&lt;/code&gt; element is simply a &lt;strong&gt;container&lt;/strong&gt; for any icon font *allowing the layout to reserve a spot for the icon while it loads), it supports any size of Font Awesome 4 and 5.&lt;/p&gt;

&lt;p&gt;For the sake of being in sync with Bulma users, I’ve recently updated the website to actually use Font Awesome 5! The process of &lt;strong&gt;migrating&lt;/strong&gt; from Font Awesome 4 to 5 is straightforward. You simply need to:&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;include Font Awesome 5 instead, &lt;a href=&quot;https://fontawesome.com/get-started&quot;&gt;using the script tag&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;replace &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;fa&lt;/code&gt; classes with their &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;fas&lt;/code&gt; and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;fab&lt;/code&gt; equivalents&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;That’s it!&lt;/p&gt;

&lt;p&gt;Check out the &lt;a href=&quot;/documentation/elements/icon/&quot;&gt;icon documentation&lt;/a&gt;.&lt;/p&gt;
</description>
        <pubDate>Thu, 18 Jan 2018 00:00:00 +0000</pubDate>
        <link>https://img.higrid.net/2018/01/18/bulma-supports-font-awesome-5/</link>
        <guid isPermaLink="true">https://img.higrid.net/2018/01/18/bulma-supports-font-awesome-5/</guid>
      </item>
    
      <item>
        <title>Bulma is on Patreon!</title>
        
        <description>&lt;p&gt;&lt;strong&gt;Bulma&lt;/strong&gt; has now its own &lt;a href=&quot;https://www.patreon.com/jgthms&quot;&gt;Patreon page&lt;/a&gt;:&lt;/p&gt;

&lt;figure&gt;
  &lt;a href=&quot;https://www.patreon.com/jgthms&quot; target=&quot;_blank&quot;&gt;
    &lt;img src=&quot;https://img.higrid.net/images/blog/patreon-homepage.png&quot; alt=&quot;Bulma Patreon homepage&quot; width=&quot;840&quot; height=&quot;525&quot; /&gt;
  &lt;/a&gt;
&lt;/figure&gt;

&lt;p&gt;This will allow people to easily support Bulma, and ensure its future development.&lt;/p&gt;
</description>
        <pubDate>Tue, 14 Nov 2017 00:00:00 +0000</pubDate>
        <link>https://img.higrid.net/2017/11/14/bulma-is-on-patreon/</link>
        <guid isPermaLink="true">https://img.higrid.net/2017/11/14/bulma-is-on-patreon/</guid>
      </item>
    
      <item>
        <title>New feature: fixed navbar</title>
        
        <description>&lt;p&gt;You can now fix a &lt;a href=&quot;/documentation/components/navbar/#fixed-navbar&quot;&gt;navbar&lt;/a&gt; to the &lt;strong&gt;top&lt;/strong&gt; or the &lt;strong&gt;bottom&lt;/strong&gt;:&lt;/p&gt;

&lt;figure&gt;
  &lt;video width=&quot;602.5&quot; height=&quot;360&quot; autoplay=&quot;&quot; muted=&quot;&quot; loop=&quot;&quot;&gt;
    &lt;source src=&quot;https://img.higrid.net/images/blog/fixed-navbar.mp4&quot; type=&quot;video/mp4&quot; /&gt;
  &lt;/video&gt;
&lt;/figure&gt;

&lt;p&gt;&lt;a href=&quot;/documentation/components/navbar/#fixed-navbar&quot;&gt;Check it out!&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;As a added &lt;strong&gt;bonus&lt;/strong&gt;, the bottom navbar required a new &lt;strong&gt;dropup&lt;/strong&gt; feature which has also been implemented!&lt;/p&gt;

&lt;figure&gt;
  &lt;a href=&quot;https://img.higrid.net/documentation/components/navbar/#fixed-navbar&quot;&gt;
    &lt;img src=&quot;https://img.higrid.net/images/blog/dropup.png&quot; alt=&quot;Navbar dropup&quot; width=&quot;660&quot; height=&quot;239&quot; /&gt;
  &lt;/a&gt;
&lt;/figure&gt;
</description>
        <pubDate>Wed, 01 Nov 2017 00:00:00 +0000</pubDate>
        <link>https://img.higrid.net/2017/11/01/fixed-navbar/</link>
        <guid isPermaLink="true">https://img.higrid.net/2017/11/01/fixed-navbar/</guid>
      </item>
    
      <item>
        <title>New feature: list of buttons</title>
        
        <description>&lt;p&gt;Similarly to the &lt;a href=&quot;/2017/08/03/list-of-tags/&quot;&gt;list of tags&lt;/a&gt; launched a few months ago, the &lt;a href=&quot;/documentation/elements/button/&quot;&gt;button&lt;/a&gt; has its own &lt;strong&gt;list of buttons&lt;/strong&gt;:&lt;/p&gt;

&lt;figure&gt;
  &lt;a href=&quot;https://img.higrid.net/documentation/elements/button/#list-of-buttons&quot;&gt;
    &lt;img src=&quot;https://img.higrid.net/images/blog/list-of-buttons.png&quot; alt=&quot;List of buttons in CSS&quot; width=&quot;660&quot; height=&quot;550&quot; /&gt;
  &lt;/a&gt;
&lt;/figure&gt;

&lt;p&gt;Although you could already &lt;strong&gt;group&lt;/strong&gt; buttons by using &lt;a href=&quot;/documentation/form/general/#form-group&quot;&gt;from groups&lt;/a&gt;, this new &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;buttons&lt;/code&gt; class makes everything easier.&lt;/p&gt;
</description>
        <pubDate>Sun, 22 Oct 2017 00:00:00 +0000</pubDate>
        <link>https://img.higrid.net/2017/10/22/list-of-buttons/</link>
        <guid isPermaLink="true">https://img.higrid.net/2017/10/22/list-of-buttons/</guid>
      </item>
    
      <item>
        <title>Roses are red – Links are blue</title>
        
        <description>&lt;p&gt;By default, a browser will display links in &lt;strong style=&quot;color: blue;&quot;&gt;blue&lt;/strong&gt;. Bulma has up until now used the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;$primary&lt;/code&gt; color as the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;$link&lt;/code&gt; color:&lt;/p&gt;

&lt;div class=&quot;language-sass highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;c1&quot;&gt;// Old styles&lt;/span&gt;
&lt;span class=&quot;nv&quot;&gt;$link&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;nv&quot;&gt;$primary&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;!&lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;default&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;But the &lt;em&gt;primary&lt;/em&gt; color is mostly used as the &lt;strong&gt;brand&lt;/strong&gt; color, and is not necessarily well suited for links. For readability purposes, and to add more flexibility to your design choices:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;$link&lt;/code&gt; color defaults to &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;$blue&lt;/code&gt;&lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;$info&lt;/code&gt; is using the new &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;$cyan&lt;/code&gt; color&lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;$link&lt;/code&gt; has been added to the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;$colors&lt;/code&gt; map as well&lt;/li&gt;
&lt;/ul&gt;

&lt;div class=&quot;language-sass highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;c1&quot;&gt;// New styles&lt;/span&gt;
&lt;span class=&quot;nv&quot;&gt;$link&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;nv&quot;&gt;$blue&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;!&lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;default&lt;/span&gt;
&lt;span class=&quot;nv&quot;&gt;$info&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;nv&quot;&gt;$cyan&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;!&lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;default&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;div class=&quot;message is-danger&quot;&gt;
  &lt;div class=&quot;message-header&quot;&gt;
    Deprecation warning
  &lt;/div&gt;
  &lt;div class=&quot;message-body&quot;&gt;
    &lt;p&gt;
      Because the modifier &lt;code&gt;is-link&lt;/code&gt; for &lt;strong&gt;buttons&lt;/strong&gt; already existed, it has been renamed to &lt;code&gt;is-text&lt;/code&gt;.
    &lt;/p&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;p&gt;As such, the following components are now &lt;strong&gt;blue&lt;/strong&gt;:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;/documentation/components/breadcrumb/&quot;&gt;breadcrumb&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;/documentation/components/dropdown/&quot;&gt;dropdown&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;/documentation/components/navbar/&quot;&gt;navbar&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;/documentation/components/pagination/&quot;&gt;pagination&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;/documentation/components/tabs/&quot;&gt;tabs&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;/documentation/components/menu/&quot;&gt;menu&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;/documentation/components/panel/&quot;&gt;panel&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;All Bulma elements and components that support &lt;strong&gt;color&lt;/strong&gt; modifiers now support the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.is-link&lt;/code&gt; color:&lt;/p&gt;

&lt;div class=&quot;language-html highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nt&quot;&gt;&amp;lt;div&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;class=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;notification is-link&quot;&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;&amp;gt;&lt;/span&gt;
  Link notification.
&lt;span class=&quot;nt&quot;&gt;&amp;lt;/div&amp;gt;&lt;/span&gt;

&lt;span class=&quot;nt&quot;&gt;&amp;lt;div&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;class=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;notification is-info&quot;&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;&amp;gt;&lt;/span&gt;
  Info notification.
&lt;span class=&quot;nt&quot;&gt;&amp;lt;/div&amp;gt;&lt;/span&gt;

&lt;span class=&quot;nt&quot;&gt;&amp;lt;button&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;class=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;button is-link&quot;&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;&amp;gt;&lt;/span&gt;
  Link button
&lt;span class=&quot;nt&quot;&gt;&amp;lt;/button&amp;gt;&lt;/span&gt;

&lt;span class=&quot;nt&quot;&gt;&amp;lt;button&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;class=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;button is-info&quot;&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;&amp;gt;&lt;/span&gt;
  Info button
&lt;span class=&quot;nt&quot;&gt;&amp;lt;/button&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;div class=&quot;notification is-link&quot;&gt;
  Link notification.
&lt;/div&gt;

&lt;div class=&quot;notification is-info&quot;&gt;
  Info notification.
&lt;/div&gt;

&lt;p&gt;&lt;button class=&quot;button is-link&quot;&gt;
  Link button
&lt;/button&gt;&lt;/p&gt;

&lt;p&gt;&lt;button class=&quot;button is-info&quot;&gt;
  Info button
&lt;/button&gt;&lt;/p&gt;

&lt;p&gt;If you want to use the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;$primary&lt;/code&gt; color for your links, just &lt;strong&gt;customize&lt;/strong&gt; your Bulma setup by including these rules:&lt;/p&gt;

&lt;div class=&quot;language-sass highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nv&quot;&gt;$link&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;nv&quot;&gt;$primary&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;!&lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;default&lt;/span&gt;
&lt;span class=&quot;nv&quot;&gt;$link-invert&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;nv&quot;&gt;$primary-invert&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;!&lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;default&lt;/span&gt;
&lt;span class=&quot;nv&quot;&gt;$link-focus-border&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;nv&quot;&gt;$primary&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;!&lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;default&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
</description>
        <pubDate>Mon, 09 Oct 2017 00:00:00 +0000</pubDate>
        <link>https://img.higrid.net/2017/10/09/roses-are-red-links-are-blue/</link>
        <guid isPermaLink="true">https://img.higrid.net/2017/10/09/roses-are-red-links-are-blue/</guid>
      </item>
    
      <item>
        <title>New feature: list of tags</title>
        
        <description>&lt;p&gt;The &lt;a href=&quot;/documentation/elements/tag/&quot;&gt;tag&lt;/a&gt; is a small but useful element that can be used in many contexts, to &lt;strong&gt;enhance&lt;/strong&gt; the meaning of the text it’s attached to.&lt;/p&gt;

&lt;p&gt;A tag rarely comes on its own though, so Bulma now supports &lt;a href=&quot;/documentation/elements/tag/#list-of-tags&quot;&gt;list of tags&lt;/a&gt;. The same way you can &lt;a href=&quot;together&quot;&gt;group controls&lt;/a&gt;, you can now &lt;strong&gt;group tags together&lt;/strong&gt; to form a list that can span multiple lines.&lt;/p&gt;

&lt;figure&gt;
  &lt;a href=&quot;https://img.higrid.net/documentation/elements/tag/#list-of-tags&quot;&gt;
    &lt;img src=&quot;https://img.higrid.net/images/blog/list-of-tags.png&quot; alt=&quot;List of tags in CSS&quot; width=&quot;660&quot; height=&quot;401&quot; /&gt;
  &lt;/a&gt;
&lt;/figure&gt;

&lt;p&gt;As a &lt;strong&gt;bonus&lt;/strong&gt;, there is also a &lt;a href=&quot;/documentation/elements/tag/#combinations&quot;&gt;delete tag&lt;/a&gt; available!&lt;/p&gt;
</description>
        <pubDate>Thu, 03 Aug 2017 00:00:00 +0000</pubDate>
        <link>https://img.higrid.net/2017/08/03/list-of-tags/</link>
        <guid isPermaLink="true">https://img.higrid.net/2017/08/03/list-of-tags/</guid>
      </item>
    
      <item>
        <title>Bulma / Bootstrap comparison</title>
        
        <description>&lt;p&gt;Bulma has always been a Bootstrap fan, inspired by its goal and purpose.&lt;/p&gt;

&lt;p&gt;Some users ask why they should use Bulma over Bootstrap, and there is &lt;strong&gt;no definite answer&lt;/strong&gt;, because while both CSS frameworks share &lt;em&gt;similarities&lt;/em&gt;, they also &lt;strong&gt;differ&lt;/strong&gt; in many ways.&lt;/p&gt;

&lt;p&gt;The new page &lt;a href=&quot;https://bulma.io/alternative-to-bootstrap/&quot;&gt;&quot;Alternative to Bootstrap&quot;&lt;/a&gt; draws a &lt;strong&gt;feature comparison&lt;/strong&gt; to help undecided users choose the right tool for their web design needs, which can be either Bulma or Bootstrap.&lt;/p&gt;
</description>
        <pubDate>Tue, 01 Aug 2017 00:00:00 +0000</pubDate>
        <link>https://img.higrid.net/2017/08/01/bulma-bootstrap-comparison/</link>
        <guid isPermaLink="true">https://img.higrid.net/2017/08/01/bulma-bootstrap-comparison/</guid>
      </item>
    
      <item>
        <title>Access previous Bulma versions</title>
        
        <description>&lt;p&gt;It is now possible to &lt;strong&gt;access previous versions&lt;/strong&gt; of Bulma. Just head towards: &lt;a href=&quot;http://versions.bulma.io/&quot;&gt;http://versions.bulma.io/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;While only version &lt;a href=&quot;http://versions.bulma.io/0.4.4/&quot;&gt;0.4.4&lt;/a&gt; is accessible now, each &lt;strong&gt;new release&lt;/strong&gt; will remain available forever.&lt;/p&gt;
</description>
        <pubDate>Mon, 24 Jul 2017 00:00:00 +0000</pubDate>
        <link>https://img.higrid.net/2017/07/24/access-previous-bulma-versions/</link>
        <guid isPermaLink="true">https://img.higrid.net/2017/07/24/access-previous-bulma-versions/</guid>
      </item>
    
      <item>
        <title>New field element (for better controls)</title>
        
        <description>&lt;p&gt;&lt;strong&gt;TL;DR: there’s a new &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.field&lt;/code&gt; container, and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.control&lt;/code&gt; has been re-purposed.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Since the beginning, the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.control&lt;/code&gt; has been a very &lt;strong&gt;versatile&lt;/strong&gt; element that allowed:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;to &lt;strong&gt;space&lt;/strong&gt; controls vertically&lt;/li&gt;
  &lt;li&gt;to include an &lt;strong&gt;icon&lt;/strong&gt; alongside inputs, buttons, textareas…&lt;/li&gt;
  &lt;li&gt;to append a &lt;strong&gt;loading spinner&lt;/strong&gt;&lt;/li&gt;
  &lt;li&gt;to create &lt;strong&gt;horizontal forms&lt;/strong&gt;&lt;/li&gt;
  &lt;li&gt;to create &lt;strong&gt;control addons&lt;/strong&gt;&lt;/li&gt;
  &lt;li&gt;to create &lt;strong&gt;control groups&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;the-problem&quot;&gt;The problem&lt;/h2&gt;

&lt;p&gt;The &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.control&lt;/code&gt; element acted as both a &lt;em&gt;block&lt;/em&gt; container (for spacing, for other controls in a horizontal form), but also an &lt;em&gt;inline&lt;/em&gt; container (for adding an icon, a loader, an addon, and grouping).
It led to issues where you couldn’t:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;add a help text horizontally&lt;/li&gt;
  &lt;li&gt;add multiple icons or loaders in a group of controls&lt;/li&gt;
  &lt;li&gt;add a different icon on addons&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;the-solution&quot;&gt;The solution&lt;/h2&gt;

&lt;p&gt;The new &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.field&lt;/code&gt; element becomes the &lt;strong&gt;block&lt;/strong&gt; container for &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.control&lt;/code&gt; elements. As a result, it inherits the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.has-addons&lt;/code&gt;, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.is-grouped&lt;/code&gt;, and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.is-horizontal&lt;/code&gt; modifiers.&lt;/p&gt;

&lt;p&gt;Furthermore &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.control&lt;/code&gt; element can only contain a &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.button&lt;/code&gt;, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.input&lt;/code&gt;, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.select&lt;/code&gt;, or &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.textarea&lt;/code&gt;, and eventually a &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.icon&lt;/code&gt;. It can &lt;strong&gt;no longer&lt;/strong&gt; contain a &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.help&lt;/code&gt; element or other &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.control&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;But it allows more elaborate designs.&lt;/p&gt;

&lt;figure class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-sass&quot; data-lang=&quot;sass&quot;&gt;&lt;span class=&quot;c1&quot;&gt;// Before&lt;/span&gt;
&lt;span class=&quot;nc&quot;&gt;.control&lt;/span&gt;
  &lt;span class=&quot;nc&quot;&gt;.has-addons&lt;/span&gt;
  &lt;span class=&quot;nc&quot;&gt;.has-icon&lt;/span&gt;
  &lt;span class=&quot;nc&quot;&gt;.is-grouped&lt;/span&gt;
  &lt;span class=&quot;nc&quot;&gt;.is-horizontal&lt;/span&gt;
  &lt;span class=&quot;nc&quot;&gt;.is-loading&lt;/span&gt;

&lt;span class=&quot;c1&quot;&gt;// After&lt;/span&gt;
&lt;span class=&quot;nc&quot;&gt;.control&lt;/span&gt;
  &lt;span class=&quot;nc&quot;&gt;.has-icon&lt;/span&gt;
  &lt;span class=&quot;nc&quot;&gt;.is-loading&lt;/span&gt;
&lt;span class=&quot;nc&quot;&gt;.field&lt;/span&gt;
  &lt;span class=&quot;nc&quot;&gt;.has-addons&lt;/span&gt;
  &lt;span class=&quot;nc&quot;&gt;.is-grouped&lt;/span&gt;
  &lt;span class=&quot;nc&quot;&gt;.is-horizontal&lt;/span&gt;
&lt;span class=&quot;nc&quot;&gt;.field-label&lt;/span&gt;
&lt;span class=&quot;nc&quot;&gt;.field-body&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/figure&gt;

&lt;figure class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-html&quot; data-lang=&quot;html&quot;&gt;&lt;span class=&quot;c&quot;&gt;&amp;lt;!-- Before --&amp;gt;&lt;/span&gt;
&lt;span class=&quot;nt&quot;&gt;&amp;lt;label&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;class=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;label&quot;&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;&amp;gt;&lt;/span&gt;Username&lt;span class=&quot;nt&quot;&gt;&amp;lt;/label&amp;gt;&lt;/span&gt;
&lt;span class=&quot;nt&quot;&gt;&amp;lt;p&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;class=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;control has-icon has-icon-right&quot;&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;&amp;gt;&lt;/span&gt;
  &lt;span class=&quot;nt&quot;&gt;&amp;lt;input&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;class=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;input is-success&quot;&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;type=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;text&quot;&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;placeholder=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;Text input&quot;&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;value=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;bulma&quot;&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;&amp;gt;&lt;/span&gt;
  &lt;span class=&quot;nt&quot;&gt;&amp;lt;span&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;class=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;icon is-small&quot;&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;&amp;gt;&lt;/span&gt;
    &lt;span class=&quot;nt&quot;&gt;&amp;lt;i&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;class=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;fas fa-check&quot;&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;&amp;gt;&amp;lt;/i&amp;gt;&lt;/span&gt;
  &lt;span class=&quot;nt&quot;&gt;&amp;lt;/span&amp;gt;&lt;/span&gt;
  &lt;span class=&quot;nt&quot;&gt;&amp;lt;span&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;class=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;help is-success&quot;&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;&amp;gt;&lt;/span&gt;This username is available&lt;span class=&quot;nt&quot;&gt;&amp;lt;/span&amp;gt;&lt;/span&gt;
&lt;span class=&quot;nt&quot;&gt;&amp;lt;/p&amp;gt;&lt;/span&gt;

&lt;span class=&quot;c&quot;&gt;&amp;lt;!-- After --&amp;gt;&lt;/span&gt;
&lt;span class=&quot;nt&quot;&gt;&amp;lt;div&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;class=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;field&quot;&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;&amp;gt;&lt;/span&gt;
  &lt;span class=&quot;nt&quot;&gt;&amp;lt;label&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;class=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;label&quot;&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;&amp;gt;&lt;/span&gt;Username&lt;span class=&quot;nt&quot;&gt;&amp;lt;/label&amp;gt;&lt;/span&gt;
  &lt;span class=&quot;nt&quot;&gt;&amp;lt;p&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;class=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;control has-icon has-icon-right&quot;&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;&amp;gt;&lt;/span&gt;
    &lt;span class=&quot;nt&quot;&gt;&amp;lt;input&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;class=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;input is-success&quot;&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;type=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;text&quot;&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;placeholder=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;Text input&quot;&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;value=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;bulma&quot;&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;&amp;gt;&lt;/span&gt;
    &lt;span class=&quot;nt&quot;&gt;&amp;lt;span&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;class=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;icon is-small&quot;&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;&amp;gt;&lt;/span&gt;
      &lt;span class=&quot;nt&quot;&gt;&amp;lt;i&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;class=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;fas fa-check&quot;&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;&amp;gt;&amp;lt;/i&amp;gt;&lt;/span&gt;
    &lt;span class=&quot;nt&quot;&gt;&amp;lt;/span&amp;gt;&lt;/span&gt;
  &lt;span class=&quot;nt&quot;&gt;&amp;lt;/p&amp;gt;&lt;/span&gt;
  &lt;span class=&quot;nt&quot;&gt;&amp;lt;p&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;class=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;help is-success&quot;&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;&amp;gt;&lt;/span&gt;This username is available&lt;span class=&quot;nt&quot;&gt;&amp;lt;/p&amp;gt;&lt;/span&gt;
&lt;span class=&quot;nt&quot;&gt;&amp;lt;/div&amp;gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/figure&gt;

&lt;h2 id=&quot;examples&quot;&gt;Examples&lt;/h2&gt;

&lt;p&gt;Addons with multiple icons or states.&lt;/p&gt;

&lt;div class=&quot;field is-grouped&quot;&gt;
  &lt;p class=&quot;control is-expanded has-icon&quot;&gt;
    &lt;input class=&quot;input is-success&quot; type=&quot;text&quot; placeholder=&quot;Username&quot; value=&quot;alexsmith&quot; /&gt;
    &lt;span class=&quot;icon is-small&quot;&gt;
      &lt;i class=&quot;fas fa-check&quot;&gt;&lt;/i&gt;
    &lt;/span&gt;
  &lt;/p&gt;
  &lt;p class=&quot;control is-expanded has-icon&quot;&gt;
    &lt;input class=&quot;input is-warning&quot; type=&quot;email&quot; placeholder=&quot;Email&quot; value=&quot;alex@smith.com&quot; /&gt;
    &lt;span class=&quot;icon is-small&quot;&gt;
      &lt;i class=&quot;fas fa-exclamation-triangle&quot;&gt;&lt;/i&gt;
    &lt;/span&gt;
  &lt;/p&gt;
  &lt;p class=&quot;control is-expanded is-loading&quot;&gt;
    &lt;input class=&quot;input&quot; type=&quot;email&quot; placeholder=&quot;Name&quot; /&gt;
  &lt;/p&gt;
&lt;/div&gt;

&lt;p&gt;Horizontal form with help text&lt;/p&gt;

&lt;div class=&quot;field is-horizontal&quot;&gt;
  &lt;div class=&quot;field-label&quot;&gt;
    &lt;label class=&quot;label&quot;&gt;From&lt;/label&gt;
  &lt;/div&gt;
  &lt;div class=&quot;field-body&quot;&gt;
    &lt;div class=&quot;field is-grouped&quot;&gt;
      &lt;p class=&quot;control is-expanded&quot;&gt;
        &lt;input class=&quot;input&quot; type=&quot;text&quot; placeholder=&quot;Name&quot; /&gt;
      &lt;/p&gt;
    &lt;/div&gt;
    &lt;div class=&quot;field&quot;&gt;
      &lt;p class=&quot;control is-expanded has-icon has-icon-right&quot;&gt;
        &lt;input class=&quot;input is-success&quot; type=&quot;email&quot; placeholder=&quot;Email&quot; value=&quot;alex@smith.com&quot; /&gt;
        &lt;span class=&quot;icon is-small&quot;&gt;
          &lt;i class=&quot;fas fa-check&quot;&gt;&lt;/i&gt;
        &lt;/span&gt;
      &lt;/p&gt;
      &lt;p class=&quot;help is-success&quot;&gt;This email is correct&lt;/p&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;
</description>
        <pubDate>Fri, 10 Mar 2017 00:00:00 +0000</pubDate>
        <link>https://img.higrid.net/2017/03/10/new-field-element/</link>
        <guid isPermaLink="true">https://img.higrid.net/2017/03/10/new-field-element/</guid>
      </item>
    
      <item>
        <title>Metro UI CSS grid with Bulma tiles</title>
        
        <description>&lt;p&gt;Have you ever wanted to build a &lt;strong&gt;Metro-UI-like grid in CSS&lt;/strong&gt;?
Thanks to Flexbox and the new &lt;a href=&quot;https://bulma.io/documentation/layout/tiles/&quot;&gt;Bulma tiles&lt;/a&gt;, you now can! And it only requires 1 HTML element: the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;tile&lt;/code&gt; element.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://bulma.io/documentation/layout/tiles/&quot;&gt;&lt;img src=&quot;/images/blog/metro-ui-css-grid-tiles.png&quot; alt=&quot;Metro UI grid tiles in CSS&quot; /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Check out the &lt;a href=&quot;https://bulma.io/documentation/layout/tiles/&quot;&gt;documentation&lt;/a&gt;!&lt;/p&gt;
</description>
        <pubDate>Mon, 11 Apr 2016 00:00:00 +0000</pubDate>
        <link>https://img.higrid.net/2016/04/11/metro-ui-css-grid-with-bulma-tiles/</link>
        <guid isPermaLink="true">https://img.higrid.net/2016/04/11/metro-ui-css-grid-with-bulma-tiles/</guid>
      </item>
    
  </channel>
</rss>
