{"id":16517,"date":"2022-02-05T15:25:35","date_gmt":"2022-02-05T06:25:35","guid":{"rendered":"http:\/\/www.code-magagine.com\/?p=16517"},"modified":"2023-05-27T18:24:20","modified_gmt":"2023-05-27T09:24:20","slug":"%e3%80%90css%e3%80%91%e3%80%8ctailwindcss%e3%80%8d%e3%81%ae%e6%96%87%e5%ad%97%e8%a3%85%e9%a3%be","status":"publish","type":"post","link":"http:\/\/www.code-magagine.com\/?p=16517","title":{"rendered":"\u3010CSS\u3011\u300cTailwindCSS\u300d\u306e\u6587\u5b57\u88c5\u98fe\u3001\u30d6\u30ed\u30c3\u30af\u88c5\u98fe"},"content":{"rendered":"<h2>\u6587\u5b57\u88c5\u98fe<\/h2>\n<h3>\u30d5\u30a9\u30f3\u30c8\u30d5\u30a1\u30df\u30ea\u30fc<\/h3>\n<h4>font-sans<\/h4>\n<p>tailwind\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30d5\u30a9\u30f3\u30c8\u30d5\u30a1\u30df\u30ea\u30fc\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h4>font-serif<\/h4>\n<p>\u30d5\u30a9\u30fc\u30de\u30eb\u306a\u5370\u8c61\u3092\u4e0e\u3048\u307e\u3059\u3002<\/p>\n<h4>font-mono<\/h4>\n<p>\u7b49\u5e45\u30d5\u30a9\u30f3\u30c8\u3067\u3059\u3002<\/p>\n<h4>\u30aa\u30ea\u30b8\u30ca\u30eb\u30d5\u30a9\u30f3\u30c8<\/h4>\n<p>\u30aa\u30ea\u30b8\u30ca\u30eb\u30d5\u30a9\u30f3\u30c8\u3092\u9069\u7528\u3057\u305f\u3044\u5834\u5408\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n<h5>config<\/h5>\n<pre class=\"lang:default decode:true\">  theme: {\r\n    extend: {\r\n      fontFamily: {\r\n        \u540d\u524d: [\"self\"],\r\n      },\r\n    },\r\n  },\r\n<\/pre>\n<h5>html<\/h5>\n<pre class=\"lang:default decode:true\">font-\u540d\u524d<\/pre>\n<h3>\u592a\u3055<\/h3>\n<p>9\u6bb5\u968e\u3042\u308a\u307e\u3059\u3002\uff08\u65e5\u672c\u8a9e\u3060\u3068\u6f22\u5b57\u3001\u30ab\u30bf\u30ab\u30ca\u3001\u3072\u3089\u304c\u306a\u306a\u3069\u304c\u3042\u3063\u3066\u5927\u5909\u3067\u3059\u3002\uff09<\/p>\n<h4>\u592a\u5b57<\/h4>\n<div>font-bold<\/div>\n<h3>\u30c6\u30ad\u30b9\u30c8\u30b5\u30a4\u30ba\u5909\u66f4<\/h3>\n<div>\n<div>text-4xl<\/div>\n<h4>\u30aa\u30ea\u30b8\u30ca\u30eb\u30d5\u30a9\u30f3\u30c8<\/h4>\n<p>\u4f8b\u3048\u3070\u516c\u5f0f\u306b\u306a\u3044\u30aa\u30ea\u30b8\u30ca\u30eb\u306e\u300c10xl\u300d\u3068\u3044\u3046\u30d5\u30a9\u30f3\u30c8\u3092\u8ffd\u52a0\u3057\u305f\u3044\u5834\u5408\u306a\u3069\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<div>\n<pre class=\"lang:default decode:true \">  theme: {\r\n    extend: {\r\n      fontSize: {\r\n        \"10xl\": \"9rem\",\r\n      },\r\n    },\r\n<\/pre>\n<p>\u8272\u306e\u5909\u66f4<\/p>\n<\/div>\n<\/div>\n<div>\n<div>text-red-700(\u8272\u306e\u6fc3\u3055\u3001\u6570\u5024\u304c\u4f4e\u3051\u308c\u3070\u8584\u304f\u306a\u308b\u3002)<\/div>\n<\/div>\n<div><\/div>\n<div>\u30ea\u30b9\u30c8<\/div>\n<div>\n<div>\n<h4>\u30ea\u30b9\u30c8\u30b9\u30bf\u30a4\u30eb<\/h4>\n<div>list-decimal<\/div>\n<\/div>\n<h4>\u30ea\u30b9\u30c8\u306e\u5834\u6240<\/h4>\n<p>\u30c7\u30d5\u30a9\u30eb\u30c8\u306f<span style=\"color: #ff0000;\"><strong>\u300clist-outside\u300d<\/strong><\/span>\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u57fa\u672c\u7684\u306b\u5b9f\u52d9\u3067\u306finside\u306e\u65b9\u304c\u4f7f\u3046\u3053\u3068\u304c\u591a\u3044\u3067\u3059\u3002<\/p>\n<h5>\u5185\u5074\u306b\u5165\u308c\u308b<\/h5>\n<div>\n<pre class=\"lang:default decode:true\">list-inside<\/pre>\n<h2>\u30d6\u30ed\u30c3\u30af\u88c5\u98fe<\/h2>\n<h3>\u5171\u901a<\/h3>\n<h4>rem\u3092\u4f7f\u3046\u5834\u5408<\/h4>\n<p>\u6570\u5024\u6307\u5b9a\u306f\u3001<span style=\"color: #ff0000;\"><strong>4\u306e\u500d\u6570<\/strong><\/span>\u3092\u4f7f\u3046\u3068\u7dba\u9e97\u306b\u53ce\u307e\u308b\u3089\u3057\u3044\u3067\u3059\u30024\u306f1rem\u3092\u8868\u30571\u6587\u5b57\u5206\u3068\u3044\u3046\u610f\u5473\u3068\u540c\u7b49\u306b\u306a\u308a\u307e\u3059\u3002\u306a\u306e\u3067\u4f8b\u3048\u3070\u300116\u306a\u30894rem\uff084\u6587\u5b57\u5206\uff09\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h4>%\u3092\u4f7f\u3044\u305f\u3044\u5834\u5408<\/h4>\n<p>\u300c1\/2(50%)\u300d\u3084\u3001\u300c1\/4(25%)\u300d\u306a\u3069\u3068\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<h3>\u30de\u30fc\u30b8\u30f3<\/h3>\n<div>m-8\uff1amargin:8\u3068\u306a\u308b\u3002<\/div>\n<h4>\u30de\u30fc\u30b8\u30f3\u30c8\u30c3\u30d7<\/h4>\n<div>\n<div>mt-4<\/div>\n<\/div>\n<h3>\u30d1\u30c7\u30a3\u30f3\u30b0<\/h3>\n<div>\n<div>p-8\uff1apadding:8\u3068\u306a\u308b\u3002<\/div>\n<\/div>\n<h3>\u30dc\u30fc\u30c0\u30fc<\/h3>\n<h4>border<\/h4>\n<h5>\u592a\u3055<\/h5>\n<p>border-8<\/p>\n<h5>\u8272<\/h5>\n<p>border-blue-${\u6fc3\u3055}<\/p>\n<h5>\u7dda\u3092\u4e38\u3081\u308b\uff08border-radius)<\/h5>\n<p>rounded<\/p>\n<h4>devide<\/h4>\n<p>box\u540c\u58eb\u306e\u4e2d\u9593\u306b\u7dda\u3092\u5f15\u304d\u305f\u3044\u3068\u304d\u306b\u4f7f\u3046\u3002<\/p>\n<h4>ring<\/h4>\n<p>\u30dc\u30c3\u30af\u30b9\u30e2\u30c7\u30eb\u306e\u5916\u5074\u306b\u7dda\u3092\u5f15\u304f\u6a5f\u80fd\u3067\u3059\u3002\u6700\u8fd1\u306f\u3088\u304f\u4f7f\u308f\u308c\u3066\u3044\u307e\u3059\u3002\uff08Instagram\u306a\u3069\u3082\u4f7f\u3063\u3066\u307e\u3059\u3002\uff09<\/p>\n<h3>\u80cc\u666f\u8272<\/h3>\n<div>\n<div>bg-gray-200<\/div>\n<\/div>\n<h3>\u30b7\u30e3\u30c9\u30a6<\/h3>\n<div>\n<div>shadow-lg<\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"\u6587\u5b57\u88c5\u98fe \u30d5\u30a9\u30f3\u30c8\u30d5\u30a1\u30df\u30ea\u30fc font-sans tailwind\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30d5\u30a9\u30f3\u30c8\u30d5\u30a1\u30df\u30ea\u30fc\u306b\u306a\u308a\u307e\u3059\u3002 font-serif \u30d5\u30a9\u30fc\u30de\u30eb\u306a\u5370\u8c61\u3092\u4e0e\u3048\u307e\u3059\u3002 font-mono \u7b49\u5e45\u30d5\u30a9\u30f3\u30c8\u3067\u3059\u3002 \u30aa\u30ea\u30b8\u30ca\u30eb\u30d5\u30a9\u30f3 [&hellip;]","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[64],"tags":[],"_links":{"self":[{"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/posts\/16517"}],"collection":[{"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=16517"}],"version-history":[{"count":11,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/posts\/16517\/revisions"}],"predecessor-version":[{"id":20136,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/posts\/16517\/revisions\/20136"}],"wp:attachment":[{"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=16517"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=16517"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=16517"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}