TA的每日心情 | 擦汗 4 天前 |
---|
签到天数: 532 天 [LV.9]以坛为家II
版主
- 积分
- 1215
|
- <!DOCTYPE HTML>
- <html>
- <head>
- <title>小陈的主页</title>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no">
- <link rel="stylesheet" href="./css/main.css">
- <noscript>
- <link rel="stylesheet" href="./css/noscript.css" />
- </noscript>
- <script src="https://lib.baomitu.com/skel/3.0.1/skel.min.js"></script>
- <script src="https://lib.baomitu.com/jquery/3.3.1/jquery.min.js"></script>
- <!-- <script src="./js/jquery.min.js"></script> -->
- <!-- <script src="./js/skel.min.js"></script> -->
- <script src="./js/util.js"></script>
- <script src="./js/main.js"></script>
- </head>
- <body>
- <div id="wrapper">
- <header id="header">
- <div class="logo">
- <!-- <img src="./images/head.jpg" class="logo"> -->
- <img src="./images/头像.jpg" class="logo">
- </div>
- <div class="content">
- <div class="inner">
- <h1>人海茫茫,遇之则幸,不遇是命。 </h1>
- </p>
- </div>
- </div>
- <nav>
- <script type="text/javascript">
- function duihua() {
- alert("啥都没有")
- }
- </script>
- <ul>
- <li><a href="https://www.kancloud.cn/chhzll/cgzdkd/2056181">陈公子的口袋</a></li><!-- 按钮1-->
- <li><a href="https://www.kancloud.cn/chhzll/chh_/1884616">在太原的盒子</a></li><!-- 按钮2-->
- <li><a href="https://mp.weixin.qq.com/s/hb7hmJD6iUeNjxlAbaj_6Q">谁是小陈</a></li><!-- 按钮3-->
- <li><a href="https://mp.weixin.qq.com/s/_uxczQtNpE5bB7ZXgDX6tw">寻寻觅觅</a></li>
- <!-- li><a href="javascript:void(0);" onclick="duihua()">软件收藏</a></li>-->
- <li><a href="https://mp.weixin.qq.com/s/oFbeE3yy51V6rB52j0CVkA">小陈的日记本</a></li>
- <!-- <li><a href="http://www.baidu.com/" >API</a></li> -->
- </ul>
- </nav>
- </header>
- <footer id="footer">
- <p class="copyright">@小陈 2020</p><!-- 版权-->
- </footer>
- </div>
- <div id="bg">
- </div>
- <script type="text/javascript">
- document.oncontextmenu = function (t) {
- window.event && (t = window.event);
- try {
- var e = t.srcElement;
- return "INPUT" == e.tagName && "text" == e.type.toLowerCase() || "TEXTAREA" == e.tagName ? !0 : !1
- } catch (n) {
- return !1
- }
- }, document.onpaste = function (t) {
- window.event && (t = window.event);
- try {
- var e = t.srcElement;
- return "INPUT" == e.tagName && "text" == e.type.toLowerCase() || "TEXTAREA" == e.tagName ? !0 : !1
- } catch (n) {
- return !1
- }
- }, document.oncopy = function (t) {
- window.event && (t = window.event);
- try {
- var e = t.srcElement;
- return "INPUT" == e.tagName && "text" == e.type.toLowerCase() || "TEXTAREA" == e.tagName ? !0 : !1
- } catch (n) {
- return !1
- }
- }, document.oncut = function (t) {
- window.event && (t = window.event);
- try {
- var e = t.srcElement;
- return "INPUT" == e.tagName && "text" == e.type.toLowerCase() || "TEXTAREA" == e.tagName ? !0 : !1
- } catch (n) {
- return !1
- }
- }, document.onselectstart = function (t) {
- window.event && (t = window.event);
- try {
- var e = t.srcElement;
- return "INPUT" == e.tagName && "text" == e.type.toLowerCase() || "TEXTAREA" == e.tagName ? !0 : !1
- } catch (n) {
- return !1
- }
- };
- </script>
- <script type="text/javascript">
- /*天真网(tzw520.cn) 鼠标弹字特效 */
- jQuery(document).ready(function ($) {
- $("body").click(function (e) {
- var a = new Array("小陈", "chh", "陈公子", "陈公子的话", "在太原的盒子","小陈");
- var a_idx = Math.floor(Math.random() * a.length);
- var $i = $("<span/>").text(a[a_idx]);
- // a_idx = (a_idx + 1) % a.length;
- var x = e.pageX,
- y = e.pageY;
- $i.css({
- "z-index": 99999999999,
- "top": y - 20,
- "left": x,
- "position": "absolute",
- "font-weight": "bold",
- "color": "#ff6651"
- });
- $("body").append($i);
- $i.animate({
- "top": y - 180,
- "opacity": 0
- },
- 1500,
- function () {
- $i.remove();
- });
- });
- });
- </script>
- <audio autoplay>
- <source src="music/ren.mp3" type="audio/mpeg"><!-- !BGM!-->
- </audio>
- </body>
- </html>
复制代码
看到别人开发了一个挺好看,于是自己也去套用了一个。
html+css+js(静态文件托管)
最后放搭出来的成品:http://chhzll.gitee.io/xiaochen
|
-
查看全部评分
总评分:好评 +2
贡献 +1
|