{"id":256902,"date":"2022-11-30T08:23:24","date_gmt":"2022-11-30T00:23:24","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=256902"},"modified":"2022-11-07T08:24:03","modified_gmt":"2022-11-07T00:24:03","slug":"understand-the-foundation","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/understand-the-foundation.html","title":{"rendered":"\u4e86\u89e3\u4e0bFoundation \u8f93\u5165\u6846\b\u5c3a\u5bf8"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\nFoundation \u7528\u4e8e\u5f00\u53d1\u54cd\u5e94\u5f0f\u7684 HTML, CSS and JavaScript \u6846\u67b6\u3002\u4f7f\u7528\u7f51\u683c\u7684\u5217\u6765\u8bbe\u7f6e\u8f93\u5165\u6846\u7684\u5927\u5c0f\uff0c\u5982 .large-6, .medium-6, \u7b49\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

\"\"<\/p>\n

\u4f7f\u7528\u7f51\u683c\u7684\u5217\u6765\u8bbe\u7f6e\u8f93\u5165\u6846\u7684\u5927\u5c0f\uff0c\u5982 .large-6, .medium-6, \u7b49\u3002
\n\u5b9e\u4f8b<\/strong><\/p>\n

< form >\r\n  <div class=\"row\">\r\n    <div class=\"large-10 medium-7 columns\">\r\n      <label>large-10 medium-7 (100% on small)\r\n        <input type=\"text\" placeholder=\"Name\">\r\n      <\/label>\r\n    <\/div>\r\n  <\/div>\r\n  <div class=\"row\">\r\n    <div class=\"small-5 columns\">\r\n      <label>small-5\r\n        <input type=\"text\" placeholder=\"Name\">\r\n      <\/label>\r\n    <\/div>\r\n  <\/div>\r\n  <div class=\"row\">\r\n    <div class=\"medium-3 columns\">\r\n      <label>medium-3 (100% on small)\r\n        <input type=\"text\" placeholder=\"Name\">\r\n      <\/label>\r\n    <\/div>\r\n  <\/div>\r\n<\/form><\/pre>\n
\u76f8\u7b49\u5927\u5c0f\u5217<\/strong><\/div>\n

\u4ee5\u4e0b\u6f14\u793a\u4e86\u76f8\u7b49\u5927\u5c0f\u5217\u7684\u5b9e\u4f8b:<\/p>\n

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

<form>\r\n  <div class=\"row\">\r\n    <div class=\"medium-4 columns\">\r\n      <label>medium-4 (100% on small, stacked)\r\n        <input type=\"text\" placeholder=\"Name\">\r\n      <\/label>\r\n    <\/div>\r\n    <div class=\"medium-4 columns\">\r\n      <label>medium-4 (100% on small, stacked)\r\n        <input type=\"text\" placeholder=\"Name\">\r\n      <\/label>\r\n    <\/div>\r\n    <div class=\"medium-4 columns\">\r\n      <label>medium-4 (100% on small, stacked)\r\n        <input type=\"text\" placeholder=\"Name\">\r\n      <\/label>\r\n    <\/div>\r\n  <\/div>\r\n<\/form><\/pre>\n
\u5185\u8054\u6807\u7b7e<\/strong><\/div>\n

\u5982\u679c\u4f60\u5e0c\u671b\u4f60\u7684\u6807\u7b7e\u5185\u5bb9\u663e\u793a\u5728\u5de6\u8fb9\uff08\u4e0d\u662f\u4e0a\u8fb9\uff09\uff0c\u53ef\u4ee5\u5c06\u6807\u7b7e\u5143\u7d20 label \u653e\u5728\u8f93\u5165\u6846\u5de6\u8fb9\u7684\u4e0d\u540c\u7684\u5217\u4e0a\uff0c\u5e76\u4f7f\u7528 .inline \u7c7b\u6765\u8bbe\u7f6e\u5782\u76f4\u5c45\u4e2d:<\/p>\n

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

<form>\r\n  <div class=\"row\">\r\n    <div class=\"small-8\">\r\n      <div class=\"row\">\r\n        <div class=\"small-3 columns\">\r\n          <label for=\"name\" class=\"inline right\">Name<\/label>\r\n        <\/div>\r\n        <div class=\"small-9 columns\">\r\n          <input type=\"text\" id=\"name\" placeholder=\"First Name..\">\r\n        <\/div>\r\n      <\/div>\r\n    <\/div>\r\n  <\/div>\r\n<\/form><\/pre>\n
\u524d\u7f6e\u548c\u540e\u7f6e\u6807\u7b7e<\/strong><\/div>\n

\u4f60\u53ef\u4ee5\u5728 <div class=\"row collapse\"> \u4e2d\u6dfb\u52a0\u524d\u7f6e\u548c\u540e\u7f6e\u6807\u7b7e\uff0c\u5143\u7d20\u4e3a\uff1a <element class=\"postfix\"> \u6216 <element class=\"prefix\">\u3002\u53ef\u4ee5\u4f7f\u7528\u7f51\u683c\u7cfb\u7edf\u6765\u8bbe\u7f6e\u524d\u7f6e\u548c\u540e\u7f6e\u6807\u7b7e\u7684\u5927\u5c0f\uff1a<\/p>\n

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

<form>\r\n  <div class=\"row\">\r\n    <div class=\"large-6 columns\">\r\n      <div class=\"row collapse prefix-radius\">\r\n        <div class=\"small-3 columns\">\r\n          <span class=\"prefix\">Prefix<\/span>\r\n        <\/div>\r\n        <div class=\"small-9 columns\">\r\n          <input type=\"text\" placeholder=\"Value\">\r\n        <\/div>\r\n      <\/div>\r\n    <\/div>\r\n    <div class=\"large-6 columns\">\r\n      <div class=\"row collapse postfix-radius\">\r\n        <div class=\"small-9 columns\">\r\n          <input type=\"text\" placeholder=\"Value\">\r\n        <\/div>\r\n        <div class=\"small-3 columns\">\r\n          <span class=\"postfix\">Postfix<\/span>\r\n        <\/div>\r\n      <\/div>\r\n    <\/div>\r\n  <\/div>\r\n<\/form><\/pre>\n
\u524d\u7f6e\u548c\u540e\u7f6e\u6807\u7b7e\u6309\u94ae<\/strong><\/span><\/div>\n

\u53ef\u4ee5\u4f7f\u7528 <a> \u5143\u7d20\u6dfb\u52a0 .button \u7c7b\u6765\u8bbe\u7f6e\u524d\u7f6e\u548c\u540e\u7f6e\u6309\u94ae:<\/p>\n

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

<a href=\"#\" class=\"postfix button\">Go<\/a><\/pre>\n
\u524d\u7f6e\u548c\u540e\u7f6e\u6807\u7b7e\u5706\u89d2\u6309\u94ae<\/strong><\/span><\/div>\n

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

<form>\r\n  <div class=\"row\">\r\n    <div class=\"large-6 columns\">\r\n      <div class=\"row collapse prefix-radius\">\r\n        <div class=\"small-3 columns\">\r\n          <span class=\"prefix\">Prefix<\/span>\r\n        <\/div>\r\n        <div class=\"small-9 columns\">\r\n          <input type=\"text\" placeholder=\"Value\">\r\n        <\/div>\r\n      <\/div>\r\n    <\/div>\r\n    <div class=\"large-6 columns\">\r\n      <div class=\"row collapse postfix-radius\">\r\n        <div class=\"small-9 columns\">\r\n          <input type=\"text\" placeholder=\"Value\">\r\n        <\/div>\r\n        <div class=\"small-3 columns\">\r\n          <span class=\"postfix\">Postfix<\/span>\r\n        <\/div>\r\n      <\/div>\r\n    <\/div>\r\n  <\/div>\r\n  <div class=\"row\">\r\n    <div class=\"large-6 columns\">\r\n      <div class=\"row collapse prefix-round\">\r\n        <div class=\"small-3 columns\">\r\n          <a href=\"#\" class=\"button prefix\">Go<\/a>\r\n        <\/div>\r\n        <div class=\"small-9 columns\">\r\n          <input type=\"text\" placeholder=\"Value\">\r\n        <\/div>\r\n      <\/div>\r\n    <\/div>\r\n    <div class=\"large-6 columns\">\r\n      <div class=\"row collapse postfix-round\">\r\n        <div class=\"small-9 columns\">\r\n          <input type=\"text\" placeholder=\"Value\">\r\n        <\/div>\r\n        <div class=\"small-3 columns\">\r\n          <a href=\"#\" class=\"button postfix\">Go<\/a>\r\n        <\/div>\r\n      <\/div>\r\n    <\/div>\r\n  <\/div>\r\n<\/form><\/pre>\n","protected":false},"excerpt":{"rendered":"

\u4f7f\u7528\u7f51\u683c\u7684\u5217\u6765\u8bbe\u7f6e\u8f93\u5165\u6846\u7684\u5927\u5c0f\uff0c\u5982 .large-6, .medium-6, \u7b49\u3002 \u5b9e\u4f8b < form […]<\/p>\n","protected":false},"author":321,"featured_media":256930,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[55],"tags":[],"class_list":["post-256902","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\/256902","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=256902"}],"version-history":[{"count":7,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/256902\/revisions"}],"predecessor-version":[{"id":256934,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/256902\/revisions\/256934"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/256930"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=256902"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=256902"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=256902"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}