
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
wang-layout
Advanced tools
一个flex布局css类库,用于简化项目flex布局代码书写量
npm i easy-layout -S
在项目 main.js 文件引入,就可以全局使用了
import "easy-layout"
| cssName | 对应样式 | 效果 |
|---|---|---|
| fx | display: flex; | |
| fx_fdc | display: flex; flex-direction: column; | |
| fx_ac | display: flex; align-items: center; | |
| fx_afs | display: flex; align-items: flex-start; | |
| fx_afe | display: flex; align-items: flex-end; | |
| fx_jc | display: flex; justify-content: center; | |
| fx_jsb | display: flex; justify-content: space-between; | |
| fx_jfs | display: flex; justify-content: flex-start; | |
| fx_jfe | display: flex; justify-content: flex-end; | |
| fx_jsa | display: flex; justify-content: space-around; | |
| fx_jsb_ac | display: flex; justify-content: space-between; align-items: center; | |
| fx_jc_ac | display: flex; justify-content: center; align-items: center; | |
| fx_fdc_jcsb | display: flex; flex-direction: column; justify-content: space-between; | |
| fx_1 | flex: 1; | |
| fx_fs0 | flex-shrink: 0; | |
<div class="test_box fx_jc_ac">
<span>只需要添加 fx_jc_ac 类名,即可快速实现flex布局</span>
</div>
FAQs
flex、grid、伸缩盒子布局css代码库
The npm package wang-layout receives a total of 1 weekly downloads. As such, wang-layout popularity was classified as not popular.
We found that wang-layout 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.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.