LESS css 的指南针样式库?

发布于 2024-11-05 22:55:02 字数 94 浏览 5 评论 0 原文

SASS 有 Compass(社区维护的 sass mixin/方法库)。

LESS 有没有可以与 Compass 相媲美的支持库?列出任何内容都会有帮助!

SASS has Compass (a community maintained library of sass mixins/methods).

Does LESS have any supporting libraries that can compare to Compass? Listing anything would be helpful!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(9

小苏打饼 2024-11-12 22:55:03

另一个很棒的迷你库...

Bootstrap
作者:Mark Otto,Twitter 设计师

Bootstrap 是一个超级棒的包
mixin 和要使用的变量
与 CSS LESS 结合使用
预处理器使网络更快、更容易
发展。

演示/站点:http://getbootstrap.com/

Mixins:http://getbootstrap.com/ com/twbs/bootstrap/tree/master/less/mixins" rel="nofollow noreferrer">https://github.com/twbs/bootstrap/tree/master/less/mixins

Github/来源:https://github.com/twbs/bootstrap

Another great mini-library...

Bootstrap
by Mark Otto, Designer at Twitter

Bootstrap is a super awesome pack of
mixins and variables to be used in
conjunction with LESS, a CSS
preprocessor for faster and easier web
development.

Demo/Site: http://getbootstrap.com/

Mixins: https://github.com/twbs/bootstrap/tree/master/less/mixins

Github/Source: https://github.com/twbs/bootstrap

累赘 2024-11-12 22:55:03

较少的元素,但它很难说是一个集合。我同意有这样的东西就好了。

There are less elements, but it's hardly a collection. I agree it would be nice to have something like this.

街角迷惘 2024-11-12 22:55:03

看看我的 compless 存储库。在那里我尝试使用 less 来实现 Compass 的一些功能。 Mixin 按照 Compass 的 参考 中的方式进行分类。欢迎补丁! :)

Take a look at my compless repo. There I try to implement some features of Compass using less. Mixins are divided into categories in a way how it done in Compass' reference. Patches are welcome! :)

铃予 2024-11-12 22:55:03

这里还有另外几个选择: lesshatclearless

另外,这篇博文比较 3 个 less 库:less elements vs bootstrap vs lesshat

从帖子中来看,bootstrap 和 lesshat 似乎都击败了 less 元素,

但是根据您的需要,您可以在 bootstrap 和 lesshat 之间进行选择。

底线,如果您希望完全重新定义和系统化
关于构建网站的方式,请查看 Bootstrap。然而,如果
你只是一个寻找一些混合的 LESS 用户,我绝对
建议查看 LESS Hat。

PS:

如果您只是在寻找一些基本的 mixin,并且对您来说 - 整个库就太过分了 - 那么也许 css-ticks 的这篇文章更适合您。

Here are another couple of choices: lesshat and clearless

Also, this blog post compares 3 less libraries: less elements vs bootstrap vs lesshat.

From the post, it seems like both bootstrap and lesshat beat less elements,

however depending what you need you would choose between bootstrap and lesshat.

Bottom line, if you’re looking to completely redefine and systematize
the way that you build websites, check out Bootstrap. However, if
you’re just a LESS user looking for some mixins, I definitely
recommend checking out LESS Hat.

PS:

If you're just look looking for some basic mixins, and for you - a whole library is overkill - then maybe this post from css-ticks is more for you.

情何以堪。 2024-11-12 22:55:03

我刚刚推出了 {lessins},它是一个常见 mixins 的库,类似于 bootstrap.less 或 less 元素,但专注于 mixins(其他包含一些不必要的变量,似乎是其他项目的残余。)

我也将 mixin 组织成束。看看:https://github.com/jdmiller82/-lessins-

I just launched {lessins}, it is a library of common mixins, similar to bootstrap.less or less elements, but with a focus exclusively on mixins (the others include some unecessary variables, that seem remnants of other projects.)

I have also organized the mixins into bundles. Check it out: https://github.com/jdmiller82/-lessins-

虐人心 2024-11-12 22:55:03

老问题,但现在 Lots of Love for Less (3L) 比 Preboot 更加完整和通用née Bootstrap!

Old question, but right now Lots of Love for Less (3L) is far more complete and generic than Preboot née Bootstrap!

忘羡 2024-11-12 22:55:03

尝试预启动。这是一个来自 Bootstrap 团队成员的非常酷的 LESS 库。

Try Preboot. It is a pretty cool LESS library from a member of Bootstrap team.

花开浅夏 2024-11-12 22:55:03

这是一个老问题,但让我分享一下最近制作的 Bootstrap3-LESSHAT Boilerplate

Boilerplate 设置了 LESS Hat Mixin 库(与 Compass 相对应)以及 Font Awesome 图标集。

This is an old question but let me share this recently made Bootstrap3-LESSHAT Boilerplate.

The Boilerplate has the LESS Hat Mixin Library (counterpart of Compass) set up as well as the Font Awesome Iconset.

小嗲 2024-11-12 22:55:03

有一个名为 more-or-less 的新库,它类似于 lesshat 但速度更快,因为它不使用内联 JavaScript。
就像 lesshat 一样,它允许使用无限层,例如 box-shadowbackground-image
它基本上具有所有 lesshat mixins 以及一些其他有用的功能。

  • .for()
  • .find()
  • .in()
  • .join()
  • .repeat( )

需要 Less 1.7.0 或更高版本

There's a new library called more-or-less which is similar lesshat but a lot faster since it does not use inline-javascript.
Just like lesshat it allows to use endless layers for e.g box-shadow or background-image.
It basically has all of the lesshat mixins plus a few other helpful functions.

  • .for()
  • .find()
  • .in()
  • .join()
  • .repeat()

requires Less 1.7.0 or later

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