{"id":253289,"date":"2022-09-22T10:37:47","date_gmt":"2022-09-22T02:37:47","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=253289"},"modified":"2022-09-21T14:38:19","modified_gmt":"2022-09-21T06:38:19","slug":"learn-about-the","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/learn-about-the.html","title":{"rendered":"\u4e86\u89e3\u4e0bFoundation \u63d0\u9192\u6846"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\nFoundation \u7528\u4e8e\u5f00\u53d1\u54cd\u5e94\u5f0f\u7684 HTML, CSS and JavaScript \u6846\u67b6\u3002Foundation \u662f\u4e00\u4e2a\u6613\u7528\u3001\u5f3a\u5927\u800c\u4e14\u7075\u6d3b\u7684\u6846\u67b6,\u7528\u4e8e\u6784\u5efa\u57fa\u4e8e\u4efb\u4f55\u8bbe\u5907\u4e0a\u7684 Web \u5e94\u7528\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n
Foundation \u63d0\u9192\u6846<\/strong><\/div>\n

Foundation \u53ef\u4ee5\u5f88\u7b80\u5355\u7684\u521b\u5efa\u4e00\u4e2a\u63d0\u9192\u6846\uff1a<\/p>\n

\"\"<\/p>\n

\u63d0\u9192\u6846\u53ef\u4ee5\u4f7f\u7528 .alert-box \u7c7b\u521b\u5efa, \u53ef\u4ee5\u6dfb\u52a0\u53ef\u9009\u7684\u7c7b\uff1a .secondary, .success, .info, .warning \u6216 .alert:<\/p>\n

\u5b9e\u4f8b<\/strong><\/p>\n

\r\n<<\/span>div<\/span> data-alert class=<\/span>\"alert-box\"<\/span>><\/span>
  This is a default alert box.\r\n<<\/span>\/div<\/span>><\/span>

<<\/span>div<\/span> data-alert class=<\/span>\"alert-box secondary\"<\/span>><\/span>
  This is a secondary alert box.\r\n<<\/span>\/div<\/span>><\/span>

<<\/span>div<\/span> data-alert class=<\/span>\"alert-box success\"<\/span>>\r\n<<\/span>strong<\/span>><\/span>Success!<<\/span>\/strong<\/span>><\/span> This alert box indicates a successful or positive action.
<<\/span>\/div<\/span>><\/span>
\r\n<<\/span>div<\/span> data-alert class=<\/span>\"alert-box info\"<\/span>><\/span>
  <<\/span>strong<\/span>><\/span>Info!<<\/span>\/strong<\/span>><\/span> This alert box indicates a neutral informative change or action.
<<\/span>\/div<\/span>><\/span>

<<\/span>divdata-alert class=<\/span>\"alert-box warning\"<\/span>><\/span>
  <<\/span>strong<\/span>><\/span>Warning!<<\/span>\/strong<\/span>><\/span> This alert box indicates a warning that might need attention.
<<\/span>\/div<\/span>><\/span>
\r\n<<\/span>div<\/span> data-alert class=<\/span>\"alert-box alert\"<\/span>><\/span>
  <<\/span>strong<\/span>><\/span>Alert!<<\/span>\/strong<\/span>><\/span> This alert box indicates a dangerous or potentially negative action.\r\n<<\/span>\/div<\/span>><\/span><\/span><\/span><\/pre>\n

\u6ce8\u610f\uff1a\u63d0\u9192\u6846\u7684\u5bbd\u5ea6\u4e3a\u5bb9\u5668\u7684 100%<\/p>\n

\u5706\u89d2\u63d0\u9192\u6846<\/strong><\/div>\n

.radius \u548c .round \u7c7b\u7528\u4e8e\u4e3a\u63d0\u9192\u6846\u6dfb\u52a0\u5706\u89d2\uff1a
\n\u5b9e\u4f8b<\/strong><\/p>\n

\r\n<<\/span>div<\/span> data-alert class=<\/span>\"alert-box success radius\"<\/span>> \r\n<<\/span>strong<\/span>><\/span>Success!<<\/span>\/strong<\/span>><\/span> Alert box with a radius.\r\n<<\/span>\/div<\/span>><\/span>

<<\/span>div<\/span> data-alert class=<\/span>\"alert-box info round\"<\/span>><\/span>
  <<\/span>strong<\/span>><\/span>Info!<<\/span>\/strong<\/span>><\/span> Alert box that is rounded.
<<\/span>\/div<\/span>><\/span><\/span><\/pre>\n
\u5173\u95ed\u63d0\u9192\u6846<\/strong><\/div>\n

\u8981\u5173\u95ed\u63d0\u9192\u6846\uff0c\u53ef\u4ee5\u5728\u8fde\u63a5\u6216\u6309\u94ae\u5143\u7d20\u4e0a\u6dfb\u52a0 class=\"close\" \u7c7b\uff0c\u5e76\u521d\u59cb\u5316 Foundation JS:<\/p>\n

\u5b9e\u4f8b<\/strong><\/p>\n

<div data-alert class=\"alert-box\">\r\n  This is a default alert box with closing functionality.\r\n  <a href=\"#\" class=\"close\">×<\/a>\r\n<\/div>\r\n\r\n<script>\r\n\/\/ Initialize Foundation JS For Functionality\r\n$(document).ready(function() {\r\n    $(document).foundation();\r\n})\r\n<\/script><\/pre>\n

\u6ce8\u610f\uff1a\t× (\u00d7) \u662f\u4e00\u4e2a HTML \u5b57\u7b26\u5b9e\u4f53\u8868\u793a\u4e00\u4e2a\u5173\u95ed\u6309\u94ae\u7684\u56fe\u6807\uff0c\u800c\u4e0d\u662f\u5b57\u6bcd \"x\"\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

Foundation \u53ef\u4ee5\u5f88\u7b80\u5355\u7684\u521b\u5efa\u4e00\u4e2a\u63d0\u9192\u6846\uff1a \u63d0\u9192\u6846\u53ef\u4ee5\u4f7f\u7528 .alert-box \u7c7b\u521b\u5efa, \u53ef\u4ee5\u6dfb\u52a0\u53ef […]<\/p>\n","protected":false},"author":321,"featured_media":253290,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[55],"tags":[],"class_list":["post-253289","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-thread"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/253289","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/321"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=253289"}],"version-history":[{"count":21,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/253289\/revisions"}],"predecessor-version":[{"id":253464,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/253289\/revisions\/253464"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/253290"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=253289"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=253289"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=253289"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}