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.
grid-style
Advanced tools
CSS grid layout which is based on 12 preset columns layout implemented by flex box.
👉Browse online
# npm
npm i gird-style --save
# yarn
yarn add grid-style
<!-- CDN-->
<script type="text/javascript" src="https://unpkg.com/grid-style"></script>
<!-- or -->
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/grid-style"></script>
<!-- recommend you to add version number to url ending. eg.https://unpkg.com/grid-style@x.y.z -->
// import css file to js file
import 'grid-style'
// a sass alternative to css file
import 'grid-style/layout/index.sass'
/* import css file to your own css file */
@import 'grid-style';
/* or */
/* import sass file to your own sass file */
@import 'grid-style/layout/index.sass'
Selector | description |
---|---|
.gird | flex box container |
.grid.no-wrap | disallowed wrap flex item |
.gird.col | column direction |
.gird.row | row direction |
.gird-cell | define default flex grow factor value of a flex item |
.grid.grid-cell-1 ~ 12 | define single flex item width (based on 1/12 container width ) |
Selector | description |
---|---|
.grid-top | define alignment per row to top-aligned |
.grid-center | define alignment per row to vertically-centered |
.grid-bottom | define alignment per row to bottom-aligned |
.grid-cell-top | define alignment per item to top-aligned |
.grid-cell-center | define alignment per item to vertically-centered |
.grid-cell-bottom | define alignment per item to bottom-aligned |
Selector | description |
---|---|
.grid[grid-gutters="1 ~ 5"] | define flex item gutter (based on .5em ) |
Selector | description |
---|---|
.grid.offset-'1 ~ 12' | define flex item offset (based on 1/12 container width ) |
Notice: This section define properties to all flex item (.grid-cell
* n) from one flex container(.grid
* 1).
Selector | description |
---|---|
.grid-full ~ 2, 3, 4 > .grid-cell | define all flex item width from same flex container |
.small-grid-fit, full, 2, 3, 4 > .grid-cell | same as .grid-full ~ 2, 3, 4 > .grid-cell , but it only works on device which width over 576px |
.large-grid-fit, full, 2, 3, 4 > .grid-cell | same as .grid-full ~ 2, 3, 4 > .grid-cell , but it only works on device which width over 768px |
0.2.1 (2018-07-30)
<a name="0.2.0"></a>
FAQs
Grid layout implemented by flex box.
The npm package grid-style receives a total of 14 weekly downloads. As such, grid-style popularity was classified as not popular.
We found that grid-style 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.