【发布时间】:2018-03-02 17:39:52
【问题描述】:
我正在为 React-Native 寻找一些样式指导。我想创建一个只有一定数量的角着色的边框。像这样的东西:
captureSquare: {
height: 450,
width: 450,
borderWidth: 2,
borderColor: '#FFFFFF,
backgroundColor: 'transparent',
justifyContent: 'center',
alignItems: 'center',
},
我不知道如何打破边界。有什么想法吗?
【问题讨论】:
-
我想这可以使用 CSS
border-image来实现,但我不知道怎么做!
标签: css reactjs react-native border