我在nativescript-angular的组件html文件中尝试了"hr“标记。但是它没有在模拟器中显示水平线。(使用ios模拟器测试)
<StackLayout>
hr>
<Label horizontalAlignment="left" textWrap="true" text="Description" class="description-text"></Label>
</StackLayout>发布于 2018-09-03 20:43:47
发布于 2020-01-24 17:35:12
<Label class="line" text="About"></Label>//给出下边框
.about-heading{
font-size: 19;
padding: 5 18;
border-color: #3BEC9C;
border-width: 0 0 2 0;
}//要给出上边框
.about-heading{
font-size: 19;
padding: 5 18;
border-color: #3BEC9C;
border-width: 2 0 0 0;
}https://stackoverflow.com/questions/52149950
复制相似问题