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

wang-layout

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

wang-layout

flex、grid、伸缩盒子布局css代码库

latest
npmnpm
Version
1.0.2
Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

介绍

一个flex布局css类库,用于简化项目flex布局代码书写量

安装

npm i easy-layout -S

使用

在项目 main.js 文件引入,就可以全局使用了

import "easy-layout"

布局name

cssName对应样式效果
fxdisplay: flex;
fx_fdcdisplay: flex;
flex-direction: column;
fx_acdisplay: flex;
align-items: center;
fx_afsdisplay: flex;
align-items: flex-start;
fx_afedisplay: flex;
align-items: flex-end;
fx_jcdisplay: flex;
justify-content: center;
fx_jsbdisplay: flex;
justify-content: space-between;
fx_jfsdisplay: flex;
justify-content: flex-start;
fx_jfedisplay: flex;
justify-content: flex-end;
fx_jsadisplay: flex;
justify-content: space-around;
fx_jsb_acdisplay: flex;
justify-content: space-between;
align-items: center;
fx_jc_acdisplay: flex;
justify-content: center;
align-items: center;
fx_fdc_jcsbdisplay: flex;
flex-direction: column;
justify-content: space-between;
fx_1flex: 1;
fx_fs0flex-shrink: 0;

使用demo

<div class="test_box fx_jc_ac">
     <span>只需要添加 fx_jc_ac 类名,即可快速实现flex布局</span>
</div>

Keywords

wanglayout

FAQs

Package last updated on 14 Apr 2024

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