【发布时间】:2018-12-16 01:49:32
【问题描述】:
我正在为堆栈布局寻找border-style: dashed; 样式选项。但我看不到任何支持。如何创建虚线边框样式?
【问题讨论】:
标签: nativescript nativescript-angular
我正在为堆栈布局寻找border-style: dashed; 样式选项。但我看不到任何支持。如何创建虚线边框样式?
【问题讨论】:
标签: nativescript nativescript-angular
NativeScript 支持 CSS 的子集。那就是说一些在 web 中使用的 CSS 是不适用的。目前,NativeScript 中的边框不支持边框样式属性。
来源:https://github.com/NativeScript/NativeScript/issues/3246
为了实现虚线边框,请使用带有背景重复的虚线图像。
【讨论】: