Bulma: [Question] How to add columns dynamically and make them wrap?

Created on 29 Jul 2017  路  8Comments  路  Source: jgthms/bulma

Overview

This is about the Bulma CSS framework
I'm using Bulma version 0.4.4
My browser is: Chrome (I'm using it in Electron)
It is not a duplicate AFAIK.

Description

I'm adding a div with column class inside a parent div with columns class, based on a user's action. The parent div is:

    <div id="parent" class="columns">

and each child is something like

```html

...

````

What I'm trying to achieve is to have 4 columns in each line; then, whenever I add the 5th, it I want it to go to the next line.

I'm not sure if columns and column are the right choice here and didn't find my answer here or in the documentation.

Is what I'm trying to achieve possible? If yes, how?

Most helpful comment

All 8 comments

Oh, thanks :)

thanks)))

Thanks, In Bulma did they missed to mention it?

thanks

Thanks, In Bulma did they missed to mention it?

It's available here: https://bulma.io/documentation/columns/options/#multiline ,

I wish they had a single page to showcase all the features. It is difficult to navigate the documentation.

@TheBlueSky I'm quite new to frontend. Is it possible for you to share some code snippet of adding columns and/or rows according to users action? Thanks!

it's not working for dynamic data when i am pushing multiple columns using javasctipt

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dotMastaz picture dotMastaz  路  3Comments

fundon picture fundon  路  3Comments

leofontes picture leofontes  路  3Comments

NurdinDev picture NurdinDev  路  3Comments

Cosbgn picture Cosbgn  路  3Comments