Can I create a round border on only the top right corner?« Back to Questions List
Hi In exportkit we have a CSS shape that we want to make this option: border-top-right-radius:2em; This means I want to have a shape with just topleft and/or topright radius, how we can do it? |
Do you have the right answer? If you do other users will benefit from your contribution, share your knowledge with the community!
You can now enable SVG Paths and your shapes will convert to Vectors in the output: //exportkit.com/kits/layer-kit/layer-kit-pro-options/svg-paths. |
We are adding support for this, we have a huge vector and complex shape update coming soon to add support all environments. This will solve your border and vector issues. Solution 1:Convert to a Smart Object and you can use ${obj} tag: //exportkit.com/plugin/layer-tags/basic-layer-tags/obj-tag later when we have full support. Solution 2:Create a custom style using ${code} tag or External CSS, eg. .cornerBorder{ border-top-right-radius:2em } Then add the custom style to your shape layer, eg. ${css|style:cornerBorder} my shape layer Solution 3:This will involve a “ 1. 2. Because they are shapes, they do not produces additional assets – so 0% footprint, only divs are used for shapes |
Share Your Knowledge!
Contribute to the community and help other users to benefit from your answer with experience and knowledge.