All Projects → zessx → sass-flexbox

zessx / sass-flexbox

Licence: MIT license
Manage Flexbox in Sass easily.

Programming Languages

CSS
56736 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to sass-flexbox

Katana
Katana is CSS Layout System made with Flexbox
Stars: ✭ 57 (+42.5%)
Mutual labels:  flex, flexbox
Sprite Flex Layout
grid-layout is a layout engine which implements flex, can use in canvas/node-canvas
Stars: ✭ 15 (-62.5%)
Mutual labels:  flex, flexbox
React Flexview
A powerful React component to abstract over flexbox and create any layout on any browser
Stars: ✭ 276 (+590%)
Mutual labels:  flex, flexbox
flexboxes
CSS flexbox framework with pure flexbox grid ability
Stars: ✭ 27 (-32.5%)
Mutual labels:  flex, flexbox
Flex.css
flex.css is declarative layout which is compatible with wechat, UC, webview and other main-stream mobile browser and surpports react, vue, angular.
Stars: ✭ 1,537 (+3742.5%)
Mutual labels:  flex, flexbox
Core Layout
Flexbox & CSS-style Layout in Swift.
Stars: ✭ 215 (+437.5%)
Mutual labels:  flex, flexbox
React Three Flex
💪📦 Flexbox for react-three-fiber
Stars: ✭ 764 (+1810%)
Mutual labels:  flex, flexbox
flexui
A light UI for C++ with XML and CSS support
Stars: ✭ 21 (-47.5%)
Mutual labels:  flex, flexbox
Flexy
Flexy is minimal CSS framework made with Flex
Stars: ✭ 114 (+185%)
Mutual labels:  flex, flexbox
Infinity Css Grid
Fluid Flex Solution for making infinite grid columns.
Stars: ✭ 112 (+180%)
Mutual labels:  flex, flexbox
react-styled-flexbox
A Flexbox React component harnessing the power of styled-components
Stars: ✭ 30 (-25%)
Mutual labels:  flex, flexbox
Flexible Grid
Flexible grid layouts to get you familiar with building within the flexible grid system.(HTML, CSS, SASS, SCSS)
Stars: ✭ 154 (+285%)
Mutual labels:  flex, flexbox
Waffle Grid
An easy to use flexbox grid system.
Stars: ✭ 602 (+1405%)
Mutual labels:  flex, flexbox
Lbrnmeituan
ReactNative 仿美团项目
Stars: ✭ 84 (+110%)
Mutual labels:  flex, flexbox
React Flexa
Responsive React Flexbox (CSS Flexible Box Layout Module) grid system based heavily on the standard CSS API.
Stars: ✭ 120 (+200%)
Mutual labels:  flex, flexbox
Flexulator
A visual flexbox space distribution calculator
Stars: ✭ 171 (+327.5%)
Mutual labels:  flex, flexbox
react-twitter-clone
MaterialUI (for icons and flexbox), React (for building), CSS (for styling), Firebase (for deploying online), npm (for animations in tweet)
Stars: ✭ 25 (-37.5%)
Mutual labels:  flexbox
Bootstrap 4 Grid
Bootstrap 4 grid system and layout utilities.
Stars: ✭ 251 (+527.5%)
Mutual labels:  flex
material2-admin
Angular - Material2 - Redux - Flex - Admin Example - Starter
Stars: ✭ 13 (-67.5%)
Mutual labels:  flex
VTree
VirtualDOM for Swift (iOS, macOS)
Stars: ✭ 89 (+122.5%)
Mutual labels:  flexbox

Downloads Version License

SassFlexbox

Sass Flexbox logo

Manage Flexbox in Sass easily.

Configuration

npm install sass-flexbox --save 

# or 

bower install zessx-sass-flexbox
@import 'whatever/path/to/modules/sass-flexbox'

Usage

