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

截图框 无法高亮 没有加任何的css #46

Closed
nanzm opened this issue Dec 11, 2017 · 12 comments
Closed

截图框 无法高亮 没有加任何的css #46

nanzm opened this issue Dec 11, 2017 · 12 comments

Comments

@nanzm
Copy link

nanzm commented Dec 11, 2017

image

@xyxiao001
Copy link
Owner

鼠标移到截图框 看看样式

@nanzm
Copy link
Author

nanzm commented Dec 11, 2017

image

@nanzm
Copy link
Author

nanzm commented Dec 11, 2017

image

@nanzm
Copy link
Author

nanzm commented Dec 11, 2017

想问下 截图框 高亮 是什么原理 图片覆盖上去吗

@xyxiao001
Copy link
Owner

你添加一条css看看
.cropper-crop-box {
z-index: 100
}

@nanzm
Copy link
Author

nanzm commented Dec 11, 2017

image

@xyxiao001
Copy link
Owner

其实就是一个遮罩层 然后高亮的图片在遮罩上面 原图在下面

@nanzm
Copy link
Author

nanzm commented Dec 11, 2017

老铁 不管用 愁死我了

@xyxiao001
Copy link
Owner

有没有在线的例子 我看看

@xyxiao001
Copy link
Owner

你看我在线的例子 是正常的嘛

@nanzm
Copy link
Author

nanzm commented Dec 11, 2017

我发现了 是img 标签 添加 了全局的 max-width 删掉就好了 感谢老铁
image

@xyxiao001
Copy link
Owner

可以的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants