NativeScript

Submit and vote on ideas for the NativeScript framework and NativeScript plugins

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: http://github.com/NativeScript/NativeScript/issues/859

  • Leo Caseiro
  • May 11 2016
  • Shipped
Link to GitHub issue http://github.com/NativeScript/NativeScript/issues/859
  • Attach files
  • Calebe Aires commented
    May 19, 2016 11:40

    That would really improve the app desing

  • Guest commented
    July 20, 2016 17:08

    Test

  • Guest commented
    August 20, 2016 10:18

    Like

  • Valio Stoychev commented
    October 21, 2016 06:19
  • Gravatar
  • Gravatar
  • Gravatar
  • Gravatar
  • Gravatar
  • Gravatar
  • Gravatar
  • Gravatar
  • Gravatar
  • Gravatar
  • Gravatar
  • Gravatar
  • Gravatar
  • Gravatar
  • Gravatar
  • Gravatar
  • Gravatar
  • Gravatar
  • Gravatar
  • Gravatar
  • Gravatar
  • Gravatar
  • Gravatar
  • Gravatar
  • Gravatar
  • Gravatar
  • Gravatar
  • Gravatar
  • Gravatar
  • Gravatar
  • Gravatar
  • Gravatar
  • Gravatar
  • Gravatar
  • Gravatar
  • Gravatar
  • Gravatar
  • Gravatar
  • Gravatar
  • Gravatar
  • Gravatar
  • Gravatar
  • Gravatar
  • Gravatar
  • Gravatar
  • Gravatar
  • Gravatar
  • Gravatar
  • Gravatar
  • Gravatar
  • Gravatar
  • Gravatar
  • Gravatar
  • Gravatar
  • Gravatar
  • Gravatar
  • Gravatar
  • Gravatar
  • Gravatar
  • Gravatar
  • Gravatar
  • Gravatar
  • Gravatar
  • Gravatar
  • Gravatar
  • Gravatar
  • Gravatar
  • Gravatar
  • Gravatar
  • Gravatar
  • Gravatar
  • Gravatar
  • Gravatar
  • Gravatar
  • Gravatar
  • Gravatar
  • Gravatar
  • Gravatar
  • Gravatar
  • Gravatar