You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
问题一:暂不支持字体文件和svg直渲染
这个问题也挺大的,因为这就导致
想想就很可怕,回到了20年前,但是问题是现在的应用和20年前已经差太多了,对切图仔实在不友好
没想到什么解决办法
现在只能多花时间搞了
问题二:不支持伪元素
伪元素也是切图仔非常常用的东西,有点蛋疼
多写几个dom节点
问题三:不支持svg图片当背景?
这个也很痛苦,因为这样就做不到矢量
只能用其他图片格式
要么同个图片可能要生成多种尺寸
要么就是全部都是大图片
要么服务端或者文件储存支持动态参数生成不同尺寸图片
问题四:暂不支持Animation动画
这个也是有点伤
解决办法,如果能用transition替代还行,不行的话只能和产品说不支持动画了
问题5:暂不支持opacity为0
解决办法,设置为0.01...
问题6:translate不支持百分比
这个也很蛋疼,感觉要卡死很多情况
百分比主要是在于弹窗上,很多时候都是以自身自适应高度定位
没有什么好的解决办法
问题7: 不支持active类的选择器
无法实现点击效果... 同类的估计也不行
没有什么好的解决办法
Beta Was this translation helpful? Give feedback.
All reactions