{"id":1099,"date":"2024-07-27T12:25:48","date_gmt":"2024-07-27T04:25:48","guid":{"rendered":"http:\/\/codermr.com\/?p=1099"},"modified":"2024-07-27T19:23:55","modified_gmt":"2024-07-27T11:23:55","slug":"css_article2","status":"publish","type":"post","link":"http:\/\/codermr.com\/index.php\/2024\/07\/27\/css_article2\/","title":{"rendered":"CSS \u57fa\u7840\uff08\u4e8c\uff09\uff1a\u76d2\u5b50\u6a21\u578b(Box Model)"},"content":{"rendered":"\n<p>\u6240\u6709HTML\u5143\u7d20\u53ef\u4ee5\u770b\u4f5c\u76d2\u5b50\uff0c\u5728CSS\u4e2d\uff0c&#8221;box model&#8221;\u8fd9\u4e00\u672f\u8bed\u662f\u7528\u6765\u8bbe\u8ba1\u548c\u5e03\u5c40\u65f6\u4f7f\u7528\u3002<\/p>\n\n\n\n<p>CSS\u76d2\u6a21\u578b\u672c\u8d28\u4e0a\u662f\u4e00\u4e2a\u76d2\u5b50\uff0c\u5c01\u88c5\u5468\u56f4\u7684HTML\u5143\u7d20\uff0c\u5b83\u5305\u62ec\uff1a\u8fb9\u8ddd\uff0c\u8fb9\u6846\uff0c\u586b\u5145\uff0c\u548c\u5b9e\u9645\u5185\u5bb9\u3002<\/p>\n\n\n\n<p>\u76d2\u6a21\u578b\u5141\u8bb8\u6211\u4eec\u5728\u5176\u5b83\u5143\u7d20\u548c\u5468\u56f4\u5143\u7d20\u8fb9\u6846\u4e4b\u95f4\u7684\u7a7a\u95f4\u653e\u7f6e\u5143\u7d20\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"http:\/\/codermr.com\/wp-content\/uploads\/2024\/07\/image-15.png\"><img loading=\"lazy\" decoding=\"async\" width=\"548\" height=\"298\" src=\"http:\/\/codermr.com\/wp-content\/uploads\/2024\/07\/image-15.png\" alt=\"\" class=\"wp-image-1100\" srcset=\"http:\/\/codermr.com\/wp-content\/uploads\/2024\/07\/image-15.png 548w, http:\/\/codermr.com\/wp-content\/uploads\/2024\/07\/image-15-300x163.png 300w\" sizes=\"(max-width: 548px) 100vw, 548px\" \/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"http:\/\/codermr.com\/wp-content\/uploads\/2024\/07\/image-17.png\"><img loading=\"lazy\" decoding=\"async\" width=\"576\" height=\"378\" src=\"http:\/\/codermr.com\/wp-content\/uploads\/2024\/07\/image-17.png\" alt=\"\" class=\"wp-image-1103\" srcset=\"http:\/\/codermr.com\/wp-content\/uploads\/2024\/07\/image-17.png 576w, http:\/\/codermr.com\/wp-content\/uploads\/2024\/07\/image-17-300x197.png 300w\" sizes=\"(max-width: 576px) 100vw, 576px\" \/><\/a><\/figure>\n\n\n\n<p>\u4e0d\u540c\u90e8\u5206\u7684\u8bf4\u660e\uff1a<\/p>\n\n\n\n<ul>\n<li><strong>Margin(\u5916\u8fb9\u8ddd)<\/strong>&nbsp;&#8211; \u6e05\u9664\u8fb9\u6846\u5916\u7684\u533a\u57df\uff0c\u5916\u8fb9\u8ddd\u662f\u900f\u660e\u7684\u3002<\/li>\n\n\n\n<li><strong>Border(\u8fb9\u6846)<\/strong>&nbsp;&#8211; \u56f4\u7ed5\u5728\u5185\u8fb9\u8ddd\u548c\u5185\u5bb9\u5916\u7684\u8fb9\u6846\u3002<\/li>\n\n\n\n<li><strong>Padding(\u5185\u8fb9\u8ddd)<\/strong>&nbsp;&#8211; \u6e05\u9664\u5185\u5bb9\u5468\u56f4\u7684\u533a\u57df\uff0c\u5185\u8fb9\u8ddd\u662f\u900f\u660e\u7684\u3002<\/li>\n\n\n\n<li><strong>Content(\u5185\u5bb9)<\/strong>&nbsp;&#8211; \u76d2\u5b50\u7684\u5185\u5bb9\uff0c\u663e\u793a\u6587\u672c\u548c\u56fe\u50cf\u3002<\/li>\n<\/ul>\n\n\n\n<p>\u4e3a\u4e86\u6b63\u786e\u8bbe\u7f6e\u5143\u7d20\u5728\u6240\u6709\u6d4f\u89c8\u5668\u4e2d\u7684\u5bbd\u5ea6\u548c\u9ad8\u5ea6\uff0c\u4f60\u9700\u8981\u77e5\u9053\u7684\u76d2\u6a21\u578b\u662f\u5982\u4f55\u5de5\u4f5c\u7684\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u5143\u7d20\u7684\u5bbd\u5ea6\u548c\u9ad8\u5ea6<\/h2>\n\n\n\n<p><img decoding=\"async\" src=\"https:\/\/www.runoob.com\/images\/lamp.gif\" alt=\"Remark\"><strong>\u91cd\u8981:<\/strong>&nbsp;\u5f53\u60a8\u6307\u5b9a\u4e00\u4e2a CSS \u5143\u7d20\u7684\u5bbd\u5ea6\u548c\u9ad8\u5ea6\u5c5e\u6027\u65f6\uff0c\u4f60\u53ea\u662f\u8bbe\u7f6e\u5185\u5bb9\u533a\u57df\u7684\u5bbd\u5ea6\u548c\u9ad8\u5ea6\u3002\u8981\u77e5\u9053\uff0c\u5b8c\u6574\u5927\u5c0f\u7684\u5143\u7d20\uff0c\u4f60\u8fd8\u5fc5\u987b\u6dfb\u52a0\u5185\u8fb9\u8ddd\uff0c\u8fb9\u6846\u548c\u5916\u8fb9\u8ddd\u3002<\/p>\n\n\n\n<p>\u4e0b\u9762\u7684\u4f8b\u5b50\u4e2d\u7684\u5143\u7d20\u7684\u603b\u5bbd\u5ea6\u4e3a 450px\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;!DOCTYPE html&gt;\n&lt;html&gt;\n&lt;head&gt;\n&lt;meta charset=\"utf-8\"&gt; \n&lt;style&gt;\ndiv {\n    background-color: lightgrey;\n    width: 300px;\n    border: 25px solid green;\n    padding: 25px;\n    margin: 25px;\n}\n&lt;\/style&gt;\n&lt;\/head&gt;\n&lt;body&gt;\n\n&lt;h2&gt;\u76d2\u5b50\u6a21\u578b\u6f14\u793a&lt;\/h2&gt;\n\n&lt;p&gt;CSS\u76d2\u6a21\u578b\u672c\u8d28\u4e0a\u662f\u4e00\u4e2a\u76d2\u5b50\uff0c\u5c01\u88c5\u5468\u56f4\u7684HTML\u5143\u7d20\uff0c\u5b83\u5305\u62ec\uff1a\u8fb9\u8ddd\uff0c\u8fb9\u6846\uff0c\u586b\u5145\uff0c\u548c\u5b9e\u9645\u5185\u5bb9\u3002&lt;\/p&gt;\n\n&lt;div&gt;\u8fd9\u91cc\u662f\u76d2\u5b50\u5185\u7684\u5b9e\u9645\u5185\u5bb9\u3002\u6709 25px \u5185\u95f4\u8ddd\uff0c25px \u5916\u95f4\u8ddd\u300125px \u7eff\u8272\u8fb9\u6846\u3002&lt;\/div&gt;\n\n&lt;\/body&gt;\n&lt;\/html&gt;<\/code><\/pre>\n\n\n\n<p><strong>\u663e\u793a\u6548\u679c\uff0c\u4ee5\u53ca\u5206\u6790\uff1a<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"http:\/\/codermr.com\/wp-content\/uploads\/2024\/07\/image-19.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1723\" height=\"823\" src=\"http:\/\/codermr.com\/wp-content\/uploads\/2024\/07\/image-19.png\" alt=\"\" class=\"wp-image-1105\" srcset=\"http:\/\/codermr.com\/wp-content\/uploads\/2024\/07\/image-19.png 1723w, http:\/\/codermr.com\/wp-content\/uploads\/2024\/07\/image-19-300x143.png 300w, http:\/\/codermr.com\/wp-content\/uploads\/2024\/07\/image-19-1024x489.png 1024w, http:\/\/codermr.com\/wp-content\/uploads\/2024\/07\/image-19-768x367.png 768w, http:\/\/codermr.com\/wp-content\/uploads\/2024\/07\/image-19-1536x734.png 1536w, http:\/\/codermr.com\/wp-content\/uploads\/2024\/07\/image-19-1222x584.png 1222w, http:\/\/codermr.com\/wp-content\/uploads\/2024\/07\/image-19-922x440.png 922w\" sizes=\"(max-width: 1723px) 100vw, 1723px\" \/><\/a><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p class=\"has-medium-font-size\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-purple-color\">\u91cd\u70b91\uff1a<\/mark><\/strong><\/p>\n\n\n\n<p><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-purple-color\">\u5728 div { width: 300px;  border: 25px solid green;  padding: 25px;  margin: 25px; } \u4e2d\u6307\u5b9a\u7684 width \u5927\u5c0f\u53ea\u662f div \u4e2d\u5185\u5bb9\u7684\u5bbd\u5ea6\uff01\uff01\u800c\u4e0d\u662f div \u7684\u5bbd\u5ea6\uff01div \u7684\u5bbd\u5ea6\u9700\u8981\u52a0\u4e0a border\u3001padding\u3001margin \u7684\u5927\u5c0f\uff01<\/mark><\/strong><\/p>\n\n\n\n<p class=\"has-medium-font-size\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-purple-color\"><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-purple-color\"><\/mark><\/mark><\/strong><\/p>\n\n\n\n<p class=\"has-medium-font-size\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-purple-color\">\u91cd\u70b92<\/mark><\/strong>\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>div {\n    background-color: lightgrey;\n    width: 300px;\n    border: 25px solid green;\n    padding: 25px;\n    margin: 25px;\n    text-align: center;\n}<\/code><\/pre>\n\n\n\n<p><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-purple-color\">\u4e0a\u9762\u4e2d\u7684 width \u503c\uff08\u4e0d\u7ba1\u662f px \u8fd8\u662f\u767e\u5206\u6bd4\uff09\u662f\u6307 div \u4e2d\u5185\u5bb9\u7684\u5bbd\u5ea6\u3001\u800c\u4e0d\u662f\u8bf4\u8fd9\u4e2a div \u53ea\u6709 300px \u5bbd\u5ea6\u3002<\/mark><\/strong><\/p>\n\n\n\n<p><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-purple-color\">div \u4e2d\u7684\u5185\u5bb9\u5bbd\u5ea6\u53ea\u6709 300px \uff0c\u4f60\u4e0d\u8981\u4ee5\u4e3a\u4f60\u770b\u5230\u7684\u8fd9 300px \u7684\u6587\u5b57\u5185\u5bb9\u5c31\u7b49\u540c\u4e8e div \u4e86\uff0c\u8fd9\u662f\u4e00\u4e2a\u5bb9\u6613\u72af\u7684\u9519\u8bef\uff01\uff01<\/mark><\/strong><\/p>\n\n\n\n<p><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-purple-color\">margin \u6240\u5360\u7684\u7a7a\u95f4\u662f\u900f\u660e\u7684\uff01<\/mark><\/strong><\/p>\n\n\n\n<p><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-purple-color\">text-align: center; \u53ea\u662f div \u4e2d\u6587\u5b57\u7684\u5bf9\u9f50\u65b9\u5f0f\uff0c\u800c\u4e0d\u662f div \u81ea\u8eab\u7684\u5bf9\u9f50\u65b9\u5f0f\uff08div \u81ea\u8eab\u5bf9\u9f50\u65b9\u5f0f\u89c1\uff1a<\/mark><\/strong><a href=\"http:\/\/codermr.com\/index.php\/2024\/07\/27\/css_article4\/\">http:\/\/codermr.com\/index.php\/2024\/07\/27\/css_article4\/<\/a><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-purple-color\">\uff09\u3002<\/mark><\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6240\u6709HTML\u5143\u7d20\u53ef\u4ee5\u770b\u4f5c\u76d2\u5b50\uff0c\u5728CSS\u4e2d\uff0c&#8221;box model&#8221;\u8fd9\u4e00\u672f\u8bed\u662f\u7528\u6765\u8bbe\u8ba1\u548c\u5e03&#8230;<\/p>\n","protected":false},"author":1,"featured_media":1101,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[57],"tags":[61],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>CSS \u57fa\u7840\uff08\u4e8c\uff09\uff1a\u76d2\u5b50\u6a21\u578b(Box Model) - \u7801\u5148\u751f\u7684\u535a\u5ba2<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/codermr.com\/index.php\/2024\/07\/27\/css_article2\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"CSS \u57fa\u7840\uff08\u4e8c\uff09\uff1a\u76d2\u5b50\u6a21\u578b(Box Model) - \u7801\u5148\u751f\u7684\u535a\u5ba2\" \/>\n<meta property=\"og:description\" content=\"\u6240\u6709HTML\u5143\u7d20\u53ef\u4ee5\u770b\u4f5c\u76d2\u5b50\uff0c\u5728CSS\u4e2d\uff0c&#8221;box model&#8221;\u8fd9\u4e00\u672f\u8bed\u662f\u7528\u6765\u8bbe\u8ba1\u548c\u5e03...\" \/>\n<meta property=\"og:url\" content=\"http:\/\/codermr.com\/index.php\/2024\/07\/27\/css_article2\/\" \/>\n<meta property=\"og:site_name\" content=\"\u7801\u5148\u751f\u7684\u535a\u5ba2\" \/>\n<meta property=\"article:published_time\" content=\"2024-07-27T04:25:48+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-07-27T11:23:55+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/codermr.com\/wp-content\/uploads\/2024\/07\/box_model1.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"384\" \/>\n\t<meta property=\"og:image:height\" content=\"348\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"\u7801\u5148\u751f\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/mrcode2021\" \/>\n<meta name=\"twitter:site\" content=\"@mrcode2021\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u7801\u5148\u751f\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"http:\/\/codermr.com\/index.php\/2024\/07\/27\/css_article2\/#article\",\"isPartOf\":{\"@id\":\"http:\/\/codermr.com\/index.php\/2024\/07\/27\/css_article2\/\"},\"author\":{\"name\":\"\u7801\u5148\u751f\",\"@id\":\"http:\/\/codermr.com\/#\/schema\/person\/39016e15c79e4f02d1ed3a64688619bf\"},\"headline\":\"CSS \u57fa\u7840\uff08\u4e8c\uff09\uff1a\u76d2\u5b50\u6a21\u578b(Box Model)\",\"datePublished\":\"2024-07-27T04:25:48+00:00\",\"dateModified\":\"2024-07-27T11:23:55+00:00\",\"mainEntityOfPage\":{\"@id\":\"http:\/\/codermr.com\/index.php\/2024\/07\/27\/css_article2\/\"},\"wordCount\":64,\"commentCount\":0,\"publisher\":{\"@id\":\"http:\/\/codermr.com\/#\/schema\/person\/39016e15c79e4f02d1ed3a64688619bf\"},\"keywords\":[\"html_css_js\"],\"articleSection\":[\"\u524d\u7aef\u6280\u672f\"],\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"http:\/\/codermr.com\/index.php\/2024\/07\/27\/css_article2\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"http:\/\/codermr.com\/index.php\/2024\/07\/27\/css_article2\/\",\"url\":\"http:\/\/codermr.com\/index.php\/2024\/07\/27\/css_article2\/\",\"name\":\"CSS \u57fa\u7840\uff08\u4e8c\uff09\uff1a\u76d2\u5b50\u6a21\u578b(Box Model) - \u7801\u5148\u751f\u7684\u535a\u5ba2\",\"isPartOf\":{\"@id\":\"http:\/\/codermr.com\/#website\"},\"datePublished\":\"2024-07-27T04:25:48+00:00\",\"dateModified\":\"2024-07-27T11:23:55+00:00\",\"breadcrumb\":{\"@id\":\"http:\/\/codermr.com\/index.php\/2024\/07\/27\/css_article2\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/codermr.com\/index.php\/2024\/07\/27\/css_article2\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\/\/codermr.com\/index.php\/2024\/07\/27\/css_article2\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"http:\/\/codermr.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"CSS \u57fa\u7840\uff08\u4e8c\uff09\uff1a\u76d2\u5b50\u6a21\u578b(Box Model)\"}]},{\"@type\":\"WebSite\",\"@id\":\"http:\/\/codermr.com\/#website\",\"url\":\"http:\/\/codermr.com\/\",\"name\":\"\u7801\u5148\u751f\u7684\u535a\u5ba2\",\"description\":\"\u6b22 \u8fce \u4e0b \u8f7d \u6211 \u5f00 \u53d1 \u7684 \u5404 \u7aef \u8f6f \u4ef6 \u548c APP\",\"publisher\":{\"@id\":\"http:\/\/codermr.com\/#\/schema\/person\/39016e15c79e4f02d1ed3a64688619bf\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\/\/codermr.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"http:\/\/codermr.com\/#\/schema\/person\/39016e15c79e4f02d1ed3a64688619bf\",\"name\":\"\u7801\u5148\u751f\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"http:\/\/codermr.com\/#\/schema\/person\/image\/\",\"url\":\"http:\/\/codermr.com\/wp-content\/uploads\/2023\/02\/wukong.jpg\",\"contentUrl\":\"http:\/\/codermr.com\/wp-content\/uploads\/2023\/02\/wukong.jpg\",\"width\":400,\"height\":400,\"caption\":\"\u7801\u5148\u751f\"},\"logo\":{\"@id\":\"http:\/\/codermr.com\/#\/schema\/person\/image\/\"},\"sameAs\":[\"http:\/\/codermr.com\",\"https:\/\/twitter.com\/https:\/\/twitter.com\/mrcode2021\"],\"url\":\"http:\/\/codermr.com\/index.php\/author\/coderma\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"CSS \u57fa\u7840\uff08\u4e8c\uff09\uff1a\u76d2\u5b50\u6a21\u578b(Box Model) - \u7801\u5148\u751f\u7684\u535a\u5ba2","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"http:\/\/codermr.com\/index.php\/2024\/07\/27\/css_article2\/","og_locale":"zh_CN","og_type":"article","og_title":"CSS \u57fa\u7840\uff08\u4e8c\uff09\uff1a\u76d2\u5b50\u6a21\u578b(Box Model) - \u7801\u5148\u751f\u7684\u535a\u5ba2","og_description":"\u6240\u6709HTML\u5143\u7d20\u53ef\u4ee5\u770b\u4f5c\u76d2\u5b50\uff0c\u5728CSS\u4e2d\uff0c&#8221;box model&#8221;\u8fd9\u4e00\u672f\u8bed\u662f\u7528\u6765\u8bbe\u8ba1\u548c\u5e03...","og_url":"http:\/\/codermr.com\/index.php\/2024\/07\/27\/css_article2\/","og_site_name":"\u7801\u5148\u751f\u7684\u535a\u5ba2","article_published_time":"2024-07-27T04:25:48+00:00","article_modified_time":"2024-07-27T11:23:55+00:00","og_image":[{"width":384,"height":348,"url":"http:\/\/codermr.com\/wp-content\/uploads\/2024\/07\/box_model1.jpg","type":"image\/jpeg"}],"author":"\u7801\u5148\u751f","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/mrcode2021","twitter_site":"@mrcode2021","twitter_misc":{"\u4f5c\u8005":"\u7801\u5148\u751f","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"http:\/\/codermr.com\/index.php\/2024\/07\/27\/css_article2\/#article","isPartOf":{"@id":"http:\/\/codermr.com\/index.php\/2024\/07\/27\/css_article2\/"},"author":{"name":"\u7801\u5148\u751f","@id":"http:\/\/codermr.com\/#\/schema\/person\/39016e15c79e4f02d1ed3a64688619bf"},"headline":"CSS \u57fa\u7840\uff08\u4e8c\uff09\uff1a\u76d2\u5b50\u6a21\u578b(Box Model)","datePublished":"2024-07-27T04:25:48+00:00","dateModified":"2024-07-27T11:23:55+00:00","mainEntityOfPage":{"@id":"http:\/\/codermr.com\/index.php\/2024\/07\/27\/css_article2\/"},"wordCount":64,"commentCount":0,"publisher":{"@id":"http:\/\/codermr.com\/#\/schema\/person\/39016e15c79e4f02d1ed3a64688619bf"},"keywords":["html_css_js"],"articleSection":["\u524d\u7aef\u6280\u672f"],"inLanguage":"zh-Hans","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["http:\/\/codermr.com\/index.php\/2024\/07\/27\/css_article2\/#respond"]}]},{"@type":"WebPage","@id":"http:\/\/codermr.com\/index.php\/2024\/07\/27\/css_article2\/","url":"http:\/\/codermr.com\/index.php\/2024\/07\/27\/css_article2\/","name":"CSS \u57fa\u7840\uff08\u4e8c\uff09\uff1a\u76d2\u5b50\u6a21\u578b(Box Model) - \u7801\u5148\u751f\u7684\u535a\u5ba2","isPartOf":{"@id":"http:\/\/codermr.com\/#website"},"datePublished":"2024-07-27T04:25:48+00:00","dateModified":"2024-07-27T11:23:55+00:00","breadcrumb":{"@id":"http:\/\/codermr.com\/index.php\/2024\/07\/27\/css_article2\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["http:\/\/codermr.com\/index.php\/2024\/07\/27\/css_article2\/"]}]},{"@type":"BreadcrumbList","@id":"http:\/\/codermr.com\/index.php\/2024\/07\/27\/css_article2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"http:\/\/codermr.com\/"},{"@type":"ListItem","position":2,"name":"CSS \u57fa\u7840\uff08\u4e8c\uff09\uff1a\u76d2\u5b50\u6a21\u578b(Box Model)"}]},{"@type":"WebSite","@id":"http:\/\/codermr.com\/#website","url":"http:\/\/codermr.com\/","name":"\u7801\u5148\u751f\u7684\u535a\u5ba2","description":"\u6b22 \u8fce \u4e0b \u8f7d \u6211 \u5f00 \u53d1 \u7684 \u5404 \u7aef \u8f6f \u4ef6 \u548c APP","publisher":{"@id":"http:\/\/codermr.com\/#\/schema\/person\/39016e15c79e4f02d1ed3a64688619bf"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/codermr.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":["Person","Organization"],"@id":"http:\/\/codermr.com\/#\/schema\/person\/39016e15c79e4f02d1ed3a64688619bf","name":"\u7801\u5148\u751f","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"http:\/\/codermr.com\/#\/schema\/person\/image\/","url":"http:\/\/codermr.com\/wp-content\/uploads\/2023\/02\/wukong.jpg","contentUrl":"http:\/\/codermr.com\/wp-content\/uploads\/2023\/02\/wukong.jpg","width":400,"height":400,"caption":"\u7801\u5148\u751f"},"logo":{"@id":"http:\/\/codermr.com\/#\/schema\/person\/image\/"},"sameAs":["http:\/\/codermr.com","https:\/\/twitter.com\/https:\/\/twitter.com\/mrcode2021"],"url":"http:\/\/codermr.com\/index.php\/author\/coderma\/"}]}},"_links":{"self":[{"href":"http:\/\/codermr.com\/index.php\/wp-json\/wp\/v2\/posts\/1099"}],"collection":[{"href":"http:\/\/codermr.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/codermr.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/codermr.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/codermr.com\/index.php\/wp-json\/wp\/v2\/comments?post=1099"}],"version-history":[{"count":6,"href":"http:\/\/codermr.com\/index.php\/wp-json\/wp\/v2\/posts\/1099\/revisions"}],"predecessor-version":[{"id":1167,"href":"http:\/\/codermr.com\/index.php\/wp-json\/wp\/v2\/posts\/1099\/revisions\/1167"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/codermr.com\/index.php\/wp-json\/wp\/v2\/media\/1101"}],"wp:attachment":[{"href":"http:\/\/codermr.com\/index.php\/wp-json\/wp\/v2\/media?parent=1099"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/codermr.com\/index.php\/wp-json\/wp\/v2\/categories?post=1099"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/codermr.com\/index.php\/wp-json\/wp\/v2\/tags?post=1099"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}