@8lall0/flex-able 中文文档教程

发布于 4年前 浏览 22 项目主页 更新于 3年前

flex-able

浏览器会梦想弯曲的羊吗?

What is it?

这个包将每个布局标签(div、部分等)设置为

display: flex;
flex-direction: column;

请不要在生产环境中使用它,除非你真的知道该怎么做。

Usage

npm install @8lall0/flex-able

此软件包提供:

  • a single css file for quick import
  • a scss file for including this inside your sass project

Why flex-able?

此软件包的名称灵感来自 Steve Vai 的第一张个人专辑。 看一看,这是一个不错的。

Is this a troll package?

是和不是。

我显然想把 npm 包的可怕习惯吹得可笑的小,无用而且......只是你可以自己做的事情(例如臭名昭​​著的 奇数)。

但我也真的很想尝试这种修改如何影响正常的工作流程。 我认为这可能是一个很好的实验。

Contributing

请遵循这些说明

flex-able

Do browsers dream of flexed sheeps?

What is it?

This package sets every layout tag (div, section, etc…) to

display: flex;
flex-direction: column;

Please don't use this on production environments, unless you really know what to do.

Usage

npm install @8lall0/flex-able

This package provides:

  • a single css file for quick import
  • a scss file for including this inside your sass project

Why flex-able?

This package's name is inspired by the first Steve Vai' solo album. Check it out, it's a nice one.

Is this a troll package?

Yes and no.

I obviously want to troll the horrible habit of npm packages to be ridiculously small, useless and… just something that you can do by yourself (eg. the infamous isOdd).

But also i really want to try how this modification can affect a normal workflow. I think that can be a nice experiment.

Contributing

Please follow these instructions.

    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文