如何更改标题栏和地址栏的最新的Android浏览器版本棒棒糖的颜色?
问题描述:
有没有发现有关此主题的任何东西。我真的很喜欢改变的概述地址栏和标题颜色颜色的能力吗?有没有简单的方法来做到这一点?
Haven't found anything on this topic yet. I really like the ability to change the color of address bar and header color on Overview? Is there any easy way to do this?
。
.
我想你需要的Android 5.0棒棒堂这个工作,而Chrome的合并标签和应用程序的设置的在的。
I think you need Android 5.0 Lollipop for this to work, and Chrome's Merge Tabs and Apps set to On.
答
发现了一些搜索后的解决方案。
Found the solution after some search.
您需要添加一个<元>
在&LT标记; HEAD>
包含名称=主题颜色
,添加你喜欢的任何颜色的CSS与内容=#000000
。像这样的:
You need to add a <meta>
tag in your <head>
containing name=theme-color
, adding any CSS color you like with content=#000000
. Like this:
<meta name="theme-color" content="#999999">