nativescript-gradient icon indicating copy to clipboard operation
nativescript-gradient copied to clipboard

Support for position of gradient color

Open Awethentique opened this issue 7 years ago • 2 comments

Is it possible to apply a position for a particular color as in something like the css examples in this css generator: https://goo.gl/kDFjW7

I could probably try putting couple of or <Gradient> tags next to each other but the problem comes in when I need to put in some text where the two tags meet.

Awethentique avatar Feb 18 '18 15:02 Awethentique

Can you show a picture of the desired end-result?

EddyVerbruggen avatar Feb 18 '18 15:02 EddyVerbruggen

Here's an example of a color stop with a position: https://codepen.io/anon/pen/WzLBEe

Note how the gradient doesn't start until 60% of the way up.

airandfingers avatar Apr 09 '18 17:04 airandfingers