{"id":275,"date":"2016-03-14T15:03:35","date_gmt":"2016-03-14T07:03:35","guid":{"rendered":"http:\/\/www.xttblog.com\/?p=275"},"modified":"2016-03-14T15:06:48","modified_gmt":"2016-03-14T07:06:48","slug":"html5%e5%bf%83%e5%bd%a2%e5%9b%be%e5%bd%a2%e7%9a%84%e7%94%bb%e6%b3%95","status":"publish","type":"post","link":"https:\/\/www.xttblog.com\/?p=275","title":{"rendered":"HTML5\u5fc3\u5f62\u56fe\u5f62\u7684\u753b\u6cd5"},"content":{"rendered":"<p>\n\t\u8ba1\u7b97\u673a\u79d1\u5b66\u6709\u4e24\u7c7b\u6839\u672c\u95ee\u9898\u3002\u4e00\u7c7b\u662f\u7406\u8bba\uff1a\u7b97\u6cd5\uff0c\u6570\u636e\u7ed3\u6784\uff0c\u590d\u6742\u5ea6\uff0c\u673a\u5668\u5b66\u4e60\uff0c\u6a21\u5f0f\u8bc6\u522b\uff0c\u7b49\u7b49\u7b49\u3002\u4e00\u7c7b\u662f\u7cfb\u7edf\uff1a\u64cd\u4f5c\u7cfb\u7edf\uff0c\u7f51\u7edc\u7cfb\u7edf\uff0c\u5206\u5e03\u5f0f\u7cfb\u7edf\uff0c\u5b58\u50a8\u7cfb\u7edf\uff0c\u6e38\u620f\u5f15\u64ce\u7b49\u7b49\u3002 \u7406\u8bba\u8d70\u7684\u662f\u6df1\u5ea6\uff0c\u662f\u5728\u8ffd\u95ee\u5728\u7ed9\u5b9a\u7684\u8ba1\u7b97\u80fd\u529b\u7ea6\u675f\u4e0b\u5982\u4f55\u628a\u4e00\u4e2a\u95ee\u9898\u89e3\u51b3\u5f97\u66f4\u5feb\u66f4\u597d\u3002\u800c\u7cfb\u7edf\u8d70\u7684\u662f\u5e7f\u5ea6\uff0c\u662f\u5728\u8ffd\u95ee\u5bf9\u4e8e\u4e00\u4e2a\u73b0\u5b9e\u7684\u9700\u6c42\u5982\u4f55\u5728\u4f17\u591a\u7684\u6280\u672f\u4e2d\u8bbe\u8ba1\u51fa\u6700\u591a\u5feb\u597d\u7701\u7684\u6280\u672f\u7ec4\u5408\u3002\n<\/p>\n<p>\n\t\u8bf4\u4e86\u8fd9\u4e48\u591a\uff0c\u5c31\u662f\u5f3a\u8c03\u7f16\u5199\u7a0b\u5e8f\u79bb\u4e0d\u5f00\u7b97\u6cd5\u3002\u4e0b\u9762\u5c31\u4ecb\u7ecd\u4e00\u4e0b\u5982\u4f55\u7ed8\u5236\u5fc3\u5f62\u56fe\u5f62\u7684\u7b97\u6cd5\uff0c\u6548\u679c\u5982\u4e0b\u56fe\uff1a\n<\/p>\n<p>\n\t<img decoding=\"async\" src=\"http:\/\/www.xttblog.com\/wp-content\/uploads\/2016\/03\/xin1.png\" \/>\n<\/p>\n<p>\n\t\u6e90\u4ee3\u7801\u4ee3\u7801\u5982\u4e0b\uff1a\n<\/p>\n<pre>\r\n&lt;!DOCTYPE HTML&gt;\r\n&lt;html&gt;\r\n&lt;head&gt;\r\n\t&lt;title&gt;HTML5\u5fc3\u5f62\u56fe\u5f62\u7684\u753b\u6cd5&lt;\/title&gt;\r\n&lt;\/head&gt;\r\n&lt;body&gt;\r\n&lt;div id=&quot;xttblog&quot; style=&quot;width: 50px; height: 50px; margin: 500px 0 0 500px; position: relative;&quot;&gt;&lt;\/div&gt;\r\n&lt;\/body&gt;\r\n&lt;script&gt;\r\n    var angle = 0;\r\n    function getHeartPoint() {\/\/\u5fc3\u5f62\u66f2\u7ebf\r\n        var t = angle \/ Math.PI;\r\n        var xttblog = document.createElement(&quot;div&quot;);\r\n\t\tif(t&gt;6.5)\r\n\t\t\treturn;\r\n        angle+=0.01;\r\n        var y = 18.5 * (16 * Math.pow(Math.sin(t), 3));\r\n        var x = - 20 * (13 * Math.cos(t) - 5 * Math.cos(2 * t) - 2 * Math.cos(3 * t) - Math.cos(4 * t));\r\n        xttblog.style.width = &quot;1px&quot;;\r\n        xttblog.style.height = &quot;1px&quot;;\r\n        xttblog.style.backgroundColor = &quot;red&quot;;\r\n        xttblog.style.position = &quot;absolute&quot;;\r\n        xttblog.style.top = x + &quot;px&quot;;\r\n        xttblog.style.left = y + &quot;px&quot;;\r\n        document.getElementById(&quot;xttblog&quot;).appendChild(xttblog);\r\n        setTimeout(getHeartPoint, 1);\r\n    }\r\n    getHeartPoint();\r\n\t\/\/ \u539f\u6587\u5730\u5740:http:\/\/www.xttblog.com\/?p=275\r\n&lt;\/script&gt;\r\n&lt;\/html&gt;\r\n<\/pre>\n<!-- <audio autoplay=\"autoplay\" height=\"100\" width=\"100\" hidden=\"true\"><source src=\"https:\/\/c.coka.la\/orAvPR.mp3\" type=\"audio\/mp3\"\/><\/audio><img decoding=\"async\" src=\"https:\/\/images.weserv.nl\/?url=https:\/\/ws3.sinaimg.cn\/large\/8fa5dcfcgy1g4em3rzar5j20ib089ae0.jpg\" alt=\"\u4e1a\u4f59\u8349\u516c\u4f17\u53f7\"\/> --><p><!-- <img decoding=\"async\" src=\"https:\/\/raw.githubusercontent.com\/xmt1139057136\/xttblog\/master\/8fa5dcfcgy1g4em3rzar5j20ib089ae0.jpg\" alt=\"\u4e1a\u4f59\u8349\u516c\u4f17\u53f7\"\/>--><img decoding=\"async\" src=\"https:\/\/saas.51autoparts.cn\/api\/admin\/sys-file\/oss\/file?fileName=84db51f8561e448f9a4fda2eff0811f9.jpg\" alt=\"\u4e1a\u4f59\u8349\u516c\u4f17\u53f7\"\/><\/p><p>\u6700\u540e\uff0c\u6b22\u8fce\u5173\u6ce8\u6211\u7684\u4e2a\u4eba\u5fae\u4fe1\u516c\u4f17\u53f7\uff1a\u4e1a\u4f59\u8349\uff08yyucao\uff09\uff01<b>\u53ef\u52a0\u4f5c\u8005\u5fae\u4fe1\u53f7\uff1a<font color=\"red\">xttblog2<\/font>\u3002\u5907\u6ce8\uff1a\u201c1\u201d\uff0c\u6dfb\u52a0\u535a\u4e3b\u5fae\u4fe1\u62c9\u4f60\u8fdb\u5fae\u4fe1\u7fa4\u3002\u5907\u6ce8\u9519\u8bef\u4e0d\u4f1a\u540c\u610f\u597d\u53cb\u7533\u8bf7\u3002<\/b>\u518d\u6b21\u611f\u8c22\u60a8\u7684\u5173\u6ce8\uff01\u540e\u7eed\u6709\u7cbe\u5f69\u5185\u5bb9\u4f1a\u7b2c\u4e00\u65f6\u95f4\u53d1\u7ed9\u60a8\uff01\u539f\u521b\u6587\u7ae0\u6295\u7a3f\u8bf7\u53d1\u9001\u81f3532009913@qq.com\u90ae\u7bb1\u3002\u5546\u52a1\u5408\u4f5c\u4e5f\u53ef\u6dfb\u52a0\u4f5c\u8005\u5fae\u4fe1\u8fdb\u884c\u8054\u7cfb\uff01<\/p><p>\u672c\u6587\u539f\u6587\u51fa\u5904\uff1a<a href=\"https:\/\/www.xttblog.com\">\u4e1a\u4f59\u8349<\/a>\uff1a &raquo; <a href=\"https:\/\/www.xttblog.com\/?p=275\">HTML5\u5fc3\u5f62\u56fe\u5f62\u7684\u753b\u6cd5<\/a><\/p><!-- <div class=\"bd-reward-stl\"><button id=\"bdRewardBtn\"><span><\/span><\/button><\/div> -->","protected":false},"excerpt":{"rendered":"<p>\u8ba1\u7b97\u673a\u79d1\u5b66\u6709\u4e24\u7c7b\u6839\u672c\u95ee\u9898\u3002\u4e00\u7c7b\u662f\u7406\u8bba\uff1a\u7b97\u6cd5\uff0c\u6570\u636e\u7ed3\u6784\uff0c\u590d\u6742\u5ea6\uff0c\u673a\u5668\u5b66\u4e60\uff0c\u6a21\u5f0f\u8bc6\u522b\uff0c\u7b49\u7b49\u7b49\u3002\u4e00\u7c7b\u662f\u7cfb\u7edf\uff1a\u64cd\u4f5c\u7cfb\u7edf [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":276,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[119,75],"class_list":["post-275","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-html5","tag-html5","tag-75"],"_links":{"self":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts\/275","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=275"}],"version-history":[{"count":2,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts\/275\/revisions"}],"predecessor-version":[{"id":278,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts\/275\/revisions\/278"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/media\/276"}],"wp:attachment":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=275"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=275"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=275"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}