HTML 模板文件

Bootstrap 模板

<!DOCTYPE html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<link rel="dns-prefetch" href="//at.alicdn.com">
<link rel="canonical" href="{$canonical}" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="keywords" content="{$keywords}">
<meta name="description" content="{$description}">
<meta name="author" content="__AUTHOR__">
<meta name="website" content="__WEBSITE__">
<meta property="og:type" content="website">
<meta property="og:site_name" content="__SITENAME__ | 好玩的网页APP | 在线工具">
<meta property="og:title" content="{$title}">
<meta property="og:url" content="{$url}" />
<meta property="og:image" content="__WEBICON__">
<meta property="og:description" content="我们精心熬制了有屎以来最毒1000多条经典毒鸡汤,句句“治愈”人心! 只为了帮你更好的看清人生认识自己,直面现实,直面惨淡的人生,不给你励志,不给你慰藉,像一根鞭猛的抽你一下,使你清醒,知道这个世界和你自己最真实的一面,是青少年手机里的必备宝典。"/>
<title>{$title}</title>
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-title" content="{$title}">
<link rel="icon" href="__WEBICON__" type="image/x-icon" id="page_favionc">
<link rel="apple-touch-icon" href="__WEBICON__">
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" />
<link rel="shortcut icon" type="image/x-icon" href="http://www.tianlunvip.com/favicon.ico">
<link href="http://www.tianlunvip.com/cdn/bootstrap/4.3.1/css/bootstrap.min.css" rel="stylesheet">
<script src="http://www.tianlunvip.com/cdn/jquery/jquery-2.1.4.min.js"></script>
<script src="http://www.tianlunvip.com/cdn/bootstrap/4.3.1/js/bootstrap.min.js"></script>
<style type="text/css">
</style>
<script type="text/javascript">
$(document).ready(function() {

});
</script>
</head>
<body>
</body>
</html>
</pre>
<h4>Canvas 模板</h4>
<pre class="prettyprint lang-html"><!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="keywords" content="">
<meta name="description" content="">
<meta name="author" content="tianlunvip,3hao">
<meta name="website" content="www.tianlunvip.com">
<title>模板</title>
<style>
*{margin: 0; padding: 0;}
body{background-color: #fff;}
</style>
</head>

<body>
<canvas id="canvas"></canvas>
<script>
function random(min, max) {
    return Math.random() * (max - min) + min;
}

// 初始化 canvas 对象
var canvas = document.getElementById("canvas"),
ctx = canvas.getContext("2d");
canvas.width = window.innerWidth;
canvas.height = window.innerHeight;

(function resize() {
    window.onresize = arguments.callee;
    canvas.width = window.innerWidth;
    canvas.height = window.innerHeight;
})()
</script>
</body>
</html>
赞(0) 打赏
取消

感谢您的支持,我会继续努力的!

扫码支持
扫码打赏,您说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

分享从这里开始,精彩与您同在

评论

    暂无评论...