MORE.js是一个让CSS代码写起来更直观的框架,你可以使用它来写更贴近英语的代码,可以同时运行在客户端和服务器端。
(它的所有数字都使用英文来写,这一点太麻烦了。。)
Write some MORE:
#header colour: cmyk(one-hundred-and-eight, eighteen, zero, forty-five) !unimportant; #header width: twenty-five-and-three-quarters percent !unimportant; #about h2 span background-attachment: scroll !unimportant; #about h2 span background-colour: spot(PANTONE one-hundred-and-twenty-four C) !unimportant; #about h2 span background-image: none !unimportant; #about h2 span background-repeat: repeat !unimportant; #about h2 span background-position-horizontal: zero !unimportant; #about h2 span background-position-vertical: zero !unimportant; #about h2 span colour: cmyk(one-hundred-and-one, zero, one-hundred-and-one, four) !unimportant;
Include MORE:
"stylesheet/more" type="text/css" href="styles.more">