最近不少哥们找Google Chrome的专用hack,有兄弟说在网上搜到了不知道怎么用。我没具体看网上都有哪些,这里有一个自己找的hack,针对Google Chrome 的,希望能帮到弟兄们。
例子:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>关于Google Chrome的hack的具体用法</title>
<style>
@media screen and (-webkit-min-device-pixel-ratio:0)
{
.red {
color: #ff0000;
}
}
</style>
</head>
<body>
<div class='red'>老子在Google Chrome底下是红色的,我骄傲!</div>
</body>
</html>
提示:你可以先修改部分代码再运行。
扫码关注腾讯云开发者
领取腾讯云代金券
Copyright © 2013 - 2025 Tencent Cloud. All Rights Reserved. 腾讯云 版权所有
深圳市腾讯计算机系统有限公司 ICP备案/许可证号:粤B2-20090059 深公网安备号 44030502008569
腾讯云计算(北京)有限责任公司 京ICP证150476号 | 京ICP备11018762号 | 京公网安备号11010802020287
Copyright © 2013 - 2025 Tencent Cloud.
All Rights Reserved. 腾讯云 版权所有