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

网页在Chrome浏览器顶部透明 #171

Closed
zxhycxq opened this issue Nov 29, 2016 · 4 comments
Closed

网页在Chrome浏览器顶部透明 #171

zxhycxq opened this issue Nov 29, 2016 · 4 comments

Comments

@zxhycxq
Copy link

zxhycxq commented Nov 29, 2016

360浏览器正常,chrome背景透明了。
#header 部分

image

@ZhihaoLau
Copy link

ZhihaoLau commented Nov 30, 2016

@zxhycxq

查了一下,代码里面有

@media screen and (min-width: 1590px)
#header {
    background-color: rgba(255,255,255,0.4);
}

所以应该是故意这样设计的。
再者,众所周知,360浏览器是双核浏览器,估计你打开的是ie内核模式的,不支持rgba。

@zxhycxq
Copy link
Author

zxhycxq commented Nov 30, 2016

@ziolau 360是正常的,用的是极速模式。谷歌不对,因为多了(min-width: 1360px)。不知道为何把断点设置为1360 ,改为1366之后就没事了。(我用的笔记本)

@ZhihaoLau
Copy link

我的是 1590px 以下的都是白色不透明。

@yyx990803
Copy link
Member

故意这么设计的。窄屏时候不透明为的是不干扰菜单。

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

3 participants