Book Image

Creating Interfaces with Bulma

By : Jeremy Thomas, Oleksii Potiekhin, Mikko Lauhakari, Aslam Shah, Dave Berning
Book Image

Creating Interfaces with Bulma

By: Jeremy Thomas, Oleksii Potiekhin, Mikko Lauhakari, Aslam Shah, Dave Berning

Overview of this book

Bulma is a lightweight configurable CSS framework that handles all the hard work of Flexbox for you. Bulma makes creating web interfaces an easy and interesting job. This book begins with an overview of the basics of Bulma ? its terms and its concepts. Then, while designing a login page for your application, you’ll learn how to use the various tools provided by Bulma to create HTML forms and control their layout and flow. In the later chapters, you’ll design an admin area for your application, thus learning to use Bulma’s navigation and menu components. You will also add the components to your user interface for common things such as boxes, lists, and media groups, and then create pagination. As you progress through the book, you’ll create and layout some other components for your interface, including tables, design dropdown lists, and finally to integrate your web application with JavaScript. By the end of this book, you’ll be able to use the features of Bulma to your advantage and build web interfaces quickly and easily.
Table of Contents (15 chapters)
8
8. Creating more tables and selecting dropdowns

Columns

Flexbox is a one-dimensional grid system, providing you with either rows or columns. In Bulma, you develop websites with columns in mind and wrap your columns inside a row or wrapper. Here is the most basic functionality of Bulma.

You start off with a columns row.

<div class="columns">

</div>

Inside of the columns row, you can add a single column or as many as you like. Bulma and Flexbox size your column depending on the number of columns added in a columns row.

<div class="columns">
  <div class="column">

  </div>
</div>

In this example, the column is 100% of the browser width, because there is only one column.

<div class="columns">
  <div class="column">

  </div>

  <div class="column">

  </div>
</div>

Now, each column is not 50%. This was explained briefly in the introduction, but it’s worth mentioning again. The more columns you...