This ideas portal has been deprecated. To submit new feature requests, please follow this guideline

Allow borders to be applied on a per-side basis in CSS

Via @tjvantoll

I'm finding that I frequently need to put a border on one side of a UI component, but NativeScript currently does not support this. I'm requesting that the following CSS properties be added:


  • border-top-width
  • border-top-color
  • border-right-width
  • border-right-color
  • border-bottom-width
  • border-bottom-color
  • border-left-width
  • border-left-color

To be consistent with CSS, I would also like the border-width and border-color shorthands to work like they do in CSS.

screen shot 2015-09-30 at 8 17 47 am



Link Github issue:

  • Leo Caseiro
  • May 11 2016
  • Shipped
Link to GitHub issue