
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
common-css-js
Advanced tools
npm install common-css-js
import 'common-css-js'
间距
property 应用间距类型:
{property}{direction}-{size}
m - 应用 margin
p - 应用 padding
direction 指定了该属性所应用的侧边:
t - 应用 margin-top 和 padding-top 的间距b - 应用 margin-bottom 和 padding-bottom 的间距l - 应用 margin-left 和 padding-left 的间距r - 应用 margin-right 和 padding-right 的间距x - 应用 *-left 和 *-right 的间距y - 应用 *-top 和 *-bottom 的间距a - 在所有方向应用该间距size 以1px增量控制间距属性:
最大100
0 - 通过设置为 0 来消除所有 margin 或 padding.1 - 设置 margin 或 padding 为 1px示例
<div class="ml-10"></div>
<div class="pl-10"></div>
浮动
示例
<div class="float-left"></div>
定位
mode:定位方式 position-{mode}
偏移
{direction}-{size}
direction:方向 size:偏移尺寸 最大100
示例
<div class="position-absolute left-10"></div>
文字
大小
fz-{size}
1px到100px
粗细
fw-{size}
100到800
FAQs
common css
We found that common-css-js 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.