【发布时间】:2014-12-09 18:02:19
【问题描述】:
我在使用 sass 中的 background 属性时遇到问题
当我写作时:
background: url(../images/assets/calendar.png);
background-repeat: no-repeat;
background-size: 250px 230px;
background-position: 51px 91px;
background-color: $mainColor;
sass 编译它用于:
background: url(../images/assets/calendar.png) 51px 91px/250px 230px no-repeat #f68e34;
但是,iPhone 和 iPad 浏览器不理解这个语法,我该如何解决呢?
提前致谢
【问题讨论】:
-
提供的 Sass 无法编译为该 CSS。