我正在尝试编写一个小型 mixin 来为 Internet Explorer 创建滤镜渐变。 该函数称为 filter-gradient 并采用 2 个颜色参数。
当您传递颜色值 #ffffff 时,stylus 会自动将其缩短为 #fff。 有没有办法维护长手版?
谢谢
最佳答案
你可以为此使用 unquote()
函数,所以 unquote('#ffffff')
总是会给你 #ffffff
, 没有缩短。
关于html - 使用手写笔功能时保持手写颜色值,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13047751/