bulma

Bulma Carousel not responding

谁都会走 提交于 2019-12-24 00:10:04
问题 I am trying to incorporate the bulma carousel to my react application but it seems that its not going to work. I have tried implementing it using Bulma Carousel this documentation as well but still it doesn't seems to work. Here is my code, Feel free to point out where to do things correct to work it. index.html <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico"> <meta name="viewport" content="width=device-width, initial

Bulma: How can I define the stack order on mobile devices

随声附和 提交于 2019-12-21 21:34:18
问题 I am taking the Bulma flexbox css framework for a spin - so far its pretty neat! The only stumbling block I've found is that I can't seem to set the display order for mobile devices. <div class="columns"> <div class="column foo">Foo</div> <div class="column bar">Bar</div> // Would like this to be first on small deviecs </div> EDIT Here is what my css looks like: body, html { background-color: blue; } .foo { order: 2; } .bar { order: 1; } @media only screen and (min-width: 769px) { body, html

How to set column height equal in few rows Bulma (flexbox)?

a 夏天 提交于 2019-12-12 22:47:58
问题 I'm using Bulma 0.4.0, though the answer may not be associated with Bulma itself. How can I set column height equal to others? (see codepen below) Notice they are all in another column container, and there are few rows of those columns. Expected behaviour: (woah i made optical illusion) https://codepen.io/anon/pen/JNKexr <html> <head> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.4.0/css/bulma.css" /> </head> <body> <div class="columns"> <div class="column">

How to customize bulma variables in rails

风流意气都作罢 提交于 2019-12-12 08:09:41
问题 I'm using the bulma rails gem and I Want to customize some of the variables it uses, specifically the font color. According to the bulma docs http://bulma.io/documentation/overview/customize/ I should do something like this: // 1. Import the initial variables @import "../sass/utilities/initial-variables" // 2. Set your own initial variables // Update blue $blue: #72d0eb // Add pink and its invert $pink: #ffb3b3 $pink-invert: #fff // Add a serif family $family-serif: "Merriweather", "Georgia",

Bulma navbar and VueJS router active link

[亡魂溺海] 提交于 2019-12-11 16:30:41
问题 I've started using Bulma 0.7.1 and VueJs 2.5.17 . Now, I'm using Vue router component and I'd like to make the buttons in the navigation bar to be set as active whenever I'm on the "page" represented by the link. My code is the following <template> <div id="app"> <nav class="navbar" role="navigation" aria-label="main navigation" id="nav"> <div class="container"> <div id="navMenu" class="navbar-menu"> <div class="navbar-end"> <a class="navbar-item is-active"> <router-link to="/" exact>Home<

How to set column height equal to longest column in Bulma (flexbox)?

六月ゝ 毕业季﹏ 提交于 2019-12-08 17:23:14
问题 I'm using Bulma 0.4.0, though the answer may not be associated with Bulma itself. How can I set column height equal to others? (see screenshots below) Edit: codepen with more text that presents actual behavior: https://codepen.io/anon/pen/vmKVbx Expected behavior: Actual behavior: <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.4.0/css/bulma.css" /> <div class="columns"> <div class="column"> <p class="notification is-info">First column</p> </div> <div class="column

Bulma - Show Uncollapsed Navbar on Tablet

流过昼夜 提交于 2019-12-08 01:14:30
问题 In the following runnable code snippet I have setup a basic Bulma layout with a navbar. The navbar is breaking to hamburger very early for the amount/size of links I have. How can I make this break on smaller screens only? e.g. Hamburger only on phones. (function() { let burger = document.querySelector('.burger'); let nav = document.querySelector('#' + burger.dataset.target); burger.addEventListener('click', function() { burger.classList.toggle('is-active'); nav.classList.toggle('is-active');

Bulma - Show Uncollapsed Navbar on Tablet

≡放荡痞女 提交于 2019-12-06 12:32:49
In the following runnable code snippet I have setup a basic Bulma layout with a navbar. The navbar is breaking to hamburger very early for the amount/size of links I have. How can I make this break on smaller screens only? e.g. Hamburger only on phones. (function() { let burger = document.querySelector('.burger'); let nav = document.querySelector('#' + burger.dataset.target); burger.addEventListener('click', function() { burger.classList.toggle('is-active'); nav.classList.toggle('is-active'); }); })(); <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width

Center elements vertically in Bulma

纵饮孤独 提交于 2019-12-06 02:49:25
问题 I just started setting up my blog prototype with Bulma. There is a footer section with two equally divided columns. I'd like the three items (Twitter, Email, etc.) to be vertically centered in the yellow area. Is there any special class for that available in Bulma? (Please see the full example on codepen.io.) <footer class="footer" style="background-color: lightpink;"> <div class="columns"> <div class="column has-text-centered-touch" style="background-color: cyan;"> <p>Some copyright stuff...

I'm trying to use hamburger menu on bulma css, but it doesn't work. What is wrong?

僤鯓⒐⒋嵵緔 提交于 2019-12-04 16:20:10
问题 I'm new on bulma css http://bulma.io/ I'm trying to use hamburger menu for mobile user. I just followed instruction on this page: http://bulma.io/documentation/components/nav/ But it doesn't work. What should I add ? Actually, I can see hamburger menu, but it doesn't work when I am click it. Thank you. <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1"> <title>test</title> <link rel="stylesheet" href="css