SassFlexbox comes with a bunch of placeholders and mixins to help you use Flexbox without worrying about vendor prefixes. Whenever possible, extend placeholders are provided to allow you to not create so much duplicated code. Since they don't always work though (sass doesn't allow @extend in @media queries), there are also mixins available for all the shorthands.

Since some flexbox values are set with numbers or other measurements, there aren't useful predefined values for them, so there aren't any extend placeholders defined.

Display

  • @mixin display-flex
  • @mixin display-inline-flex
  • %display-flex
  • %display-inline-flex

Flex direction

  • @mixin flex-direction($direction: row)
  • @mixin flex-direction-row
  • @mixin flex-direction-row-reverse
  • @mixin flex-direction-column
  • @mixin flex-direction-column-reverse
  • @mixin flex-direction-inherit
  • %flex-direction-row
  • %flex-direction-row-reverse
  • %flex-direction-column
  • %flex-direction-column-reverse
  • %flex-direction-inherit

Flex wrap

  • @mixin flex-wrap($wrap: nowrap)
  • @mixin flex-wrap-nowrap
  • @mixin flex-wrap-wrap
  • @mixin flex-wrap-wrap-reverse
  • @mixin flex-wrap-inherit
  • %flex-wrap-nowrap
  • %flex-wrap-wrap
  • %flex-wrap-wrap-reverse
  • %flex-wrap-inherit

Order

  • @mixin order($order: 0)

Flex flow

  • @mixin flex-flow($direction: row, $wrap: nowrap)

Flex grow

  • @mixin flex-grow($grow: 0)

Flex shrink

  • @mixin flex-shrink($shrink: 1)

Flex basis

  • @mixin flex-basis($basis: auto)

Flex

  • @mixin flex($grow: 0, $shrink: 1, $basis: auto)

Justify content

  • @mixin justify-content($justify: flex-start)
  • @mixin justify-content-flex-start
  • @mixin justify-content-flex-end
  • @mixin justify-content-center
  • @mixin justify-content-space-between
  • @mixin justify-content-space-around
  • @mixin justify-content-inherit
  • %justify-content-flex-start
  • %justify-content-flex-end
  • %justify-content-center
  • %justify-content-space-between
  • %justify-content-space-around
  • %justify-content-space-evenly
  • %justify-content-inherit

Align items

  • @mixin align-items($align: stretch)
  • @mixin align-items-flex-start
  • @mixin align-items-flex-end
  • @mixin align-items-center
  • @mixin align-items-baseline
  • @mixin align-items-stretch
  • @mixin align-items-inherit
  • %align-items-flex-start
  • %align-items-flex-end
  • %align-items-center
  • %align-items-baseline
  • %align-items-stretch
  • %align-items-inherit

Align self

  • @mixin align-self($align: auto)
  • @mixin align-self-auto
  • @mixin align-self-flex-start
  • @mixin align-self-flex-end
  • @mixin align-self-center
  • @mixin align-self-baseline
  • @mixin align-self-stretch
  • @mixin align-self-inherit
  • %align-self-auto
  • %align-self-flex-start
  • %align-self-flex-end
  • %align-self-center
  • %align-self-baseline
  • %align-self-stretch
  • %align-self-inherit

Align content

  • @mixin align-content($align: stretch)
  • @mixin align-content-flex-start
  • @mixin align-content-flex-end
  • @mixin align-content-center
  • @mixin align-content-space-between
  • @mixin align-content-space-around
  • @mixin align-content-stretch
  • @mixin align-content-inherit
  • %align-content-flex-start
  • %align-content-flex-end
  • %align-content-center
  • %align-content-space-between
  • %align-content-space-around
  • %align-content-space-evenly
  • %align-content-stretch
  • %align-content-inherit

Developing Locally

This package includes options to compile local sass files to spot check them, or to run tests with sassaby.

First run npm install to download dev dependencies.

To quickly spot-check anything you add or change, run npm run output-dev. It will compile the ./dev/_dev.sass file to ./dev/output.css.

To run tests, run npm test. Tests are written in ./test/index.js.

Sources

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].