css - compass 多个 css 转换

标签 css sass compass-sass css-transitions

如何像这样进行多个 css 转换 JsfiddleCompass

我想做的是用 Compass 基本编写下面的代码。

-webkit-transition: top 0.3s ease-out, background .9s .5s ease-out; 
   -moz-transition: top 0.3s ease-out, background .9s .5s ease-out; 
     -o-transition: top 0.3s ease-out, background .9s .5s ease-out; 
        transition: top 0.3s ease-out, background .9s .5s ease-out;

最佳答案

这是您要找的吗? http://compass-style.org/reference/compass/css3/transition/#mixin-transition

@include transition(顶部 0.3s 缓出,背景 .9s .5s 缓出);

关于css - compass 多个 css 转换,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11475047/

相关文章:

sproutcore - 有没有办法将 960 和 compass 与 sproutcore 一起使用?

css - 如何在具有属性的部分中设置类 (css) 的样式

css - 页脚小部件中的最新帖子未对齐

html - 仅使用 HTML 将图像与表格对齐

python - flask-assets - sass 不解析@import scss 指令中的相对路径

css - compass 错误 : no implicit conversion of Array into String

sass - 在 Scout 中设置自定义图像路径

jQuery 淡入 CSS 类

html - 我的 div 元素忽略了带有长文本的 CSS 样式

css - 如何从 Sass 中的 CSS 文件扩展类?