Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
bulma-fab-button
Advanced tools
A Bulma's extension for FABs (Floating Action Buttons).
npm i bulma-fab-button
You can import the .css or .sass file into your project after importing Bulma:
@import '../node_modules/bulma-fab-button/src/bulma-fab-button.sass';
Basic usage:
<a href="#" class="button is-floating is-primary">
<i class="fas fa-shopping-cart"></i>
</a>
You can use colors like any other Bulma component:
<a href="#" class="button is-floating is-primary">
<i class="fas fa-shopping-cart"></i>
</a>
<a href="#" class="button is-floating is-dark">
<i class="fas fa-shopping-cart"></i>
</a>
<a href="#" class="button is-floating is-success">
<i class="fas fa-shopping-cart"></i>
</a>
<a href="#" class="button is-floating is-info">
<i class="fas fa-shopping-cart"></i>
</a>
<a href="#" class="button is-floating is-danger">
<i class="fas fa-shopping-cart"></i>
</a>
<a href="#" class="button is-floating is-light">
<i class="fas fa-shopping-cart"></i>
</a>
Also size modifiers (.is-large
, .is-small
):
<a href="#" class="button is-floating is-small">
<i class="fas fa-shopping-cart"></i>
</a>
<a href="#" class="button is-floating is-large">
<i class="fas fa-shopping-cart"></i>
</a>
And position modifiers (.is-left
, .is-centered
, .is-right
):
<a href="#" class="button is-floating is-left">
<i class="fas fa-shopping-cart"></i>
</a>
<a href="#" class="button is-floating is-centered">
<i class="fas fa-shopping-cart"></i>
</a>
<a href="#" class="button is-floating is-right">
<i class="fas fa-shopping-cart"></i>
</a>
For options available, take a look at the
_initial-variables.sass
file.
// Customize
$fab-circle-size: 4rem; // default: 3.75rem
$fab-h-space: 1rem; // default: 1.25rem
$fab-v-space: 1rem; // default: 1.25rem
// Then import
@import '../node_modules/bulma-fab-button/src/bulma-fab-button.sass';
Code copyright 2020 José Olórtegui. Code released under the MIT license.
FAQs
FAB (Floating Action Buttons) for Bulma
We found that bulma-fab-button demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.