C55:更多信息?
我看到了 PyCon09 主题演讲(幻灯片:http ://www.slideshare.net/kn0thing/ride-the-snake-reddit-keynote-pycon-09?c55)由reddit人员提供,其中他们提到了一个名为C55的CSS编译器。 他们表示很快就会开源。 它看起来很酷 - 有没有人有更多关于它如何工作的信息,为什么他们创建它(除了 CSS 是一个痛苦的事实)等等......?
I saw a PyCon09 keynote presentation (slides: http://www.slideshare.net/kn0thing/ride-the-snake-reddit-keynote-pycon-09?c55) given by the reddit guys, and in it they mention a CSS compiler called C55. They said it would be open sourced soon. It looks cool - does anyone have more information about how it works, why they created it (aside from the fact that CSS is a pain), etc...?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
从谈话中可以看出,与简单地从模板生成 CSS 相比,它的主要优点是它允许嵌套,这在概念上更容易使用。
所以你可以在 C55 中做这样的事情(显然我正在编写语法):
Just from the talk, the main advantage over simply generating CSS from templates is that it allows nesting, which is conceptually a lot nicer to work with.
So you could do something like this in C55 (obviously I'm kind of making up the syntax):