npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

bootstrap-multi-direction

v2.0.8

Published

Bootstrap scss version 4 multi direction support both RTL-LTR directions.

Downloads

7

Readme

Welcome to Bootstrap multi direction

this npm package is build for bootstrap 4 scss

File Structure of the package

| bootstrap-multi-direction
|   - dist/
|       - css/
|           -bootstrap.css
|           -bootstrap.min.css
|           -bootstrap.min.css.map
|           -bootstrap-rtl.css
|           -bootstrap-rtl.min.css.map
|   - scss/
|       - mixins/
|       - utilities/
|       - ...
|       - ...
|       - bootstrap.scss
|       - bootstrap-rtl.scss
|   - gulpfile.js
|   - .gitignore
|   - _config.yml
|   - gulpfile.js
|   - LICENSE
|   - package.json
|   - README.md
|   - yarn.lock

Install

all You need to do is to run one ot these commands in your terminal in the project root

  • Using NPM npm i bootstrap-multi-direction -save
  • Using Yarn yarn add bootstrap-multi-direction

Usage

IF you need to use the hole file

Use any of these two files with LTR direction sites

  • un-minified version @import '~bootstrap-multi-direction/dist/bootstrap.css'
  • minified version @import '~bootstrap-multi-direction/dist/bootstrap.min.css'

Use any of these two files with RTL direction sites

  • un-minified version @import '~bootstrap-multi-direction/dist/bootstrap-rtl.css'
  • minified version @import '~bootstrap-multi-direction/dist/bootstrap-rtl.min.css'

IF you need to use only some components

all you have to do is just import the component in your style.scss

style.scss

@import '~bootstrap-multi-direction/scss/alert.scss'

@import '~bootstrap-multi-direction/scss/card.scss'

@import '~bootstrap-multi-direction/scss/grid.scss'

if you need to make an rtl file just in your

style-rtl.scss

$direction:rtl;
@import 'style.scss';

IF you need to use the same dir variable as bootstrap uses

  • Example
div{
float: $default;
} 
//this will be in LTR 
div{
float: left;
} 
//this will be in RTL
div{
float: right;
} 
div{
float: $opposite;
} 
//this will be in LTR 
div{
float: right;
} 
//this will be in RTL
div{
float: left;
} 

IF You need a build tool with boilerplate for bootstrap4 font awesome 5 feel free to visit this link you will see more in here

bootstrap4-playground