LESS css 的指南针样式库?
SASS 有 Compass(社区维护的 sass mixin/方法库)。
LESS 有没有可以与 Compass 相媲美的支持库?列出任何内容都会有帮助!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
SASS 有 Compass(社区维护的 sass mixin/方法库)。
LESS 有没有可以与 Compass 相媲美的支持库?列出任何内容都会有帮助!
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(9)
另一个很棒的迷你库...
Bootstrap
作者:Mark Otto,Twitter 设计师
演示/站点: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
Demo/Site: http://getbootstrap.com/
Mixins: https://github.com/twbs/bootstrap/tree/master/less/mixins
Github/Source: https://github.com/twbs/bootstrap
有较少的元素,但它很难说是一个集合。我同意有这样的东西就好了。
There are less elements, but it's hardly a collection. I agree it would be nice to have something like this.
看看我的 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! :)
这里还有另外几个选择: lesshat 和 clearless
另外,这篇博文比较 3 个 less 库:less elements vs bootstrap vs lesshat。
从帖子中来看,bootstrap 和 lesshat 似乎都击败了 less 元素,
但是根据您的需要,您可以在 bootstrap 和 lesshat 之间进行选择。
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.
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.
我刚刚推出了 {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-
老问题,但现在 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!
尝试预启动。这是一个来自 Bootstrap 团队成员的非常酷的 LESS 库。
Try Preboot. It is a pretty cool LESS library from a member of Bootstrap team.
这是一个老问题,但让我分享一下最近制作的 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.
有一个名为 more-or-less 的新库,它类似于 lesshat 但速度更快,因为它不使用内联 JavaScript。
就像 lesshat 一样,它允许使用无限层,例如
box-shadow
或background-image
。它基本上具有所有 lesshat mixins 以及一些其他有用的功能。
.for()
.find()
.in()
.join()
.repeat( )
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
orbackground-image
.It basically has all of the lesshat mixins plus a few other helpful functions.
.for()
.find()
.in()
.join()
.repeat()