{"id":238448,"date":"2023-12-26T07:46:17","date_gmt":"2023-12-25T23:46:17","guid":{"rendered":"https:\/\/www.idc.net\/help\/238448\/"},"modified":"2023-12-26T07:46:17","modified_gmt":"2023-12-25T23:46:17","slug":"css%e5%85%a5%e9%97%a8-font-variant-position%ef%bc%88%e5%ad%97%e4%bd%93%e4%bd%8d%e7%bd%ae%e5%8f%98%e4%bd%93%ef%bc%89","status":"publish","type":"post","link":"https:\/\/idc.net\/help\/238448\/","title":{"rendered":"Css\u5165\u95e8: font-variant-position\uff08\u5b57\u4f53\u4f4d\u7f6e\u53d8\u4f53\uff09"},"content":{"rendered":"<h2 id=\"css%e5%85%a5%e9%97%a8-font-variant-position%ef%bc%88%e5%ad%97%e4%bd%93%e4%bd%8d%e7%bd%ae%e5%8f%98%e4%bd%93%ef%bc%89-zxBLUAkyIF\">CSS\u5165\u95e8: font-variant-position\uff08\u5b57\u4f53\u4f4d\u7f6e\u53d8\u4f53\uff09<\/h2>\n<p>\u5728CSS\u4e2d\uff0c\u5b57\u4f53\u6837\u5f0f\u662f\u7f51\u9875\u8bbe\u8ba1\u4e2d\u7684\u91cd\u8981\u7ec4\u6210\u90e8\u5206\u3002\u5b57\u4f53\u6837\u5f0f\u53ef\u4ee5\u901a\u8fc7\u5404\u79cdCSS\u5c5e\u6027\u8fdb\u884c\u8c03\u6574\uff0c\u4ee5\u6ee1\u8db3\u4e0d\u540c\u7684\u8bbe\u8ba1\u9700\u6c42\u3002\u5176\u4e2d\u4e00\u4e2a\u6bd4\u8f83\u5e38\u7528\u7684\u5c5e\u6027\u662ffont-variant-position\uff0c\u5b83\u7528\u4e8e\u63a7\u5236\u5b57\u4f53\u7684\u4f4d\u7f6e\u53d8\u4f53\u3002<\/p>\n<h3 id=\"%e4%bb%80%e4%b9%88%e6%98%af%e5%ad%97%e4%bd%93%e4%bd%8d%e7%bd%ae%e5%8f%98%e4%bd%93%ef%bc%9f-zxBLUAkyIF\">\u4ec0\u4e48\u662f\u5b57\u4f53\u4f4d\u7f6e\u53d8\u4f53\uff1f<\/h3>\n<p>\u5b57\u4f53\u4f4d\u7f6e\u53d8\u4f53\u662f\u6307\u5b57\u6bcd\u6216\u5b57\u7b26\u5728\u5782\u76f4\u65b9\u5411\u4e0a\u7684\u4f4d\u7f6e\u8c03\u6574\u3002\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\uff0c\u5b57\u6bcd\u6216\u5b57\u7b26\u7684\u4f4d\u7f6e\u53ef\u80fd\u9700\u8981\u8fdb\u884c\u5fae\u8c03\uff0c\u4ee5\u4fbf\u66f4\u597d\u5730\u9002\u5e94\u8bbe\u8ba1\u5e03\u5c40\u6216\u6ee1\u8db3\u7279\u5b9a\u7684\u8bbe\u8ba1\u9700\u6c42\u3002\u5b57\u4f53\u4f4d\u7f6e\u53d8\u4f53\u53ef\u4ee5\u901a\u8fc7font-variant-position\u5c5e\u6027\u6765\u5b9e\u73b0\u3002<\/p>\n<h3 id=\"font-variant-position%e5%b1%9e%e6%80%a7-zxBLUAkyIF\">font-variant-position\u5c5e\u6027<\/h3>\n<p>font-variant-position\u5c5e\u6027\u7528\u4e8e\u63a7\u5236\u5b57\u4f53\u7684\u4f4d\u7f6e\u53d8\u4f53\u3002\u5b83\u6709\u4e24\u4e2a\u53ef\u80fd\u7684\u503c\uff1a<\/p>\n<ul>\n<li><strong>normal\uff1a<\/strong>\u5b57\u4f53\u7684\u4f4d\u7f6e\u4e0d\u53d1\u751f\u53d8\u5316\u3002<\/li>\n<li><strong>sub\uff1a<\/strong>\u5b57\u4f53\u7684\u4f4d\u7f6e\u4e0b\u964d\u3002<\/li>\n<li><strong>super\uff1a<\/strong>\u5b57\u4f53\u7684\u4f4d\u7f6e\u4e0a\u5347\u3002<\/li>\n<\/ul>\n<p>\u4e0b\u9762\u662f\u4e00\u4e2a\u793a\u4f8b\uff0c\u5c55\u793a\u4e86\u5982\u4f55\u4f7f\u7528font-variant-position\u5c5e\u6027\uff1a<\/p>\n<pre><code>&lt;p style=\"font-variant-position: sub;\"&gt;\u8fd9\u662f\u4e00\u4e2a\u4e0b\u964d\u7684\u6587\u672c&lt;\/p&gt;\n&lt;p style=\"font-variant-position: super;\"&gt;\u8fd9\u662f\u4e00\u4e2a\u4e0a\u5347\u7684\u6587\u672c&lt;\/p&gt;\n<\/code><\/pre>\n<p>\u5728\u4e0a\u9762\u7684\u793a\u4f8b\u4e2d\uff0c\u7b2c\u4e00\u4e2a\u6bb5\u843d\u4e2d\u7684\u6587\u672c\u5c06\u4f1a\u4e0b\u964d\uff0c\u800c\u7b2c\u4e8c\u4e2a\u6bb5\u843d\u4e2d\u7684\u6587\u672c\u5c06\u4f1a\u4e0a\u5347\u3002<\/p>\n<h3 id=\"%e5%ad%97%e4%bd%93%e4%bd%8d%e7%bd%ae%e5%8f%98%e4%bd%93%e7%9a%84%e5%ba%94%e7%94%a8%e5%9c%ba%e6%99%af-zxBLUAkyIF\">\u5b57\u4f53\u4f4d\u7f6e\u53d8\u4f53\u7684\u5e94\u7528\u573a\u666f<\/h3>\n<p>\u5b57\u4f53\u4f4d\u7f6e\u53d8\u4f53\u53ef\u4ee5\u5728\u5404\u79cd\u8bbe\u8ba1\u573a\u666f\u4e2d\u4f7f\u7528\u3002\u4ee5\u4e0b\u662f\u4e00\u4e9b\u5e38\u89c1\u7684\u5e94\u7528\u573a\u666f\uff1a<\/p>\n<ul>\n<li><strong>\u4e0a\u6807\u548c\u4e0b\u6807\uff1a<\/strong>\u5728\u6570\u5b66\u516c\u5f0f\u6216\u5316\u5b66\u65b9\u7a0b\u5f0f\u4e2d\uff0c\u4e0a\u6807\u548c\u4e0b\u6807\u662f\u5e38\u89c1\u7684\u5143\u7d20\u3002\u4f7f\u7528font-variant-position\u5c5e\u6027\u53ef\u4ee5\u8f7b\u677e\u5730\u5c06\u5b57\u6bcd\u6216\u5b57\u7b26\u7684\u4f4d\u7f6e\u8c03\u6574\u4e3a\u4e0a\u6807\u6216\u4e0b\u6807\u3002<\/li>\n<li><strong>\u7279\u6b8a\u7b26\u53f7\uff1a<\/strong>\u67d0\u4e9b\u7279\u6b8a\u7b26\u53f7\u53ef\u80fd\u9700\u8981\u5728\u5782\u76f4\u65b9\u5411\u4e0a\u8fdb\u884c\u5fae\u8c03\uff0c\u4ee5\u4fbf\u66f4\u597d\u5730\u9002\u5e94\u8bbe\u8ba1\u5e03\u5c40\u3002<\/li>\n<li><strong>\u88c5\u9970\u6027\u6587\u672c\uff1a<\/strong>\u5728\u4e00\u4e9b\u88c5\u9970\u6027\u6587\u672c\u8bbe\u8ba1\u4e2d\uff0c\u5b57\u6bcd\u6216\u5b57\u7b26\u7684\u4f4d\u7f6e\u53ef\u80fd\u9700\u8981\u8fdb\u884c\u5fae\u8c03\uff0c\u4ee5\u5b9e\u73b0\u66f4\u597d\u7684\u89c6\u89c9\u6548\u679c\u3002<\/li>\n<\/ul>\n<h3 id=\"%e6%80%bb%e7%bb%93-zxBLUAkyIF\">\u603b\u7ed3<\/h3>\n<p>\u901a\u8fc7\u4f7f\u7528CSS\u7684font-variant-position\u5c5e\u6027\uff0c\u6211\u4eec\u53ef\u4ee5\u8f7b\u677e\u5730\u63a7\u5236\u5b57\u4f53\u7684\u4f4d\u7f6e\u53d8\u4f53\u3002\u8fd9\u4e2a\u5c5e\u6027\u53ef\u4ee5\u5728\u5404\u79cd\u8bbe\u8ba1\u573a\u666f\u4e2d\u4f7f\u7528\uff0c\u5305\u62ec\u4e0a\u6807\u548c\u4e0b\u6807\u3001\u7279\u6b8a\u7b26\u53f7\u4ee5\u53ca\u88c5\u9970\u6027\u6587\u672c\u7b49\u3002\u4e86\u89e3\u548c\u638c\u63e1\u8fd9\u4e2a\u5c5e\u6027\u53ef\u4ee5\u5e2e\u52a9\u6211\u4eec\u66f4\u597d\u5730\u8fdb\u884c\u7f51\u9875\u8bbe\u8ba1\u548c\u6392\u7248\u3002<\/p>\n<h3 id=\"%e9%a6%99%e6%b8%af%e6%9c%8d%e5%8a%a1%e5%99%a8%e9%a6%96%e9%80%89%e5%90%8e%e6%b5%aa%e4%ba%91-zxBLUAkyIF\">\u9999\u6e2f\u670d\u52a1\u5668\u9996\u9009\u540e\u6d6a\u4e91<\/h3>\n<p>\u5982\u679c\u60a8\u6b63\u5728\u5bfb\u627e\u53ef\u9760\u7684\u9999\u6e2f\u670d\u52a1\u5668\u63d0\u4f9b\u5546\uff0c\u540e\u6d6a\u4e91\u662f\u60a8\u7684\u9996\u9009\u3002\u540e\u6d6a\u4e91\u63d0\u4f9b\u9ad8\u6027\u80fd\u7684\u9999\u6e2f\u670d\u52a1\u5668\uff0c\u4ee5\u6ee1\u8db3\u60a8\u7684\u5404\u79cd\u9700\u6c42\u3002\u65e0\u8bba\u60a8\u662f\u4e2a\u4eba\u7528\u6237\u8fd8\u662f\u4f01\u4e1a\u7528\u6237\uff0c\u540e\u6d6a\u4e91\u90fd\u53ef\u4ee5\u4e3a\u60a8\u63d0\u4f9b\u7a33\u5b9a\u53ef\u9760\u7684\u670d\u52a1\u5668\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n<p>\u4e86\u89e3\u66f4\u591a\u5173\u4e8e\u540e\u6d6a\u4e91\u7684\u9999\u6e2f\u670d\u52a1\u5668\uff0c\u8bf7\u8bbf\u95ee\u6211\u4eec\u7684\u5b98\u7f51\uff1a<a href=\"https:\/\/idc.net\">https:\/\/idc.net<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>CSS\u5165\u95e8: font-variant-position\uff08\u5b57\u4f53\u4f4d\u7f6e\u53d8\u4f53\uff09 \u5728CSS\u4e2d\uff0c\u5b57\u4f53\u6837\u5f0f\u662f\u7f51\u9875\u8bbe\u8ba1\u4e2d\u7684\u91cd [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[197854],"tags":[],"class_list":["post-238448","post","type-post","status-publish","format-standard","hentry","category-html"],"_links":{"self":[{"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/posts\/238448","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/comments?post=238448"}],"version-history":[{"count":0,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/posts\/238448\/revisions"}],"wp:attachment":[{"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/media?parent=238448"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/categories?post=238448"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/tags?post=238448"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}