【发布时间】:2019-03-07 16:32:36
【问题描述】:
我在底部和左侧添加边框时遇到问题,我正在放置属性,但边框超出了圆圈而不是周围。
<View style={{
borderBottomColor:'red',
borderBottomWidth:20,
borderRadius:500,
position: 'absolute',
left: 0,
top: 0,
transform:[{rotate:('180deg')}],
height: 150,
width: 150,
backgroundColor: 'orange',
boxSizing: 'border-box',
zIndex: 2000,
overflow: 'hidden'
}}></View>
我的想法是得出我在 Codepen 中所做的这个结果 (https://codepen.io/anon/pen/bmdmWq)
【问题讨论】:
标签: css reactjs react-native sass less