1 Star 0 Fork 1

qq756585379/typing-word

forked from zyronon/typing-word 
Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
文件
Clone or Download
index.html 1.72 KB
Copy Edit Raw Blame History
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8"/>
<link rel="icon" type="image/svg+xml" href="/logo.jpg"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>Typing Word</title>
<script>
+(function () {
function rem() {
let html = document.documentElement;
let max = parseInt('2048rem');
let min = parseInt('2048rem');
let width;
if (window.innerWidth < min) {
width = min;
} else {
width = window.innerWidth;
}
// console.log('width', width)
html.style.fontSize = width / max + 'px';
}
rem();
window.addEventListener('resize', rem);
})();
</script>
<script>
</script>
<script>
if (!location.href.includes('localhost')
&& !location.href.includes('192.168')
&& !location.href.includes('172.16')
&& !location.href.includes('10.0')
) {
var _hmt = _hmt || [];
(function () {
var hm = document.createElement("script");
if (location.href.includes('netlify.app')) {
hm.src = "https://hm.baidu.com/hm.js?d77525f1ad23698a2f34f54ff69c7750";
} else if (location.href.includes('github.io')) {
hm.src = "https://hm.baidu.com/hm.js?d77525f1ad23698a2f34f54ff69c7750";
} else {
hm.src = "https://hm.baidu.com/hm.js?c558fd8cc39d4cc233a9db44ff5b6e3f";
}
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
}
</script>
</head>
<body>
<div id="app"></div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/756585379/typing-word.git
git@gitee.com:756585379/typing-word.git
756585379
typing-word
typing-word
master

Search

0d507c66 1850385 C8b1a773 1850385