{"id":25625,"date":"2024-11-24T13:34:53","date_gmt":"2024-11-24T05:34:53","guid":{"rendered":"https:\/\/fwq.ai\/blog\/25625\/"},"modified":"2024-11-24T13:34:53","modified_gmt":"2024-11-24T05:34:53","slug":"%e5%a6%82%e4%bd%95%e7%94%a8-css-%e5%ae%9e%e7%8e%b0%e8%a1%a8%e6%a0%bc%e6%a8%aa%e5%90%91%e6%8e%92%e5%88%97%e7%9a%84%e4%bc%98%e5%8c%96%ef%bc%9f-2","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/25625\/","title":{"rendered":"\u5982\u4f55\u7528 CSS \u5b9e\u73b0\u8868\u683c\u6a2a\u5411\u6392\u5217\u7684\u4f18\u5316\uff1f"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/001\/246\/273\/173064151417630.jpg\" class=\"aligncenter\" title=\"\u5982\u4f55\u7528 CSS \u5b9e\u73b0\u8868\u683c\u6a2a\u5411\u6392\u5217\u7684\u4f18\u5316\uff1f\u63d2\u56fe\" alt=\"\u5982\u4f55\u7528 CSS \u5b9e\u73b0\u8868\u683c\u6a2a\u5411\u6392\u5217\u7684\u4f18\u5316\uff1f\u63d2\u56fe\" \/><\/p>\n<p><strong>\u5b9e\u73b0\u8868\u683c\u6a2a\u5411\u7684\u4f18\u5316\u4ee3\u7801\uff1a<\/strong><\/p>\n<pre>&lt;!DOCTYPE html&gt;\n&lt;html&gt;\n&lt;head&gt;\n    &lt;meta charset=\"utf-8\"&gt;\n    &lt;title&gt;Daily report generator&lt;\/title&gt;\n    &lt;style&gt;\n * {\n            margin: 0;\n            padding: 0;\n        }\n        .box {\n            float: right;\n            margin-right: 0;\n            margin-top: 200px;\n            width: 10px;\n            position: absolute;\n        }\n\n        .title {\n            background: linear-gradient(#141e30);\n\n        }\n\n        table {\n            height: 200px;\n            width: 200px;\n            font-size: 12px;\n            text-align: center;\n            float: right;\n            margin: 10px;\n            font-family: arial;\n        }\n\n        .dash_border {\n            font-family: Arial;\n            font-size: 1px;\n            line-height: 1px;\n            font-weight: bold;\n            color: pink;\n            padding: 0.1px;\n            border: 0.1px dashed #FF5722;\n            background:\n                linear-gradient(to top, #ccc, 10px, transparent 1px),\n                linear-gradient(to right, ccc, 10px, transparent 1px),\n                linear-gradient(to bottom, ccc, 10px, transparent 1px),\n                linear-gradient(to left, ccc, 10px, transparent 1px);\n            background-origin: border-box;\n        }\n\n        .button_sty { \/*\u786e\u5b9a*\/\n            position: absolute;\n            right: 0;\n            top: 50%;\n            transform: translateY(-50%);\n            background: -webkit-linear-gradient(left, #03e9f4, transparent);\n            color: #03e9f4;\n        }\n\n        .add_sty { \/*\u2228*\/\n            position: absolute;\n            left: 0;\n            top: 50%;\n            transform: translateY(-50%);\n            right: 0;\n            width: 30px;\n            height: 28px;\n        }\n        \/*----------------------------------\u8f93\u5165\u6846----------------------------------------*\/\n        a {\n            text-decoration: none;\n        }\n        input {\n            background: transparent;\n            border: 0;\n            outline: none;\n        }\n        .loginBox {\n            width: 400px;\n            height: 364px;\n            background-color: #00000060;\n            margin: auto;\n            border-radius: 10px;\n            box-shadow: 0 15px 25px 0 rgba(0, 0, 0, .6);\n            padding: 40px;\n            box-sizing: border-box;\n            float: auto;\n            position: absolute;\n        }\n       \n        h2 {\n            text-align: center;\n            color: aliceblue;\n            margin-bottom: 30px;\n            font-family: 'Courier New', Courier, monospace;\n        }\n\n        .item {\n            height: 45px;\n            border-bottom: 1px solid #fff;\n            margin-bottom: 40px;\n            position: relative;\n        }\n\n        .item input {\n            width: 100%;\n            height: 100%;\n            color: #fff;\n            padding-top: 20px;\n            box-sizing: border-box;\n        }\n\n        .item input:focus+label,\n        .item input:valid+label {\n            top: 0px;\n            font-size: 2px;\n        }\n\n        .item label {\n            position: absolute;\n            left: 0;\n            top: 12px;\n            transition: all 0.5s linear;\n        }\n\n        .btn {\n            padding: 10px 20px;\n            margin-top: 30px;\n            color: #03e9f4;\n            position: relative;\n            overflow: hidden;\n            text-transform: uppercase;\n            letter-spacing: 2px;\n            left: 35%;\n        }\n\n        .btn:hover {\n            border-radius: 5px;\n            color: #fff;\n            background: #03e9f4;\n            box-shadow: 0 0 5px 0 #03e9f4,\n                0 0 25px 0 #03e9f4,\n                0 0 50px 0 #03e9f4,\n                0 0 100px 0 #03e9f4;\n            transition: all 1s linear;\n        }\n\n        .btn&gt;span {\n            position: absolute;\n        }\n\n        .btn&gt;span:nth-child(1) {\n            width: 100%;\n            height: 2px;\n            background: -webkit-linear-gradient(left, transparent, #03e9f4);\n            left: -100%;\n            top: 0px;\n            animation: line1 1s linear infinite;\n        }\n\n        @keyframes line1 {\n\n            50%,\n            100% {\n                left: 100%;\n            }\n        }\n\n        .btn&gt;span:nth-child(2) {\n            width: 2px;\n            height: 100%;\n            background: -webkit-linear-gradient(top, transparent, #03e9f4);\n            right: 0px;\n            top: -100%;\n            animation: line2 1s 0.25s linear infinite;\n        }\n\n        @keyframes line2 {\n\n            50%,\n            100% {\n                top: 100%;\n            }\n        }\n\n        .btn&gt;span:nth-child(3) {\n            width: 100%;\n            height: 2px;\n            background: -webkit-linear-gradient(left, #03e9f4, transparent);\n            left: 100%;\n            bottom: 0px;\n            animation: line3 1s 0.75s linear infinite;\n        }\n\n        @keyframes line3 {\n\n            50%,\n            100% {\n                left: -100%;\n            }\n        }\n\n        .btn&gt;span:nth-child(4) {\n            width: 2px;\n            height: 100%;\n            background: -webkit-linear-gradient(top, transparent, #03e9f4);\n            left: 0px;\n            top: 100%;\n            animation: line4 1s 1s linear infinite;\n        }\n\n        @keyframes line4 {\n            50%,\n            100% {\n                top: -100%;\n            }\n        }\n        body {\n            height: 100vh;\n            background: linear-gradient(#141e30, #243b55);\n            display: flex;\n            justify-content: center;\n            align-items: center;\n            font-size: 16px;\n            color: #03e9f4;\n            background-size: 100% 120%;\n\n        }\n\n    &lt;\/style&gt;\n&lt;\/head&gt;\n&lt;body&gt;\n    &lt;div class=\"loginBox \"&gt;\n        &lt;h2 &gt;Generator&lt;\/h2&gt;\n        &lt;form action=\"\"&gt;\n            &lt;div class=\"item\"&gt;\n                &lt;input type=\"text\" required&gt;\n                &lt;label style=\"font-size: 16px; color: #03e9f4;\"&gt;Data&lt;\/label&gt;\n            &lt;\/div&gt;\n            &lt;div class=\"item\"&gt;\n                &lt;input type=\"password\" required&gt;<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p>\u4ee5\u4e0a\u5c31\u662f\u5982\u4f55\u7528 CSS \u5b9e\u73b0\u8868\u683c\u6a2a\u5411\u7684\u4f18\u5316\uff1f\u7684\u8be6\u7ec6\u5185\u5bb9\uff0c\u66f4\u591a\u8bf7\u5173\u6ce8\u7c73\u4e91\u5176\u5b83\u76f8\u5173\u6587\u7ae0\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5b9e\u73b0\u8868\u683c\u6a2a\u5411\u7684\u4f18\u5316\u4ee3\u7801\uff1a &lt;!DOCTYPE html&gt; &lt;html&gt; &lt;head&gt; &lt;meta charset=&#8221;utf-8&#8243;&gt; &lt;title&gt;Daily report generator&lt;\/title&gt; &lt;style&gt; * { margin: 0; padding: 0; } .box { float: right; margin-right: 0; margin-top: 200px; width: 10px; position: absolute; } .title { background: linear-gradient(#141e30); } table { height: 200px; width: 200px; font-size: 12px; text-align: center; float: right; margin: 10px; font-family: arial; } .dash_border { [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-25625","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/25625","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/comments?post=25625"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/25625\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=25625"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=25625"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=25625"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}