Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

grid-style

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grid-style - npm Package Compare versions

Comparing version 0.3.3 to 1.0.0

10

CHANGELOG.md

@@ -0,1 +1,11 @@

<a name="0.3.3"></a>
## [0.3.3](https://github.com/lbwa/grid-style/compare/v0.3.2...v0.3.3) (2018-08-02)
### Bug Fixes
* correct wrong gutter params ([e2119d7](https://github.com/lbwa/grid-style/commit/e2119d7))
<a name="0.3.2"></a>

@@ -2,0 +12,0 @@ ## [0.3.2](https://github.com/lbwa/grid-style/compare/v0.3.1...v0.3.2) (2018-08-01)

2

package.json
{
"name": "grid-style",
"version": "0.3.3",
"version": "1.0.0",
"description": "Grid layout implemented by flex box.",

@@ -5,0 +5,0 @@ "main": "dist/index.css",

@@ -112,3 +112,3 @@ # grid-style [![npm](https://img.shields.io/npm/v/grid-style.svg)](https://www.npmjs.com/package/grid-style) [![Build Status](https://travis-ci.org/lbwa/grid-style.svg?branch=master)](https://travis-ci.org/lbwa/grid-style)

| -------- | ------ | ----------- |
| .grid[grid-gutters="1"] ~ .grid[grid-gutters="5"] | container | define item gutter (based on `.5em`) |
| .grid[grid-gutters="1"] ~ .grid[grid-gutters="10"] | container | define item gutter (based on `.5em`) |

@@ -152,2 +152,14 @@ ## Offset

| .grid-4 | container | define all item (`25%` container width) width from same container |
| .grid-sm-1 ~ .grid-sm-12 | item | define single item width (`8.3333% ~ 100%` container width) under device width over `576px` |
| .grid-md-1 ~ .grid-md-12 | item | define single item width (`8.3333% ~ 100%` container width) under device width over `768px` |
| .grid-lg-1 ~ .grid-lg-12 | item | define single item width (`8.3333% ~ 100%` container width) under device width over `992px` |
| .grid-xl-1 ~ .grid-xl-12 | item | define single item width (`8.3333% ~ 100%` container width) under device width over `1200px` |
If you are using version `0.3.x` :
| selector | target | description |
| -------- | ------ | ----------- |
| .grid-full | container | define all item (`100%` container width) width from same container |
| .grid-2 | container | define all item (`50%` container width) width from same container |
| .grid-3 | container | define all item (`33.3333%` container width) width from same container |
| .grid-4 | container | define all item (`25%` container width) width from same container |
| .small-grid-fit | container | define `flex: 1` , but it only works on device which width over `576px` |

@@ -154,0 +166,0 @@ | .small-grid-full | container | same as `.grid-full` , but it only works on device which width over `576px` |

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc