horizontal line nativescript code example
Example 1: nativescript hr
/* In Nativescript you can create a label with a small height and any background color */
.line {
background: linear-gradient(to left, orangered, green, lightblue);
height: 2px;
}
<label class="line"></label>
Example 2: horizontal line nativescript
.line {
background: linear-gradient(to left, orangered, green, lightblue);
height: 2px;
}
<label class="line"></label>