我看到了 reddit 人员给出的 PyCon09 主题演讲(幻灯片:http ://www.slideshare.net/kn0thing/ride-the-snake-reddit-keynote-pycon-09?c55 ),其中他们提到了一个 CSS编译器称为 C55。他们说它将很快开源。它看起来很酷 - 有没有人有更多关于它是如何工作的信息,他们为什么创建它(除了 CSS 是一个痛苦的事实)等等......?
问问题
273 次
1 回答
3
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):
div.content
{
color: $content_color ;
.left
{
float: left;
};
.right
{
float: right;
};
};
于 2009-05-03T22:14:50.713 回答