New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

flexbox.css

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

flexbox.css

弹性盒子CSS预设类名

latest
Source
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source
Installation
npm install flexbox.css --save
Api
require('flexbox.css');
CSS Class
.flex-row               // 主轴为x轴,弹性元素垂直居中
.flex-row-between       // 主轴为x轴,弹性元素两端对齐,适合做app头部,左端(返回),中部(标题),右端(链接)
.flex-column            // 主轴为y轴,弹性元素垂直居中
.flex-column-between    // 主轴为y轴,弹性元素两端对齐
.flex-center            // 弹性元素水平垂直居中
.flex-item-scroll-x         // 弹性元素flex:1,且设置了overflow-x: auto;
.flex-item-scroll-y         // 弹性元素flex:1,且设置了overflow-y: auto;

.flex-cell              // 删格布局,支持10列,flex-wrap:wrap;
.flex-cell .col-1       // 弹性元素width:100%;
.flex-cell .col-2       // 弹性元素width:50%; 以此类推
.flex-cell .col-3       // ...
.flex-cell .col-4
.flex-cell .col-5
.flex-cell .col-6
.flex-cell .col-7
.flex-cell .col-8
.flex-cell .col-9
.flex-cell .col-10

Keywords

flex

FAQs

Package last updated on 01 May 2017

Did you know?

Socket

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.

Install

Related posts