Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

像这样的一个属性,能不能在rn中拆分成对应值?

width: 50px;
height: 50px;
border-radius: 80% 0 55% 0 / 55% 0 80% 0;

我试了我写成下面这样不对,我感觉实现不了。

borderTopLeftRadius: width*0.8/width*0.55,
borderTopRightRadius: 0,
borderBottomLeftRadius: width*0.55/width*0.8,
borderBottomRightRadius: width*0.5/width*0.5,

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
217 views
Welcome To Ask or Share your Answers For Others

1 Answer

等待大神解答

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...