-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CSS clip-path inset
shape
#2693
Comments
Hi @dsum27, Thank you for reporting this issue. main-page.xml
app.css
In regard to your second question you could use I hope this is applicable for you. |
The |
NativeScript is not a browser and does not understand property names such as webkit-* or moz-* |
We will need to add support for the |
@dsum27 Until we implement the inset value, you could try something like this polygon:
|
inset
shape
@hamorphis |
inset
shapeinset
shape
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
I am trying to use Nativescript style clip-path found here. My code
My view
I do see the background image and all my other styles applied, but I can not get it to clip the path.
I have also tried
and
and
My package.json file
I have not tried iOS yet.
This may not be the best approach either. I am attempting to make a crop-box. In the view the user will see an image under the clip-path that they will position. I am not actually cropping the image. Any suggestions are appreciated. Thanks!
Update
Under Supported CSS properties in my link above it says
"Sets the clip-path. Supported shapes are circle, ellipse, rect and polygon. You can define your own shape using clippy".
I guess this is a different question but how do I use clippy to set up CSS property for clip-path:inset? I would do this myself but I don't know how.
The text was updated successfully, but these errors were encountered: