🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

css-fx-layout

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

css-fx-layout - npm Package Compare versions

Package version was removed
This package version has been unpublished, mostly likely due to security reasons

Comparing version

to
1.1.0

src/lib/flex.scss

9

package.json
{
"name": "css-fx-layout",
"version": "1.0.1",
"version": "1.1.0",
"description": "A lightweight SCSS only flexbox library inspired by Angular's flex-layout.",
"repository": "https://github.com/philmtd/css-fx-layout",
"scripts": {
"build": "gulp sass"
"build": "node build.js"
},

@@ -14,7 +14,4 @@ "author": "Philip Dakowitz",

"devDependencies": {
"gulp": "4.0.2",
"gulp-sass": "4.0.2",
"node-sass": "4.12.0",
"gulp-sourcemaps": "2.6.5"
"sass": "^1.57.1"
}
}

@@ -1,6 +0,8 @@

[![Build Status](https://travis-ci.com/philmtd/css-fx-layout.svg?token=eyZ7Sz2wcY1Ps8Nx2ib7&branch=master)](https://travis-ci.com/philmtd/css-fx-layout) [![npm version](https://badge.fury.io/js/css-fx-layout.svg)](https://www.npmjs.com/package/css-fx-layout)
# css-fx-layout
This is a lightweight SCSS/CSS only flexbox library inspired by Angular's [flex-layout](https://github.com/angular/flex-layout).
[![CircleCI](https://circleci.com/gh/philmtd/css-fx-layout/tree/master.svg?style=svg)](https://circleci.com/gh/philmtd/css-fx-layout/tree/master) [![npm version](https://badge.fury.io/js/css-fx-layout.svg)]
This is a lightweight SCSS/CSS only flexbox library. It is inspired by Angular's [flex-layout](https://github.com/angular/flex-layout) and can replace the
most popular functions of the (by now deprecated) Angular library.
## Features

@@ -18,2 +20,3 @@

* `data-hide-` and `data-show-` attributes which can be used to show/hide elements depending on the screen size
* `data-fx-flex` and `data-fx-flex-grow`

@@ -25,4 +28,5 @@ ### CSS classes

* `.fx-layout-` and `.fx-align-` CSS classes to control the flexbox container
* `.fx-gap-` CSS classes to add margin between the elements in a flex container
* `.fx-gap--` CSS classes to add margin between the elements in a flex container
* `.show-` and `.hide-` CSS classes which can be used to show/hide elements depending on the screen size
* `.fx-flex` and `.fx-glex-grow`

@@ -98,4 +102,3 @@ ## Examples

At work I use Angular (and Angular flex-layout) a lot and I've come to like the convenient layout directives Angular flex-layout offers.
Recently I found myself creating a plain static website and I wanted to make sure it works without unnecessary JavaScript. As I didn't use Angular or any other JS framework,
I had to either layout everything in (S)CSS or create a library that tries to provide a similar experience to what I liked from Angular's flex-layout. This was when I created this.
Initially I created this library because I liked the convenient syntax of Angular flex-layout and wanted to use it in non-Angular projects.
By now Angular flex-layout has been deprecated and this library can be a replacement for most of the popular parts.

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet