Skip to content
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

web端 和 native端 的box-shadow 的样式咋不一致 #192

Closed
chant520 opened this issue May 21, 2019 · 2 comments
Closed

web端 和 native端 的box-shadow 的样式咋不一致 #192

chant520 opened this issue May 21, 2019 · 2 comments

Comments

@chant520
Copy link

@chant520 chant520 commented May 21, 2019

代码

//html
<view class="test"></view>

//css
.test{
  height: 600cpx;
  z-index: 9999;
  box-shadow: 1cpx 1cpx 20cpx #ccc;
}

weex IOS 效果图

IMG_1043

web端效果图

image

不知道是不是我的问题,如果能整理一份通用样式列表就好了 ; 已经试过用 weex 的通用样式代替,但是不得行

@huyuangang

This comment has been minimized.

Copy link

@huyuangang huyuangang commented May 21, 2019

weex端需要设置背景色,加个background: #fff;试试

@chant520

This comment has been minimized.

Copy link
Author

@chant520 chant520 commented May 21, 2019

@huyuangang 感谢指导,学艺不精 ,刚转到前端开发这一块

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.