{"id":3090,"date":"2021-02-25T08:00:55","date_gmt":"2021-02-24T23:00:55","guid":{"rendered":"https:\/\/baigie.me\/officialblog\/?p=3090"},"modified":"2025-01-07T12:05:30","modified_gmt":"2025-01-07T03:05:30","slug":"css-tips-1","status":"publish","type":"post","link":"https:\/\/baigie.me\/officialblog\/2021\/02\/25\/css-tips-1\/","title":{"rendered":"\u7c21\u5358CSS\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\uff06\u30c7\u30b6\u30a4\u30f320\u9078\uff08\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3068\u89e3\u8aac\u4ed8\u304d\uff09"},"content":{"rendered":"<p>CSS\u306f\u4f7f\u3044\u3088\u3046\u306b\u3088\u3063\u3066\u306f\u69d8\u3005\u306a\u8868\u73fe\u304c\u53ef\u80fd\u306a\u5965\u6df1\u3044\u8a00\u8a9e\u3067\u3059\u3002\u3057\u304b\u3057\u3001\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306a\u3069\u51dd\u3063\u305f\u52d5\u304d\u3092\u3059\u308b\u3082\u306e\u306b\u95a2\u3057\u3066\u306f\u30b3\u30fc\u30c9\u306f\u898b\u308c\u3066\u3082\u5b9f\u88c5\u65b9\u6cd5\u3092\u8a73\u3057\u304f\u89e3\u8aac\u3057\u3066\u3044\u308b\u8a18\u4e8b\u306f\u591a\u304f\u306a\u3044\u3088\u3046\u306b\u601d\u3048\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001<a href=\"https:\/\/twitter.com\/sakaccho420\" target=\"_blank\" rel=\"noopener noreferrer\">\u79c1\uff08\u3055\u304b\u3063\u3061\u3087\uff09<\/a>\u304cTwitter\u3067\u904e\u53bb\u306b\u30c4\u30a4\u30fc\u30c8\u3057\u305fCSS\u306e\u6280\u8853\u3092CodePen\u3067\u6539\u3081\u3066\u5b9f\u88c5\u3057\u3001Twitter\u3067\u306f\u89e3\u8aac\u3057\u304d\u308c\u306a\u304b\u3063\u305f\u5b9f\u88c5\u65b9\u6cd5\u3092\u3088\u308a\u8a73\u3057\u304f\u8aac\u660e\u3057\u3066\u3044\u307e\u3059\u3002CSS\u521d\u5b66\u8005\u306e\u65b9\u306b\u3082\u308f\u304b\u308a\u3084\u3059\u3044\u3088\u3046\u306b\u89e3\u8aac\u3057\u3066\u3044\u307e\u3059\u306e\u3067\u3001\u305c\u3072\u53c2\u8003\u306b\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_75 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">\u76ee\u6b21<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-6a06548fbcf13\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\" style='display:none' id=\"ez-toc-cssicon-toggle-item-6a06548fbcf13\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/baigie.me\/officialblog\/2021\/02\/25\/css-tips-1\/#%e3%81%9d%e3%81%ae1-%e4%b8%80%e6%96%87%e5%ad%97%e3%81%9a%e3%81%a4%e7%99%bb%e5%a0%b4%e3%81%99%e3%82%8b%e3%83%86%e3%82%ad%e3%82%b9%e3%83%88%e3%82%a2%e3%83%8b%e3%83%a1%e3%83%bc%e3%82%b7%e3%83%a7%e3%83%b3\" >\u305d\u306e1. \u4e00\u6587\u5b57\u305a\u3064\u767b\u5834\u3059\u308b\u30c6\u30ad\u30b9\u30c8\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/baigie.me\/officialblog\/2021\/02\/25\/css-tips-1\/#%e3%81%9d%e3%81%ae2-%e3%82%b9%e3%83%a9%e3%82%a4%e3%83%89%e3%81%a7%e7%99%bb%e5%a0%b4%e3%81%99%e3%82%8b%e3%83%86%e3%82%ad%e3%82%b9%e3%83%88%e3%82%a2%e3%83%8b%e3%83%a1%e3%83%bc%e3%82%b7%e3%83%a7%e3%83%b3\" >\u305d\u306e2. \u30b9\u30e9\u30a4\u30c9\u3067\u767b\u5834\u3059\u308b\u30c6\u30ad\u30b9\u30c8\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/baigie.me\/officialblog\/2021\/02\/25\/css-tips-1\/#%e3%81%9d%e3%81%ae3-%e5%b9%95%e3%81%ae%e3%82%88%e3%81%86%e3%81%ab%e8%83%8c%e6%99%af%e3%81%8c%e4%b8%8a%e3%81%8c%e3%82%8b%e3%82%a2%e3%83%8b%e3%83%a1%e3%83%bc%e3%82%b7%e3%83%a7%e3%83%b3\" >\u305d\u306e3. \u5e55\u306e\u3088\u3046\u306b\u80cc\u666f\u304c\u4e0a\u304c\u308b\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/baigie.me\/officialblog\/2021\/02\/25\/css-tips-1\/#%e3%81%9d%e3%81%ae4-%e3%83%86%e3%82%ad%e3%82%b9%e3%83%88%e3%82%92%e8%9b%8d%e5%85%89%e3%83%9a%e3%83%b3%e3%81%a7%e3%83%8f%e3%82%a4%e3%83%a9%e3%82%a4%e3%83%88\" >\u305d\u306e4. \u30c6\u30ad\u30b9\u30c8\u3092\u86cd\u5149\u30da\u30f3\u3067\u30cf\u30a4\u30e9\u30a4\u30c8<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/baigie.me\/officialblog\/2021\/02\/25\/css-tips-1\/#%e3%81%9d%e3%81%ae5-%e5%88%a5%e7%aa%93%e3%82%a2%e3%82%a4%e3%82%b3%e3%83%b3\" >\u305d\u306e5. \u5225\u7a93\u30a2\u30a4\u30b3\u30f3<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/baigie.me\/officialblog\/2021\/02\/25\/css-tips-1\/#%e3%81%9d%e3%81%ae6-%e7%9f%a2%e5%8d%b0%e3%82%a2%e3%82%a4%e3%82%b3%e3%83%b3\" >\u305d\u306e6. \u77e2\u5370\u30a2\u30a4\u30b3\u30f3<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/baigie.me\/officialblog\/2021\/02\/25\/css-tips-1\/#%e3%81%9d%e3%81%ae7-%e3%83%ad%e3%83%bc%e3%83%87%e3%82%a3%e3%83%b3%e3%82%b0%e3%82%a2%e3%82%a4%e3%82%b3%e3%83%b3\" >\u305d\u306e7. \u30ed\u30fc\u30c7\u30a3\u30f3\u30b0\u30a2\u30a4\u30b3\u30f3<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/baigie.me\/officialblog\/2021\/02\/25\/css-tips-1\/#%e3%81%9d%e3%81%ae8-%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e3%82%a2%e3%83%83%e3%83%97%e3%83%ad%e3%83%bc%e3%83%89%e3%81%ae%e3%83%9c%e3%82%bf%e3%83%b3%e3%82%ab%e3%82%b9%e3%82%bf%e3%83%9e%e3%82%a4%e3%82%ba\" >\u305d\u306e8. \u30d5\u30a1\u30a4\u30eb\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u306e\u30dc\u30bf\u30f3\u30ab\u30b9\u30bf\u30de\u30a4\u30ba<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/baigie.me\/officialblog\/2021\/02\/25\/css-tips-1\/#%e3%81%9d%e3%81%ae9-%e3%83%a9%e3%82%b8%e3%82%aa%e3%83%9c%e3%82%bf%e3%83%b3%e3%81%ae%e3%82%a2%e3%83%8b%e3%83%a1%e3%83%bc%e3%82%b7%e3%83%a7%e3%83%b3\" >\u305d\u306e9. \u30e9\u30b8\u30aa\u30dc\u30bf\u30f3\u306e\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/baigie.me\/officialblog\/2021\/02\/25\/css-tips-1\/#%e3%81%9d%e3%81%ae10-%e3%83%81%e3%82%a7%e3%83%83%e3%82%af%e3%83%9c%e3%83%83%e3%82%af%e3%82%b9%e3%81%ae%e3%82%a2%e3%83%8b%e3%83%a1%e3%83%bc%e3%82%b7%e3%83%a7%e3%83%b3\" >\u305d\u306e10. \u30c1\u30a7\u30c3\u30af\u30dc\u30c3\u30af\u30b9\u306e\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/baigie.me\/officialblog\/2021\/02\/25\/css-tips-1\/#%e3%81%9d%e3%81%ae11-flex%e3%81%a7%e4%b8%8a%e4%b8%8b%e4%bd%8d%e7%bd%ae%e3%82%92%e6%8f%83%e3%81%88%e3%82%8b\" >\u305d\u306e11. Flex\u3067\u4e0a\u4e0b\u4f4d\u7f6e\u3092\u63c3\u3048\u308b<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/baigie.me\/officialblog\/2021\/02\/25\/css-tips-1\/#%e3%81%9d%e3%81%ae12-padding%e3%81%a7%e6%ad%a3%e6%96%b9%e5%bd%a2\" >\u305d\u306e12. padding\u3067\u6b63\u65b9\u5f62<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/baigie.me\/officialblog\/2021\/02\/25\/css-tips-1\/#%e3%81%9d%e3%81%ae13-column-count%e3%81%a7%e4%b8%8a%e2%86%92%e4%b8%8b%e9%85%8d%e7%bd%ae\" >\u305d\u306e13. column-count\u3067\u4e0a\u2192\u4e0b\u914d\u7f6e<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/baigie.me\/officialblog\/2021\/02\/25\/css-tips-1\/#%e3%81%9d%e3%81%ae14-%e3%83%aa%e3%83%b3%e3%82%af%e3%81%ae%e4%b8%8b%e7%b7%9a%e3%82%a2%e3%83%8b%e3%83%a1%e3%83%bc%e3%82%b7%e3%83%a7%e3%83%b3\" >\u305d\u306e14. \u30ea\u30f3\u30af\u306e\u4e0b\u7dda\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-15\" href=\"https:\/\/baigie.me\/officialblog\/2021\/02\/25\/css-tips-1\/#%e3%81%9d%e3%81%ae15-%e3%83%9c%e3%82%bf%e3%83%b3%e3%81%ae%e6%8b%a1%e5%a4%a7%e3%82%a2%e3%83%8b%e3%83%a1%e3%83%bc%e3%82%b7%e3%83%a7%e3%83%b3\" >\u305d\u306e15. \u30dc\u30bf\u30f3\u306e\u62e1\u5927\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-16\" href=\"https:\/\/baigie.me\/officialblog\/2021\/02\/25\/css-tips-1\/#%e3%81%9d%e3%81%ae16-%e3%83%9c%e3%82%bf%e3%83%b3%e3%81%ae%e3%82%b9%e3%83%a9%e3%82%a4%e3%83%89%e3%82%a2%e3%83%8b%e3%83%a1%e3%83%bc%e3%82%b7%e3%83%a7%e3%83%b3\" >\u305d\u306e16. \u30dc\u30bf\u30f3\u306e\u30b9\u30e9\u30a4\u30c9\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-17\" href=\"https:\/\/baigie.me\/officialblog\/2021\/02\/25\/css-tips-1\/#%e3%81%9d%e3%81%ae17-%e8%84%88%e6%89%93%e3%81%a4%e3%82%88%e3%81%86%e3%81%ab%e5%ba%83%e3%81%8c%e3%82%8b%e6%b3%a2%e7%b4%8b%e3%82%a2%e3%83%8b%e3%83%a1%e3%83%bc%e3%82%b7%e3%83%a7%e3%83%b3\" >\u305d\u306e17. \u8108\u6253\u3064\u3088\u3046\u306b\u5e83\u304c\u308b\u6ce2\u7d0b\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-18\" href=\"https:\/\/baigie.me\/officialblog\/2021\/02\/25\/css-tips-1\/#%e3%81%9d%e3%81%ae18-%e8%87%aa%e8%bb%a2%e3%81%99%e3%82%8b%e5%9c%b0%e7%90%83%e3%82%a2%e3%83%8b%e3%83%a1%e3%83%bc%e3%82%b7%e3%83%a7%e3%83%b3\" >\u305d\u306e18. \u81ea\u8ee2\u3059\u308b\u5730\u7403\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-19\" href=\"https:\/\/baigie.me\/officialblog\/2021\/02\/25\/css-tips-1\/#%e3%81%9d%e3%81%ae19-%e7%be%bd%e3%81%b0%e3%81%9f%e3%81%8f%e9%b3%a5%e3%81%ae%e3%82%a2%e3%83%8b%e3%83%a1%e3%83%bc%e3%82%b7%e3%83%a7%e3%83%b3\" >\u305d\u306e19. \u7fbd\u3070\u305f\u304f\u9ce5\u306e\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-20\" href=\"https:\/\/baigie.me\/officialblog\/2021\/02\/25\/css-tips-1\/#%e3%81%9d%e3%81%ae20-%e7%b4%99%e5%90%b9%e9%9b%aa\" >\u305d\u306e20. \u7d19\u5439\u96ea<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-21\" href=\"https:\/\/baigie.me\/officialblog\/2021\/02\/25\/css-tips-1\/#%e3%81%95%e3%81%84%e3%81%94%e3%81%ab\" >\u3055\u3044\u3054\u306b<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"%e3%81%9d%e3%81%ae1-%e4%b8%80%e6%96%87%e5%ad%97%e3%81%9a%e3%81%a4%e7%99%bb%e5%a0%b4%e3%81%99%e3%82%8b%e3%83%86%e3%82%ad%e3%82%b9%e3%83%88%e3%82%a2%e3%83%8b%e3%83%a1%e3%83%bc%e3%82%b7%e3%83%a7%e3%83%b3\"><\/span>\u305d\u306e1. \u4e00\u6587\u5b57\u305a\u3064\u767b\u5834\u3059\u308b\u30c6\u30ad\u30b9\u30c8\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p class=\"codepen\" data-height=\"500\" data-theme-id=\"dark\" data-default-tab=\"css,result\" data-user=\"sakaccho\" data-slug-hash=\"rNMPRVJ\" style=\"height: 265px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; border: 2px solid; margin: 1em 0; padding: 1em;\" data-pen-title=\"[CSS Tips] Text Show-up Motion\"><span>See the Pen <a href=\"https:\/\/codepen.io\/sakaccho\/pen\/rNMPRVJ\"> [CSS Tips] Text Show-up Motion<\/a> by Takuro Sakai (<a href=\"https:\/\/codepen.io\/sakaccho\">@sakaccho<\/a>) on <a href=\"https:\/\/codepen.io\">CodePen<\/a>.<\/span><\/p>\n<p><script async src=\"https:\/\/cpwebassets.codepen.io\/assets\/embed\/ei.js\"><\/script><\/p>\n<p>\u4e00\u6587\u5b57\u305a\u3064<code>transform<\/code>\u3067\u79fb\u52d5\u3055\u305b\u3066\u3044\u307e\u3059\u3002\u6587\u5b57\u304c\u9014\u5207\u308c\u308b\u3053\u3068\u306a\u304f\u6d41\u308c\u308b\u3088\u3046\u306b<code>transition-delay<\/code>\u3092\u8abf\u6574\u3059\u308b\u306e\u304c\u30dd\u30a4\u30f3\u30c8\u3067\u3059\u3002<\/p>\n<p>\u6587\u5b57\u306f\u305d\u308c\u305e\u308c<code>&lt;span&gt;<\/code>\u3067\u304f\u304f\u308a\u3001\u89aa\u8981\u7d20<code>.title<\/code>\u306b<code>display: flex;<\/code>\u3092\u6307\u5b9a\u3057\u3066\u6a2a\u4e26\u3073\u306b\u3057\u307e\u3059\u3002\u534a\u89d2\u30b9\u30da\u30fc\u30b9\u306f<code>&amp;nbsp;<\/code>\u3067\u5bfe\u5fdc\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-css\">.title span {\r\n  display: block;\r\n  transform: translate(0, 105%);\r\n  transition: transform cubic-bezier(0.215, 0.61, 0.355, 1) 0.5s;\r\n}<\/code><\/pre>\n<p><code>&lt;span&gt;<\/code>\u306f\u901a\u5e38\u6642\u306b<code>transform: translate(0, 105%);<\/code>\u3067\u4e0b\u306b\u79fb\u52d5\u3055\u305b\u3066\u304a\u304d\u307e\u3059\u3002Y\u65b9\u5411\u306b\u300c105%\u300d\u3068\u3057\u3066\u3044\u308b\u306e\u306f\u300c100%\u300d\u3060\u3068\u6587\u5b57\u306e\u4e0a\u7aef\u304c\u306f\u307f\u51fa\u3066\u898b\u3048\u3066\u3057\u307e\u3046\u306e\u3067\u5c11\u3057\u591a\u3081\u306b\u79fb\u52d5\u3055\u305b\u3066\u3044\u307e\u3059\u3002\u305f\u3060\u3057\u3001\u3053\u306e\u79fb\u52d5\u5e45\u3092\u5927\u304d\u304f\u3057\u3059\u304e\u308b\u3068\u30a4\u30fc\u30b8\u30f3\u30b0\u306e\u7de9\u6025\u304c\u898b\u3048\u306a\u304f\u306a\u3063\u3066\u3057\u307e\u3046\u306e\u3067\u6ce8\u610f\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n<pre><code class=\"language-css\">.title span:nth-child(2) {\r\n  transition-delay: 0.06s;\r\n}\r\n.title span:nth-child(3) {\r\n  transition-delay: 0.12s;\r\n}\r\n...<\/code><\/pre>\n<p><code>&lt;span&gt;<\/code>\u3054\u3068\u306b<code>transition-delay<\/code>\u3092\u8a2d\u5b9a\u3057\u30660.06\u79d2\u305a\u3064\u767b\u5834\u3092\u9045\u5ef6\u3055\u305b\u307e\u3059\u3002Sass\u306e\u5834\u5408\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b<code>@for<\/code>\u3092\u4f7f\u3046\u3068\u826f\u3044\u3067\u3059\u3002<\/p>\n<pre><code class=\"language-css\">.title span {\r\n  @for $i from 1 through 13 {\r\n    &amp;:nth-child(#{$i + 1}) {\r\n      $delay: $i * 0.06 + s;\r\n      transition-delay: $delay;\r\n    }\r\n  }\r\n}<\/code><\/pre>\n<p>\u6700\u5f8c\u306b\u3001<code>.titie<\/code>\u306b<code>.-visible<\/code>\u30af\u30e9\u30b9\u304c\u3064\u3044\u305f\u3089<code>transform<\/code>\u306e\u5024\u3092\u3082\u3068\u306b\u623b\u3057\u307e\u3059\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"%e3%81%9d%e3%81%ae2-%e3%82%b9%e3%83%a9%e3%82%a4%e3%83%89%e3%81%a7%e7%99%bb%e5%a0%b4%e3%81%99%e3%82%8b%e3%83%86%e3%82%ad%e3%82%b9%e3%83%88%e3%82%a2%e3%83%8b%e3%83%a1%e3%83%bc%e3%82%b7%e3%83%a7%e3%83%b3\"><\/span>\u305d\u306e2. \u30b9\u30e9\u30a4\u30c9\u3067\u767b\u5834\u3059\u308b\u30c6\u30ad\u30b9\u30c8\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p class=\"codepen\" data-height=\"500\" data-theme-id=\"dark\" data-default-tab=\"css,result\" data-user=\"sakaccho\" data-slug-hash=\"gOwEvMd\" style=\"height: 265px; align-items: center; justify-content: center; border: 2px solid; margin: 1em 0; padding: 1em;\" data-pen-title=\"[CSS Tips] Text Slide Motion\"><span>See the Pen <a href=\"https:\/\/codepen.io\/sakaccho\/pen\/gOwEvMd\"> [CSS Tips] Text Slide Motion<\/a> by Takuro Sakai (<a href=\"https:\/\/codepen.io\/sakaccho\">@sakaccho<\/a>) on <a href=\"https:\/\/codepen.io\">CodePen<\/a>.<\/span><\/p>\n<p>\u30b9\u30e9\u30a4\u30c9\u306e\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306f\u3001\u89aa\u8981\u7d20\u3068\u5b50\u8981\u7d20\u304c\u540c\u3058\u901f\u5ea6\u3067\u9006\u306b\u79fb\u52d5\u3059\u308b\u3053\u3068\u3067\u3001\u79fb\u52d5\u304c\u76f8\u6bba\u3055\u308c\u308b\u306e\u3092\u5229\u7528\u3057\u3066\u5b9f\u88c5\u3057\u307e\u3059\u3002<\/p>\n<p>\u89aa\u3068\u5b50\u3067\u9006\u65b9\u5411\u306b\u79fb\u52d5\u3055\u305b\u308b\u306e\u3067\u8981\u7d20\u306f\u4e8c\u91cd\u306b\u3057\u307e\u3059\u3002\u901a\u5e38\u6642\u306b<code>transform<\/code>\u3067\u89aa\u8981\u7d20<code>.title<\/code>\u3092\u5de6\u3078100%\u3001\u5b50\u8981\u7d20<code>&lt;span&gt;<\/code>\u3092\u53f3\u3078100%\u79fb\u52d5\u3057\u307e\u3059\u3002\u89aa\u8981\u7d20\u304c\u5de6\u306b\u305a\u308c\u307e\u3059\u304c\u3001\u5b50\u8981\u7d20\u3082\u540c\u3058\u5206\u3060\u3051\u53f3\u306b\u305a\u308c\u308b\u306e\u3067\u6587\u5b57\u306f\u5143\u306e\u4f4d\u7f6e\u306b\u3042\u308a\u307e\u3059\u3002\u305f\u3060\u3057\u3001\u89aa\u8981\u7d20\u306e<code>overflow: hidden;<\/code>\u306b\u3088\u3063\u3066\u5b50\u8981\u7d20\u306f\u898b\u3048\u306a\u304f\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><style>@import url('https:\/\/fonts.googleapis.com\/css2?family=Josefin+Sans&amp;display=swap'); .code-box-3 { box-sizing: border-box; display: flex; justify-content: center; align-items: center; position: relative; overflow: hidden; width: 100%; max-width: 720px; margin-top: 28px; padding: 50px 0; background: white; border: solid 1px #e6e4de; border-radius: 10px; } @media print, screen and (min-width: 48em) { .code-box-3 { margin-top: 32px; } } .code-box-3__inner { box-sizing: border-box; display: flex; justify-content: center; align-items: center; transform: scale(0.5); } @media print, screen and (min-width: 48em) { .code-box-3__inner { transform: scale(0.8); } } .code-box-3__title { display: block; transform: translate(-100%, 0); transition: transform cubic-bezier(0.215, 0.61, 0.355, 1) 0.5s; color: #aa8f7b; font-family: 'Josefin Sans', sans-serif; font-size: 2em; font-weight: bold; animation: parentMoving 3s linear infinite; } .code-box-3__title span { display: block; transform: translate(100%, 0); transition: transform cubic-bezier(0.215, 0.61, 0.355, 1) 0.5s; animation: childMoving 3s linear infinite; } .code-box-3__title { overflow: visible; } .code-box-3__title:before { box-sizing: border-box; display: block; content: \"\"; position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: dotted 2px black; } .code-box-3__title span { background: rgba(0,0,0,0.2); } @keyframes parentMoving { 0% { transform: translate(-100%, 0); } 50% { transform: translate(0, 0); } 100% { transform: translate(-100%, 0); } } @keyframes childMoving { 0% { transform: translate(100%, 0); } 50% { transform: translate(0, 0); } 100% { transform: translate(100%, 0); } }<\/style>\n<\/p>\n<div class=\"code-box-3\">\n<div class=\"code-box-3__inner\">\n<div class=\"code-box-3__title\"><span>TEXT ANIMATION<\/span><\/div>\n<\/div>\n<\/div>\n<p>\u767b\u5834\u3055\u305b\u308b\u3068\u304d\u306b<code>.-visible<\/code>\u30af\u30e9\u30b9\u3092\u3064\u3051\u3001<code>transform: translate(0, 0);<\/code>\u3067\u5143\u306e\u4f4d\u7f6e\u306b\u623b\u3057\u307e\u3059\u3002\u53cd\u5bfe\u306e\u4f4d\u7f6e\u306b\u3044\u308b\u4e21\u8005\u304c\u5143\u306e\u4f4d\u7f6e\u306b\u623b\u308d\u3046\u3068\u3059\u308b\u3053\u3068\u3067\u52d5\u4f5c\u304c\u76f8\u6bba\u3055\u308c\u3001\u3042\u305f\u304b\u3082\u305d\u306e\u5834\u3067\u6587\u5b57\u304c\u30b9\u30e9\u30a4\u30c9\u3057\u3066\u8868\u793a\u3055\u308c\u308b\u3088\u3046\u306b\u898b\u3048\u307e\u3059\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"%e3%81%9d%e3%81%ae3-%e5%b9%95%e3%81%ae%e3%82%88%e3%81%86%e3%81%ab%e8%83%8c%e6%99%af%e3%81%8c%e4%b8%8a%e3%81%8c%e3%82%8b%e3%82%a2%e3%83%8b%e3%83%a1%e3%83%bc%e3%82%b7%e3%83%a7%e3%83%b3\"><\/span>\u305d\u306e3. \u5e55\u306e\u3088\u3046\u306b\u80cc\u666f\u304c\u4e0a\u304c\u308b\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p class=\"codepen\" data-height=\"500\" data-theme-id=\"dark\" data-default-tab=\"css,result\" data-user=\"sakaccho\" data-slug-hash=\"QWKPXdy\" style=\"height: 265px; align-items: center; justify-content: center; border: 2px solid; margin: 1em 0; padding: 1em;\" data-pen-title=\"[CSS Tips] \u5e55\u306e\u3088\u3046\u306b\u80cc\u666f\u304c\u4e0a\u304c\u308b\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\"><span>See the Pen <a href=\"https:\/\/codepen.io\/sakaccho\/pen\/QWKPXdy\"> [CSS Tips] \u5e55\u306e\u3088\u3046\u306b\u80cc\u666f\u304c\u4e0a\u304c\u308b\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3<\/a> by Takuro Sakai (<a href=\"https:\/\/codepen.io\/sakaccho\">@sakaccho<\/a>) on <a href=\"https:\/\/codepen.io\">CodePen<\/a>.<\/span><\/p>\n<p>\u4e0a\u304c\u3063\u3066\u304f\u308b\u80cc\u666f\u306f<code>:before<\/code>\u3092<code>position: absolute;<\/code>\u3067\u8981\u7d20\u3044\u3063\u3071\u3044\u306b\u3057\u3066\u8868\u793a\u3057\u307e\u3059\u3002\u306a\u304a\u521d\u671f\u4f4d\u7f6e\u306f<code>transform: translate(0, 100%);<\/code>\u3067\u81ea\u5206\u81ea\u8eab\u306e\u9ad8\u3055\u5206\u3001\u4e0b\u306b\u79fb\u52d5\u3057\u3066\u96a0\u3057\u307e\u3059\u3002<\/p>\n<p><code>.-visible<\/code>\u304c\u4ed8\u4e0e\u3055\u308c\u305f\u3068\u304d\u306b<code>transform: translate(0, 0);<\/code>\u3067\u5143\u306e\u4f4d\u7f6e\u306b\u623b\u3059\u3053\u3068\u3067\u4e0a\u304c\u3063\u3066\u304f\u308b\u3088\u3046\u306a\u52d5\u4f5c\u3092\u5b9f\u73fe\u3067\u304d\u307e\u3059\u3002\u4e0a\u8a18\u3067\u306f\u9023\u52d5\u3057\u3066\u30c6\u30ad\u30b9\u30c8\u3082\u8868\u793a\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u305d\u308c\u305e\u308c\u8868\u793a\u30bf\u30a4\u30df\u30f3\u30b0\u3092<code>transition-delay<\/code>\u3067\u6570\u30df\u30ea\u79d2\u9045\u3089\u305b\u3066\u3044\u307e\u3059\u3002\u6c17\u6301\u3061\u306e\u826f\u3044\u767b\u5834\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306b\u3059\u308b\u306b\u306f\u3001\u3053\u306e\u3088\u3046\u306a\u9023\u52d5\u3059\u308b\u30bf\u30a4\u30df\u30f3\u30b0\u306e\u8abf\u6574\u304c\u91cd\u8981\u306b\u306a\u3063\u3066\u304d\u307e\u3059\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"%e3%81%9d%e3%81%ae4-%e3%83%86%e3%82%ad%e3%82%b9%e3%83%88%e3%82%92%e8%9b%8d%e5%85%89%e3%83%9a%e3%83%b3%e3%81%a7%e3%83%8f%e3%82%a4%e3%83%a9%e3%82%a4%e3%83%88\"><\/span>\u305d\u306e4. \u30c6\u30ad\u30b9\u30c8\u3092\u86cd\u5149\u30da\u30f3\u3067\u30cf\u30a4\u30e9\u30a4\u30c8<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p class=\"codepen\" data-height=\"500\" data-theme-id=\"dark\" data-default-tab=\"css,result\" data-user=\"sakaccho\" data-slug-hash=\"OJbXPQb\" style=\"height: 265px; align-items: center; justify-content: center; border: 2px solid; margin: 1em 0; padding: 1em;\" data-pen-title=\"[CSS Tips] \u86cd\u5149\u30da\u30f3\"><span>See the Pen <a href=\"https:\/\/codepen.io\/sakaccho\/pen\/OJbXPQb\"> [CSS Tips] \u86cd\u5149\u30da\u30f3<\/a> by Takuro Sakai (<a href=\"https:\/\/codepen.io\/sakaccho\">@sakaccho<\/a>) on <a href=\"https:\/\/codepen.io\">CodePen<\/a>.<\/span><\/p>\n<p>\u30c6\u30ad\u30b9\u30c8\u3092\u86cd\u5149\u30da\u30f3\u3067\u30cf\u30a4\u30e9\u30a4\u30c8\u3059\u308bCSS\u3067\u3059\u3002\u30cf\u30a4\u30e9\u30a4\u30c8\u3057\u305f\u3044\u90e8\u5206\u3092<code>&lt;span&gt;<\/code>\u3067\u304f\u304f\u308a\u3001<code>background<\/code>\u306b\u30b0\u30e9\u30c7\u30fc\u30b7\u30e7\u30f3\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u3067\u5b9f\u73fe\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><code>background<\/code>\u306b\u306f<code>linear-gradient(transparent 40%, yellow 40%)<\/code>\u3068\u3044\u3046\u5024\u3092\u6307\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u306f\u4e0b\u56f3\u306e\u3088\u3046\u306b\u300c\u4e0a\u304b\u3089\u4e0b\u65b9\u5411\u306b\u304b\u3051\u30660\uff5e40%\u90e8\u5206\u306f\u900f\u660e\u300140\uff5e100%\u306f\u9ec4\u8272\u300d\u3068\u3044\u3046\u5185\u5bb9\u3067\u3059\u3002\u9ec4\u8272\u3044\u30a8\u30ea\u30a2\u3092\u7e2e\u3081\u305f\u308a\u62e1\u3052\u305f\u308a\u3057\u305f\u3044\u5834\u5408\u306f\u3053\u306e\u30d1\u30fc\u30bb\u30f3\u30c6\u30fc\u30b8\u3092\u5909\u66f4\u3057\u3066\u304f\u3060\u3055\u3044\u3002<code>inline<\/code>\u8981\u7d20\u306a\u306e\u3067\u3001\u884c\u306e\u6298\u308a\u8fd4\u3057\u306b\u3082\u5bfe\u5fdc\u3057\u3066\u3044\u3066\u4f7f\u3044\u52dd\u624b\u306e\u826f\u3044\u30d1\u30fc\u30c4\u3067\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/baigie.me\/officialblog\/wp-content\/uploads\/2021\/02\/highlight@2x.png\" alt=\"\u80cc\u666f\u306b\u30b0\u30e9\u30c7\u30fc\u30b7\u30e7\u30f3\u6307\u5b9a\u3057\u305f\u3068\u304d\u306e\u914d\u5206\u30a4\u30e1\u30fc\u30b8\" width=\"1440\" height=\"360\" class=\"alignnone\" \/><\/p>\n<h2><span class=\"ez-toc-section\" id=\"%e3%81%9d%e3%81%ae5-%e5%88%a5%e7%aa%93%e3%82%a2%e3%82%a4%e3%82%b3%e3%83%b3\"><\/span>\u305d\u306e5. \u5225\u7a93\u30a2\u30a4\u30b3\u30f3<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p class=\"codepen\" data-height=\"500\" data-theme-id=\"dark\" data-default-tab=\"css,result\" data-user=\"sakaccho\" data-slug-hash=\"bGwXMVG\" style=\"height: 265px; align-items: center; justify-content: center; border: 2px solid; margin: 1em 0; padding: 1em;\" data-pen-title=\"[CSS Tips] \u5225\u7a93\u30a2\u30a4\u30b3\u30f3\"><span>See the Pen <a href=\"https:\/\/codepen.io\/sakaccho\/pen\/bGwXMVG\"> [CSS Tips] \u5225\u7a93\u30a2\u30a4\u30b3\u30f3<\/a> by Takuro Sakai (<a href=\"https:\/\/codepen.io\/sakaccho\">@sakaccho<\/a>) on <a href=\"https:\/\/codepen.io\">CodePen<\/a>.<\/span><\/p>\n<p>\u753b\u50cf\u3092\u4f7f\u308f\u305a\u306bCSS\u306e\u307f\u3067\u5b9f\u88c5\u3057\u307e\u3059\u3002\u30d6\u30ed\u30c3\u30af\u8981\u7d20\u30921\u3064\u7528\u610f\u3057\u3001<code>:before<\/code>\u3068<code>:after<\/code>\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<p>\u3044\u305a\u308c\u3082<code>position: absolute;<\/code>\u3067\u914d\u7f6e\u3057<code>border<\/code>\u3067\u7dda\u3092\u63cf\u753b\u3057\u307e\u3059\u3002<code>:before<\/code>\u306b\u306f\u56db\u89d2\u5f62\u3092\u3001<code>:after<\/code>\u306b\u306f\u53f3\u8fba\u3068\u5e95\u8fba\u306e\u307f\u63cf\u753b\u3057\u3066L\u5b57\u306b\u3057\u3001<code>:before<\/code>\u306b\u91cd\u306a\u3089\u306a\u3044\u3088\u3046\u306b\u4f4d\u7f6e\u8abf\u6574\u3057\u3066\u5b8c\u6210\u3067\u3059\u3002\u56db\u89d2\u5f62\u306e\u4e2d\u629c\u304d\u306a\u3069\u306f\u900f\u904e\u72b6\u614b\u306a\u306e\u3067\u3001\u3069\u3093\u306a\u80cc\u666f\u8272\u306e\u30da\u30fc\u30b8\u306b\u3082\u4f7f\u7528\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"%e3%81%9d%e3%81%ae6-%e7%9f%a2%e5%8d%b0%e3%82%a2%e3%82%a4%e3%82%b3%e3%83%b3\"><\/span>\u305d\u306e6. \u77e2\u5370\u30a2\u30a4\u30b3\u30f3<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p class=\"codepen\" data-height=\"500\" data-theme-id=\"dark\" data-default-tab=\"css,result\" data-user=\"sakaccho\" data-slug-hash=\"mdrNKKW\" style=\"height: 265px; align-items: center; justify-content: center; border: 2px solid; margin: 1em 0; padding: 1em;\" data-pen-title=\"[CSS Tips] \u77e2\u5370\u30a2\u30a4\u30b3\u30f3\"><span>See the Pen <a href=\"https:\/\/codepen.io\/sakaccho\/pen\/mdrNKKW\"> [CSS Tips] \u77e2\u5370\u30a2\u30a4\u30b3\u30f3<\/a> by Takuro Sakai (<a href=\"https:\/\/codepen.io\/sakaccho\">@sakaccho<\/a>) on <a href=\"https:\/\/codepen.io\">CodePen<\/a>.<\/span><\/p>\n<p>\u77e2\u5370\u3082CSS\u3060\u3051\u3067\u4f5c\u6210\u3067\u304d\u307e\u3059\u3002\u3053\u3061\u3089\u3082block\u8981\u7d20\u306740px\u306e\u6b63\u65b9\u5f62\u3092\u4f5c\u6210\u3057\u3001<code>border<\/code>\u3067\u53f3\u8fba\u3068\u5e95\u8fba\u306b\u7dda\u3092\u63cf\u753b\u3057\u307e\u3059\u3002\u6700\u5f8c\u306b<code>transform: rotate(45deg);<\/code>\u306745\u5ea6\u50be\u3051\u307e\u3059\u3002\u8981\u7d20\u306e\u5927\u304d\u3055\u3084\u7dda\u306e\u592a\u3055\u306f\u3001\u4f7f\u3046\u5834\u6240\u306b\u5408\u308f\u305b\u3066\u9069\u5b9c\u5909\u66f4\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p><code>&lt;a&gt;<\/code>\u30bf\u30b0\u306e\u4e2d\u3067\u30ea\u30f3\u30af\u30c6\u30ad\u30b9\u30c8\u306e\u6a2a\u306b\u7f6e\u304f\u3053\u3068\u304c\u591a\u3044\u306e\u3067\u3001<code>display: inline-block;<\/code>\u306b\u3057\u3066\u304a\u304f\u3068\u6271\u3044\u3084\u3059\u3044\u3067\u3057\u3087\u3046\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"%e3%81%9d%e3%81%ae7-%e3%83%ad%e3%83%bc%e3%83%87%e3%82%a3%e3%83%b3%e3%82%b0%e3%82%a2%e3%82%a4%e3%82%b3%e3%83%b3\"><\/span>\u305d\u306e7. \u30ed\u30fc\u30c7\u30a3\u30f3\u30b0\u30a2\u30a4\u30b3\u30f3<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p class=\"codepen\" data-height=\"500\" data-theme-id=\"dark\" data-default-tab=\"css,result\" data-user=\"sakaccho\" data-slug-hash=\"abmejZN\" style=\"height: 265px; align-items: center; justify-content: center; border: 2px solid; margin: 1em 0; padding: 1em;\" data-pen-title=\"[CSS Tips] \u30ed\u30fc\u30c7\u30a3\u30f3\u30b0\u30a2\u30a4\u30b3\u30f3\"><span>See the Pen <a href=\"https:\/\/codepen.io\/sakaccho\/pen\/abmejZN\"> [CSS Tips] \u30ed\u30fc\u30c7\u30a3\u30f3\u30b0\u30a2\u30a4\u30b3\u30f3<\/a> by Takuro Sakai (<a href=\"https:\/\/codepen.io\/sakaccho\">@sakaccho<\/a>) on <a href=\"https:\/\/codepen.io\">CodePen<\/a>.<\/span><\/p>\n<p>\u8272\u9055\u3044\u306e<code>box-shadow<\/code>\u30928\u7a2e\u985e\u8a2d\u5b9a\u3057\u3001<code>animation<\/code>\u3092\u30d1\u30e9\u30d1\u30e9\u6f2b\u753b\u306e\u8981\u9818\u3067\u6307\u5b9a\u3057\u3066\u518d\u73fe\u3057\u307e\u3059\u3002<\/p>\n<p>\u307e\u305a\u306f<code>box-shadow<\/code>\u306e\u3082\u3068\u306b\u306a\u308b15px\u306e\u771f\u5186\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u305d\u3053\u306b\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30ab\u30f3\u30de\u533a\u5207\u308a\u3067<code>box-shadow<\/code>\u3092\u8272\u9055\u3044\u3067\u6307\u5b9a\u3057\u307e\u3057\u3087\u3046\u3002\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u306e\u901a\u308a\u30018\u3064\u306e\u65b9\u89d2\u306b\u914d\u7f6e\u3055\u308c\u308b\u3088\u3046\u306bX\u3068Y\u306e\u4f4d\u7f6e\u3092\u6307\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002\u304f\u3063\u304d\u308a\u3057\u305f\u5f71\u306b\u3057\u305f\u3044\u306e\u3067\u5e83\u304c\u308a\u306e\u5024\u306f<code>0<\/code>\u306b\u3057\u307e\u3059\u3002\u5f71\u3060\u3051\u5229\u7528\u3057\u3001\u6700\u521d\u306b\u4f5c\u6210\u3057\u305f\u5186\u8981\u7d20\u306f\u898b\u3048\u306a\u3044\u72b6\u614b\u306e\u307e\u307e\u3001\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u306d\u3002<\/p>\n<pre><code class=\"language-css\">box-shadow:\r\n  0 -30px 0 #eee,     \/*  \u4e0a  *\/\r\n  21px -21px 0 #ddd,  \/* \u53f3\u4e0a *\/\r\n  30px 0 0 #ccc,      \/*  \u53f3  *\/\r\n  21px 21px 0 #bbb,   \/* \u53f3\u4e0b *\/\r\n  0 30px 0 #aaa,      \/*  \u4e0b  *\/\r\n  -21px 21px 0 #999,  \/* \u5de6\u4e0b *\/\r\n  -30px 0 0 #666,     \/*  \u5de6  *\/\r\n  -21px -21px 0 #000; \/* \u5de6\u4e0a *\/<\/code><\/pre>\n<p>\u6700\u5f8c\u306b\u3001<code>animation: rotate 1s steps(8) 0s infinite;<\/code>\u3067\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002\u300crotate\u300d\u3068\u3044\u3046<code>@keyframes<\/code>\u30921\u79d2\u9593\u3067\u7e70\u308a\u8fd4\u3057\u518d\u751f\u3057\u307e\u3059\u3002\u3053\u3053\u3067<code>steps(8)<\/code>\u3068\u3044\u3046\u5024\u3092\u8a2d\u5b9a\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u3053\u308c\u306f<code>animation-timing-function<\/code>\u306e\u5024\u3067\u3001<code>(n)<\/code>\u3067\u6307\u5b9a\u3057\u305f\u56de\u6570\u3067\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u7b49\u5206\u3057\u3066\u5b9f\u884c\u3059\u308b\u3068\u3044\u3046\u3082\u306e\u3067\u3059\u3002\u3064\u307e\u308a\u300crotate\u300d\u30928\u7b49\u5206\u306b\u3057\u3066\u30010%\u306e\u3068\u304d\u306b0\u5ea6\u300112.5%\u306e\u3068\u304d\u306b45\u5ea6\u306e\u4f4d\u7f6e&#8230;\u306e\u3088\u3046\u306b\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u304c\u5b9f\u884c\u3055\u308c\u30018\u30b3\u30de\u306e\u30d1\u30e9\u30d1\u30e9\u6f2b\u753b\u3068\u306a\u308b\u306e\u3067\u3059\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"%e3%81%9d%e3%81%ae8-%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e3%82%a2%e3%83%83%e3%83%97%e3%83%ad%e3%83%bc%e3%83%89%e3%81%ae%e3%83%9c%e3%82%bf%e3%83%b3%e3%82%ab%e3%82%b9%e3%82%bf%e3%83%9e%e3%82%a4%e3%82%ba\"><\/span>\u305d\u306e8. \u30d5\u30a1\u30a4\u30eb\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u306e\u30dc\u30bf\u30f3\u30ab\u30b9\u30bf\u30de\u30a4\u30ba<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p class=\"codepen\" data-height=\"500\" data-theme-id=\"dark\" data-default-tab=\"css,result\" data-user=\"sakaccho\" data-slug-hash=\"bGBwgyb\" style=\"height: 265px; align-items: center; justify-content: center; border: 2px solid; margin: 1em 0; padding: 1em;\" data-pen-title=\"bGBwgyb\"><span>See the Pen <a href=\"https:\/\/codepen.io\/sakaccho\/pen\/bGBwgyb\"> bGBwgyb<\/a> by Takuro Sakai (<a href=\"https:\/\/codepen.io\/sakaccho\">@sakaccho<\/a>) on <a href=\"https:\/\/codepen.io\">CodePen<\/a>.<\/span><\/p>\n<p>\u30d5\u30a1\u30a4\u30eb\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u306eUI\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u300c\u30d5\u30a1\u30a4\u30eb\u3092\u9078\u629e\u300d\u3084\u300c\u9078\u629e\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u300d\u3068\u3044\u3046\u6587\u8a00\uff08Google Chrome\u306e\u5834\u5408\uff09\u3092\u5909\u66f4\u3067\u304d\u307e\u305b\u3093\u3002\u3053\u308c\u3089\u3092\u4efb\u610f\u306e\u30c7\u30b6\u30a4\u30f3\u306b\u5909\u66f4\u3059\u308b\u306b\u306f<code>&lt;input&gt;<\/code>\u3092\u975e\u8868\u793a\u306b\u3057\u3001<code>&lt;label&gt;<\/code>\u3092\u6d3b\u7528\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-css\">input {\r\n  position: absolute;\r\n  width: 1px;\r\n  height: 1px;\r\n  overflow: hidden;\r\n  clip: rect(1px, 1px, 1px, 1px);\r\n}<\/code><\/pre>\n<p>\u305f\u3060\u3057\u3001\u5358\u7d14\u306b<code>display: none;<\/code>\u3084<code>visibility: hidden;<\/code>\u306a\u3069\u3067\u975e\u8868\u793a\u306b\u3057\u3066\u3057\u307e\u3046\u3068\u3001\u30b9\u30af\u30ea\u30fc\u30f3\u30ea\u30fc\u30c0\u30fc\u306a\u3069\u306e\u97f3\u58f0\u8aad\u307f\u4e0a\u3052\u6642\u306b\u8aad\u307f\u4e0a\u3052\u3089\u308c\u306a\u3044\u53ef\u80fd\u6027\u304c\u3042\u308b\u306e\u3067\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b<code>clip<\/code>\u30671px\u306e\u6b63\u65b9\u5f62\u306b\u5207\u308a\u629c\u304d\u3001\u64ec\u4f3c\u7684\u306b\u898b\u3048\u306a\u304f\u3059\u308b\u65b9\u6cd5\u3092\u7528\u3044\u307e\u3059\u3002<code>position: absolute;<\/code>\u306f<code>clip<\/code>\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u6709\u52b9\u5316\u3059\u308b\u305f\u3081\u306b\u6307\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"%e3%81%9d%e3%81%ae9-%e3%83%a9%e3%82%b8%e3%82%aa%e3%83%9c%e3%82%bf%e3%83%b3%e3%81%ae%e3%82%a2%e3%83%8b%e3%83%a1%e3%83%bc%e3%82%b7%e3%83%a7%e3%83%b3\"><\/span>\u305d\u306e9. \u30e9\u30b8\u30aa\u30dc\u30bf\u30f3\u306e\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p class=\"codepen\" data-height=\"500\" data-theme-id=\"dark\" data-default-tab=\"css,result\" data-user=\"sakaccho\" data-slug-hash=\"BaQzqod\" style=\"height: 265px; align-items: center; justify-content: center; border: 2px solid; margin: 1em 0; padding: 1em;\" data-pen-title=\"[CSS Tips] \u30e9\u30b8\u30aa\u30dc\u30bf\u30f3\"><span>See the Pen <a href=\"https:\/\/codepen.io\/sakaccho\/pen\/BaQzqod\"> [CSS Tips] \u30e9\u30b8\u30aa\u30dc\u30bf\u30f3<\/a> by Takuro Sakai (<a href=\"https:\/\/codepen.io\/sakaccho\">@sakaccho<\/a>) on <a href=\"https:\/\/codepen.io\">CodePen<\/a>.<\/span><\/p>\n<p>\u30af\u30ea\u30c3\u30af\u3055\u308c\u305f\u3089\u4e2d\u5fc3\u304b\u3089\u62e1\u5927\u3059\u308b\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3067\u30c1\u30a7\u30c3\u30af\u72b6\u614b\u306b\u306a\u308b\u30e9\u30b8\u30aa\u30dc\u30bf\u30f3\u3067\u3059\u3002\u3053\u3061\u3089\u3082\u4ed5\u7d44\u307f\u306f\u524d\u51fa\u306e\u30c1\u30a7\u30c3\u30af\u30dc\u30c3\u30af\u30b9\u3068\u540c\u69d8\u3067\u3001<code>&lt;input&gt;<\/code>\u3092\u975e\u8868\u793a\u306b\u3057\u3066<code>&lt;label&gt;<\/code>\u306e\u7591\u4f3c\u8981\u7d20\u3067\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u30c1\u30a7\u30c3\u30af\u72b6\u614b\u306e\u9ec4\u8272\u3044\u4e38\u306f\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u3067<code>transform: scale(0);<\/code>\u3067\u62e1\u5927\u73870%\u306b\u3057\u307e\u3059\u3002\u4eca\u56de\u306f<code>transform-origin<\/code>\u306e\u8a2d\u5b9a\u3092\u3057\u3066\u3044\u306a\u3044\u306e\u3067\u4e2d\u5fc3\u304c\u57fa\u6e96\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-css\">input:checked + label:after {\r\n  transform: scale(1);\r\n}<\/code><\/pre>\n<p>\u30c1\u30a7\u30c3\u30af\u304c\u3064\u3044\u305f\u3068\u304d\u306b<code>scale(1)<\/code>\u306b\u623b\u3059\u3053\u3068\u3067\u4e2d\u5fc3\u304b\u3089\u62e1\u5927\u3059\u308b\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"%e3%81%9d%e3%81%ae10-%e3%83%81%e3%82%a7%e3%83%83%e3%82%af%e3%83%9c%e3%83%83%e3%82%af%e3%82%b9%e3%81%ae%e3%82%a2%e3%83%8b%e3%83%a1%e3%83%bc%e3%82%b7%e3%83%a7%e3%83%b3\"><\/span>\u305d\u306e10. \u30c1\u30a7\u30c3\u30af\u30dc\u30c3\u30af\u30b9\u306e\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p class=\"codepen\" data-height=\"500\" data-theme-id=\"dark\" data-default-tab=\"css,result\" data-user=\"sakaccho\" data-slug-hash=\"oNYzBQq\" style=\"height: 265px; align-items: center; justify-content: center; border: 2px solid; margin: 1em 0; padding: 1em;\" data-pen-title=\"oNYzBQq\"><span>See the Pen <a href=\"https:\/\/codepen.io\/sakaccho\/pen\/oNYzBQq\"> oNYzBQq<\/a> by Takuro Sakai (<a href=\"https:\/\/codepen.io\/sakaccho\">@sakaccho<\/a>) on <a href=\"https:\/\/codepen.io\">CodePen<\/a>.<\/span><\/p>\n<p>\u30da\u30f3\u3067\u66f8\u3044\u305f\u3088\u3046\u306b\u30c1\u30a7\u30c3\u30af\u30de\u30fc\u30af\u3092\u8868\u793a\u3059\u308b\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3067\u3059\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u307e\u307e\u3067\u306f\u8272\u3084\u5f62\u3092\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3067\u304d\u306a\u3044\u306e\u3067\u3001\u5148\u7a0b\u7d39\u4ecb\u3057\u305f\u65b9\u6cd5\u3067<code>&lt;input&gt;<\/code>\u3092\u975e\u8868\u793a\u306b\u3057\u3001<code>&lt;label&gt;<\/code>\u3068\u305d\u306e\u7591\u4f3c\u8981\u7d20\u3067\u30c1\u30a7\u30c3\u30af\u30dc\u30c3\u30af\u30b9\u3092\u518d\u73fe\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u307e\u305a<code>&lt;label&gt;<\/code>\u306e\u5de6\u5074\u306b<code>padding<\/code>\u3092\u3068\u308a\u3001<code>:before<\/code>\u3067\u30b0\u30ec\u30fc\u306e\u67a0\u7dda\u3001<code>:after<\/code>\u3067\u30c1\u30a7\u30c3\u30af\u30de\u30fc\u30af\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u3069\u3061\u3089\u3082<code>position: absolute;<\/code>\u3067\u914d\u7f6e\u3057\u307e\u3057\u3087\u3046\u3002<code>&lt;input&gt;<\/code>\u306b\u30c1\u30a7\u30c3\u30af\u304c\u5165\u3063\u305f\u3068\u304d\u306e\u30b9\u30bf\u30a4\u30eb\u306f\u4e0b\u8a18\u306e\u3088\u3046\u306b<code>input:checked<\/code>\u306b\u96a3\u308a\u5408\u3046<code>label<\/code>\u3067\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-css\">input:checked + label:before {\r\n  background-color: #074DBF;\r\n  border-color: #074DBF;\r\n}\r\n\r\ninput:checked + label:after {\r\n  transform: rotate(-45deg) scaleX(1);\r\n}<\/code><\/pre>\n<p>\u30c1\u30a7\u30c3\u30af\u30de\u30fc\u30af\u306e\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3067\u3059\u304c\u3001<code>transform<\/code>\u306e<code>scaleX(0)<\/code>\u3067X\u65b9\u5411\u3060\u3051\u306b\u4f38\u3073\u7e2e\u307f\u3055\u305b\u308b\u3053\u3068\u3067\u5b9f\u73fe\u3057\u3066\u3044\u307e\u3059\u3002\u307e\u305f\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u3060\u3068\u62e1\u5927\u306e\u8d77\u70b9\u306f\u4e2d\u5fc3\u306b\u306a\u3063\u3066\u3057\u307e\u3046\u305f\u3081\u3001<code>transform-origin: left;<\/code>\u3067\u8d77\u70b9\u3092\u5de6\u7aef\u306b\u3057\u307e\u3059\u3002\u30c1\u30a7\u30c3\u30af\u30de\u30fc\u30af\u3092-45\u5ea6\u50be\u3051\u3066\u3044\u308b\u305f\u3081\u3001\u5de6\u4e0b\u304b\u3089\u53f3\u4e0a\u306b\u304b\u3051\u3066\u5143\u306e\u5f62\u306b\u623b\u308a\u306a\u304c\u3089\u767b\u5834\u3057\u307e\u3059\u3002\u30b9\u30ed\u30fc\u3067\u518d\u751f\u3057\u305f\u4e0b\u56f3\u3092\u898b\u3066\u3044\u305f\u3060\u304f\u3068\u308f\u304b\u308a\u3084\u3059\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/baigie.me\/officialblog\/wp-content\/uploads\/2021\/02\/checkbox-slow.gif\" alt=\"\u30c1\u30a7\u30c3\u30af\u30de\u30fc\u30af\u304c\u8868\u793a\u3055\u308c\u308b\u3068\u3053\u308d\u3092\u30b9\u30ed\u30fc\u3067\u518d\u751f\u3057\u305f\u753b\u50cf\" \/><\/p>\n<h2><span class=\"ez-toc-section\" id=\"%e3%81%9d%e3%81%ae11-flex%e3%81%a7%e4%b8%8a%e4%b8%8b%e4%bd%8d%e7%bd%ae%e3%82%92%e6%8f%83%e3%81%88%e3%82%8b\"><\/span>\u305d\u306e11. Flex\u3067\u4e0a\u4e0b\u4f4d\u7f6e\u3092\u63c3\u3048\u308b<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p class=\"codepen\" data-height=\"500\" data-theme-id=\"dark\" data-default-tab=\"css,result\" data-user=\"sakaccho\" data-slug-hash=\"qBqarOK\" style=\"height: 265px; align-items: center; justify-content: center; border: 2px solid; margin: 1em 0; padding: 1em;\" data-pen-title=\"[CSS Tips] Flex\u3067\u4e0a\u4e0b\u4f4d\u7f6e\u3092\u63c3\u3048\u308b\"><span>See the Pen <a href=\"https:\/\/codepen.io\/sakaccho\/pen\/qBqarOK\"> [CSS Tips] Flex\u3067\u4e0a\u4e0b\u4f4d\u7f6e\u3092\u63c3\u3048\u308b<\/a> by Takuro Sakai (<a href=\"https:\/\/codepen.io\/sakaccho\">@sakaccho<\/a>) on <a href=\"https:\/\/codepen.io\">CodePen<\/a>.<\/span><\/p>\n<p>\u753b\u50cf\u3084\u30c6\u30ad\u30b9\u30c8\u3092\u6a2a\u4e26\u3073\u306b\u914d\u7f6e\u3057\u3066\u3001\u4e0a\u4e0b\u4f4d\u7f6e\u3092\u4e2d\u592e\u306b\u3057\u305f\u3044\u3053\u3068\u3001\u3088\u304f\u3042\u308a\u307e\u3059\u3088\u306d\u3002Flex\u3092\u4f7f\u3048\u3070\u304b\u3093\u305f\u3093\u306b\u5b9f\u73fe\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u4e0a\u306e\u4f8b\u3067\u306f<code>&lt;div&gt;<\/code>\u306e\u4e2d\u306b<code>&lt;img&gt;<\/code>\u3068\u30c6\u30ad\u30b9\u30c8\u3092\u5165\u529b\u3057\u305f<code>&lt;span&gt;<\/code>\u3092\u4e26\u3079\u3066\u3044\u307e\u3059\u304c\u3001\u89aa<code>&lt;div&gt;<\/code>\u3092flex\u306b\u3057\u3066<code>align-items: center;<\/code>\u3092\u6307\u5b9a\u3059\u308b\u3060\u3051\u3067\u81ea\u52d5\u3067\u4e0a\u4e0b\u4e2d\u592e\u306b\u914d\u7f6e\u3057\u3066\u304f\u308c\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001\u53f3\u306e\u6587\u5b57\u304c\u8907\u6570\u884c\u3067\u753b\u50cf\u3088\u308a\u9ad8\u3055\u3092\u3068\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3082\u3001\u81ea\u52d5\u7684\u306b\u4e0a\u4e0b\u4e2d\u592e\u3092\u7dad\u6301\u3057\u3066\u304f\u308c\u307e\u3059\u3002\u306a\u306b\u3088\u308a\u3001\u5b50\u8981\u7d20\u306b\u30ec\u30a4\u30a2\u30a6\u30c8\u306b\u95a2\u3059\u308b\u30b9\u30bf\u30a4\u30eb\u3092\u4f55\u3082\u6307\u5b9a\u3057\u306a\u3044\u306e\u304c\u30b7\u30f3\u30d7\u30eb\u3067\u826f\u3044\u3067\u3059\u3088\u306d\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"%e3%81%9d%e3%81%ae12-padding%e3%81%a7%e6%ad%a3%e6%96%b9%e5%bd%a2\"><\/span>\u305d\u306e12. padding\u3067\u6b63\u65b9\u5f62<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p class=\"codepen\" data-height=\"500\" data-theme-id=\"dark\" data-default-tab=\"css,result\" data-user=\"sakaccho\" data-slug-hash=\"WNovxRE\" style=\"height: 265px; align-items: center; justify-content: center; border: 2px solid; margin: 1em 0; padding: 1em;\" data-pen-title=\"WNovxRE\"><span>See the Pen <a href=\"https:\/\/codepen.io\/sakaccho\/pen\/WNovxRE\"> WNovxRE<\/a> by Takuro Sakai (<a href=\"https:\/\/codepen.io\/sakaccho\">@sakaccho<\/a>) on <a href=\"https:\/\/codepen.io\">CodePen<\/a>.<\/span><\/p>\n<p>\u30d6\u30e9\u30a6\u30b6\u5e45\u3092\u5909\u3048\u3066\u3082\u5e38\u306b\u6b63\u65b9\u5f62\u3092\u7dad\u6301\u3057\u307e\u3059\u3002web\u30b5\u30a4\u30c8\u3092\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u3057\u3066\u3044\u308b\u3068\u6848\u5916\u4f7f\u3046\u6a5f\u4f1a\u304c\u591a\u3044\u306e\u3067\u77e5\u3063\u3066\u3044\u308b\u3068\u4fbf\u5229\u3067\u3059\u3002<\/p>\n<p>HTML\u306f\u4e8c\u91cd\u69cb\u9020\u3067\u3001\u5b50\u8981\u7d20<code>span<\/code>\u306b<code>background-image<\/code>\u3067\u753b\u50cf\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<code>&lt;span&gt;<\/code>\u306e\u4ee3\u308f\u308a\u306b\u64ec\u4f3c\u8981\u7d20\u3092\u7528\u3044\u3066\u3082\u554f\u984c\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<pre><code class=\"language-css\">.image {\r\n  width: 25%;\r\n  margin: 0 2%;\r\n}\r\n\r\n.image span {\r\n  display: block;\r\n  width: 100%;\r\n  padding-top: 100%;\r\n  background-image: url(\u753b\u50cf\u30d1\u30b9);\r\n  background-size: cover;\r\n}<\/code><\/pre>\n<p>\u89aa\u8981\u7d20<code>.image<\/code>\u306b\u5e45\u3092%\u3067\u3001\u305d\u3057\u3066\u5b50\u8981\u7d20<code>&lt;span&gt;<\/code>\u306b<code>padding-top: 100%;<\/code>\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\u3053\u3046\u3059\u308b\u3053\u3068\u3067<code>padding-top<\/code>\u306f\u89aa\u306e\u5e45\u3092\u57fa\u6e96\u306b\u3057\u3066\u8a2d\u5b9a\u3055\u308c\u308b\u306e\u3067\u6b63\u65b9\u5f62\u306b\u306a\u308a\u307e\u3059\u3002\u307e\u305f\u3001\u6307\u5b9a\u3059\u308b<code>padding-top<\/code>\u306e\u5024\u3092\u5de5\u592b\u3059\u308c\u3070\u4efb\u610f\u306e\u7e26\u6a2a\u6bd4\u3092\u4fdd\u3064\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u305f\u3068\u3048\u3070\u3001<code>calc(100% \/ 16 * 9)<\/code>\u3068\u6307\u5b9a\u3059\u308c\u307016:9\u306e\u7e26\u6a2a\u6bd4\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"%e3%81%9d%e3%81%ae13-column-count%e3%81%a7%e4%b8%8a%e2%86%92%e4%b8%8b%e9%85%8d%e7%bd%ae\"><\/span>\u305d\u306e13. column-count\u3067\u4e0a\u2192\u4e0b\u914d\u7f6e<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p class=\"codepen\" data-height=\"500\" data-theme-id=\"dark\" data-default-tab=\"css,result\" data-user=\"sakaccho\" data-slug-hash=\"KKNMwmX\" style=\"height: 265px; align-items: center; justify-content: center; border: 2px solid; margin: 1em 0; padding: 1em;\" data-pen-title=\"[CSS Tips] column-count\u3067\u4e0a\u2192\u4e0b\u914d\u7f6e\"><span>See the Pen <a href=\"https:\/\/codepen.io\/sakaccho\/pen\/KKNMwmX\"> [CSS Tips] column-count\u3067\u4e0a\u2192\u4e0b\u914d\u7f6e<\/a> by Takuro Sakai (<a href=\"https:\/\/codepen.io\/sakaccho\">@sakaccho<\/a>) on <a href=\"https:\/\/codepen.io\">CodePen<\/a>.<\/span><\/p>\n<p>CSS\u306e\u6a2a\u4e26\u3073\u30ec\u30a4\u30a2\u30a6\u30c8\u306f\u3001Float\u3084Flex\u306a\u3069\u5de6\u2192\u53f3\u2192\u5de6\u4e0b&#8230;\u3068\u300cZ\u300d\u5b57\u306e\u9806\u3067\u4e26\u3076\u3082\u306e\u304c\u591a\u3044\u3067\u3059\u304c\u3001<code>column-count<\/code>\u3068\u3044\u3046\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u4f7f\u3046\u3068\u4e0a\u2192\u4e0b\u2192\u53f3\u4e0a&#8230;\u3068\u3044\u3046\u3088\u3046\u306b\u9006\u300cN\u300d\u5b57\u306e\u9806\u3067\u914d\u7f6e\u3067\u304d\u307e\u3059\u3002\u3053\u3053\u3067\u306f<code>&lt;ul&gt;<\/code>\u306e\u4e2d\u306e<code>&lt;li&gt;<\/code>\u3092\u4e26\u3079\u308b\u306e\u3092\u4f8b\u306b\u5404\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u8aac\u660e\u3092\u3057\u307e\u3059\u3002<\/p>\n<h3>column-count<\/h3>\n<p>\u89aa\u306e<code>&lt;ul&gt;<\/code>\u306b\u6307\u5b9a\u3057\u307e\u3059\u3002\u5024\u306b\u306f\u6570\u5b57\u3092\u30bb\u30c3\u30c8\u3057\u307e\u3059\u3002\u300c3\u300d\u3092\u6307\u5b9a\u3057\u305f\u5834\u5408\u306f\u5404\u5217\u306e\u5e45\u306f\u5747\u7b49\u30673\u5217\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h3>column-gap<\/h3>\n<p>\u5217\u540c\u58eb\u306e\u9593\u9694\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<code>px<\/code>\u3084<code>%<\/code>\u3067\u5024\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h3>break-inside<\/h3>\n<p>\u5b50\u8981\u7d20<code>&lt;li&gt;<\/code>\u306b\u6307\u5b9a\u3057\u307e\u3059\u3002<code>avoid<\/code>\u3068\u3044\u3046\u5024\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u3067\u8981\u7d20\u306e\u9014\u4e2d\u3067\u6298\u308a\u8fd4\u3059\u306e\u3092\u9632\u304e\u307e\u3059\u3002\u3053\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u6307\u5b9a\u3057\u306a\u3044\u3068\u4e0b\u8a18\u306e\u3088\u3046\u306b\u300c04\u300d\u304c1\u5217\u76ee\u30682\u5217\u76ee\u306b\u8de8\u308b\u3088\u3046\u306b\u914d\u7f6e\u3055\u308c\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/baigie.me\/officialblog\/wp-content\/uploads\/2021\/02\/column-count@2x.png\" alt=\"column-count\u3067break-inside: avoid;\u3092\u6307\u5b9a\u3057\u5fd8\u308c\u305f\u5834\u5408\u306e\u56f3\" \/><\/p>\n<h2><span class=\"ez-toc-section\" id=\"%e3%81%9d%e3%81%ae14-%e3%83%aa%e3%83%b3%e3%82%af%e3%81%ae%e4%b8%8b%e7%b7%9a%e3%82%a2%e3%83%8b%e3%83%a1%e3%83%bc%e3%82%b7%e3%83%a7%e3%83%b3\"><\/span>\u305d\u306e14. \u30ea\u30f3\u30af\u306e\u4e0b\u7dda\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p class=\"codepen\" data-height=\"500\" data-theme-id=\"dark\" data-default-tab=\"css,result\" data-user=\"sakaccho\" data-slug-hash=\"dyOoMwr\" style=\"height: 265px; align-items: center; justify-content: center; border: 2px solid; margin: 1em 0; padding: 1em;\" data-pen-title=\"[CSS Tips] \u30ea\u30f3\u30af\u306e\u4e0b\u7dda\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\"><span>See the Pen <a href=\"https:\/\/codepen.io\/sakaccho\/pen\/dyOoMwr\"> [CSS Tips] \u30ea\u30f3\u30af\u306e\u4e0b\u7dda\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3<\/a> by Takuro Sakai (<a href=\"https:\/\/codepen.io\/sakaccho\">@sakaccho<\/a>) on <a href=\"https:\/\/codepen.io\">CodePen<\/a>.<\/span><\/p>\n<p>\u901a\u5e38\u306e<code>text-decoration<\/code>\u3067\u306f\u3053\u306e\u3088\u3046\u306a\u8868\u73fe\u304c\u3067\u304d\u306a\u3044\u306e\u3067\u3001\u7591\u4f3c\u8981\u7d20\u3092\u4f7f\u3063\u3066\u518d\u73fe\u3057\u307e\u3059\u3002<\/p>\n<p>\u89aa\u8981\u7d20<code>&lt;a&gt;<\/code>\u306f<code>inline-block<\/code>\u8981\u7d20\u306b\u3057\u307e\u3059\u3002<code>block<\/code>\u8981\u7d20\u306b\u3057\u3066\u3057\u307e\u3046\u3068\u6a2a\u5e45\u3044\u3063\u3071\u3044\u306b<code>&lt;a&gt;<\/code>\u304c\u5e83\u304c\u308a\u30c6\u30ad\u30b9\u30c8\u304c\u306a\u3044\u90e8\u5206\u3082\u30af\u30ea\u30c3\u30ab\u30d6\u30eb\u30a8\u30ea\u30a2\u306b\u306a\u3063\u3066\u3057\u307e\u3046\u306e\u3067\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002<code>:after<\/code>\u306f\u5e45100%\u30fb\u9ad8\u30551px\u3067\u7dda\u306e\u5f62\u306b\u3057\u307e\u3059\u3002<code>position: absolute;<\/code>\u3067\u4e0b\u90e8\u306b\u914d\u7f6e\u3057\u3001<code>transform: translate(-100%, 0);<\/code>\u3067\u5de6\u5074\u306e\u8981\u7d20\u5916\u306b\u79fb\u52d5\u3055\u305b\u307e\u3059\u3002<\/p>\n<p>\u6700\u5f8c\u306b\u3001\u30db\u30d0\u30fc\u3057\u305f\u3068\u304d\u306b<code>transform<\/code>\u3092\u5143\u306e\u5024\u306b\u623b\u3059\u6307\u5b9a\u3092\u3057\u3066\u5b8c\u6210\u3067\u3059\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"%e3%81%9d%e3%81%ae15-%e3%83%9c%e3%82%bf%e3%83%b3%e3%81%ae%e6%8b%a1%e5%a4%a7%e3%82%a2%e3%83%8b%e3%83%a1%e3%83%bc%e3%82%b7%e3%83%a7%e3%83%b3\"><\/span>\u305d\u306e15. \u30dc\u30bf\u30f3\u306e\u62e1\u5927\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p class=\"codepen\" data-height=\"500\" data-theme-id=\"dark\" data-default-tab=\"css,result\" data-user=\"sakaccho\" data-slug-hash=\"JjbdKdx\" style=\"height: 265px; align-items: center; justify-content: center; border: 2px solid; margin: 1em 0; padding: 1em;\" data-pen-title=\"[CSS Tips] \u30dc\u30bf\u30f3\u306e\u62e1\u5927\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\"><span>See the Pen <a href=\"https:\/\/codepen.io\/sakaccho\/pen\/JjbdKdx\"> [CSS Tips] \u30dc\u30bf\u30f3\u306e\u62e1\u5927\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3<\/a> by Takuro Sakai (<a href=\"https:\/\/codepen.io\/sakaccho\">@sakaccho<\/a>) on <a href=\"https:\/\/codepen.io\">CodePen<\/a>.<\/span><\/p>\n<p>\u30db\u30d0\u30fc\u3059\u308b\u3068\u4e2d\u5fc3\u304b\u3089\u5e83\u304c\u308b\u30a8\u30d5\u30a7\u30af\u30c8\u3064\u304d\u306e\u30dc\u30bf\u30f3\u3067\u3059\u3002\u901a\u5e38\u6642\u306b\u898b\u3048\u3066\u3044\u308b\u306e\u306f<code>a<\/code>\u8981\u7d20\u3060\u3051\u3067\u3001\u30db\u30d0\u30fc\u6642\u306b\u4e2d\u5fc3\u304b\u3089\u5e83\u304c\u3063\u3066\u304f\u308b\u90e8\u5206\u306f<code>:after<\/code>\u3067\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<p>\u89aa\u3068\u306a\u308b<code>a<\/code>\u306f<code>block<\/code>\u8981\u7d20\u306e\u771f\u5186\u306b\u3057\u3066\u3001<code>position: relative;<\/code>\u3092\u6307\u5b9a\u3057\u3066\u304a\u304d\u307e\u3059\u3002\u3053\u3053\u3067\u306f\u5e45\u3068\u9ad8\u3055\u304c100px\u3001\u307e\u308f\u308a\u306b6px\u306e\u9ed2\u3044\u30dc\u30fc\u30c0\u30fc\u3092\u3064\u3051\u307e\u3057\u305f\u3002<\/p>\n<p><code>:after<\/code>\u306f\u89aa\u3068\u540c\u3058\u5927\u304d\u3055\u306e\u771f\u5186\u3067\u3001<code>absolute<\/code>\u3067\u4e2d\u592e\u306b\u914d\u7f6e\u3057\u307e\u3059\u3002<code>top<\/code>\u3068<code>left<\/code>\u3092<code>50%<\/code>\u3067\u59cb\u70b9\u3092\u4e2d\u5fc3\u306b\u79fb\u52d5\u3055\u305b\u3001<code>transform<\/code>\u306e<code>translate(-50%, -50%)<\/code>\u3067<code>:after<\/code>\u81ea\u8eab\u306e\u5e45\u3068\u9ad8\u305550%\u5206\u3092\u623b\u3059\u3053\u3068\u3067\u4e2d\u592e\u306b\u914d\u7f6e\u3057\u3066\u3044\u307e\u3059\u3002\u307e\u305f\u3001<code>scale(0, 0)<\/code>\u3067\u5927\u304d\u3055\u30920%\u3001\u3064\u307e\u308a\u898b\u3048\u306a\u3044\u72b6\u614b\u306b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-css\">a:hover:after {\r\n  transform: translate(-50%, -50%) scale(1.1, 1.1);\r\n}<\/code><\/pre>\n<p>\u6700\u5f8c\u306b\u3001\u30db\u30d0\u30fc\u306e\u3068\u304d\u306b<code>scale(1.1, 1.1)<\/code>\u306b\u306a\u308b\u3088\u3046\u306b\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u3067\u3001\u5927\u304d\u30550%\u304b\u3089110%\u306b\u62e1\u5927\u3059\u308b\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u5b9f\u88c5\u3057\u307e\u3059\u3002\u3053\u3053\u3067<code>transform: scale(1.1, 1.1);<\/code>\u306e\u3088\u3046\u306b<code>scale()<\/code>\u306e\u5024\u3060\u3051\u8a2d\u5b9a\u3057\u306a\u3044\u3088\u3046\u306b\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u5024\u3092\u4e0a\u66f8\u304d\u3057\u3066\u3057\u307e\u3046\u305f\u3081\u3001<code>translate(-50%, -50%)<\/code>\u304c\u52b9\u304b\u306a\u304f\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u3002\u4e0a\u8a18\u306e\u3088\u3046\u306b\u521d\u671f\u72b6\u614b\u3092\u5f15\u304d\u7d99\u3050\u3088\u3046\u306b\u6307\u5b9a\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"%e3%81%9d%e3%81%ae16-%e3%83%9c%e3%82%bf%e3%83%b3%e3%81%ae%e3%82%b9%e3%83%a9%e3%82%a4%e3%83%89%e3%82%a2%e3%83%8b%e3%83%a1%e3%83%bc%e3%82%b7%e3%83%a7%e3%83%b3\"><\/span>\u305d\u306e16. \u30dc\u30bf\u30f3\u306e\u30b9\u30e9\u30a4\u30c9\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p class=\"codepen\" data-height=\"500\" data-theme-id=\"dark\" data-default-tab=\"css,result\" data-user=\"sakaccho\" data-slug-hash=\"eYBNZwV\" style=\"height: 265px; align-items: center; justify-content: center; border: 2px solid; margin: 1em 0; padding: 1em;\" data-pen-title=\"[CSS Tips] \u30dc\u30bf\u30f3\u306e\u30b9\u30e9\u30a4\u30c9\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\"><span>See the Pen <a href=\"https:\/\/codepen.io\/sakaccho\/pen\/eYBNZwV\"> [CSS Tips] \u30dc\u30bf\u30f3\u306e\u30b9\u30e9\u30a4\u30c9\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3<\/a> by Takuro Sakai (<a href=\"https:\/\/codepen.io\/sakaccho\">@sakaccho<\/a>) on <a href=\"https:\/\/codepen.io\">CodePen<\/a>.<\/span><\/p>\n<p>\u30db\u30d0\u30fc\u3059\u308b\u3068\u5de6\u304b\u3089\u5225\u306e\u80cc\u666f\u8272\u304c\u30b9\u30e9\u30a4\u30c9\u3057\u3066\u5207\u308a\u66ff\u308f\u308b\u30dc\u30bf\u30f3\u306e\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3067\u3059\u3002\u30dc\u30bf\u30f3\u306e\u80cc\u666f\u306b\u5de6\u507450%\u304c\u91d1\u8272\uff08#a48c61\uff09\u3001\u53f3\u507450%\u304c\u9ed2\u8272\uff08#000000\uff09\u306b\u306a\u308b\u30b0\u30e9\u30c7\u30fc\u30b7\u30e7\u30f3\u3092\u8a2d\u5b9a\u3057\u3001<code>background-size: 200% auto;<\/code>\u3067\u80cc\u666f\u306e\u5927\u304d\u3055\u3092\u8981\u7d20\u306e\u5e45\u306e2\u500d\u306b\u8a2d\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002\u307e\u305f\u3001<code>background-position: 100% 0;<\/code>\u3067\u901a\u5e38\u6642\u306f\u53f3\u5074\u306e\u9ed2\u8272\u90e8\u5206\u3060\u3051\u304c\u898b\u3048\u308b\u3088\u3046\u306b\u305a\u3089\u3057\u307e\u3059\u3002\u30db\u30d0\u30fc\u6642\u306b\u306f\u80cc\u666f\u306e\u4f4d\u7f6e\u3092<code>0 0<\/code>\u306b\u623b\u3057\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u5b9f\u88c5\u3067\u30dd\u30a4\u30f3\u30c8\u306a\u306e\u304c\u3001\u80cc\u666f\u753b\u50cf\u306e\u5927\u304d\u3055\u304c\u8981\u7d20\u3088\u308a\u5927\u304d\u3044\u5834\u5408\u3001\u4e0b\u306e\u56f3\u306e\u3088\u3046\u306a\u632f\u308b\u821e\u3044\u3092\u3059\u308b\u3068\u3044\u3046\u70b9\u3067\u3059\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/baigie.me\/officialblog\/wp-content\/uploads\/2021\/02\/slide-button.png\" alt=\"\" \/><\/p>\n<p>\u901a\u5e38\u3001<code>background-position<\/code>\u3067X\u306e\u6b63\u65b9\u5411\u306b\u5024\u3092\u6307\u5b9a\u3057\u305f\u5834\u5408\u3001\u80cc\u666f\u753b\u50cf\u306f\u53f3\u306b\u79fb\u52d5\u3057\u307e\u3059\u304c\u3001\u80cc\u666f\u753b\u50cf\u306e\u5927\u304d\u3055\u306e\u65b9\u304c\u5927\u304d\u3044\u5834\u5408\u306f\u300c\u80cc\u666f\u753b\u50cf X=100%\u300d\u4f4d\u7f6e\u306e\u70b9\u304c\u3001\u300c\u8981\u7d20 X=100%\u300d\u4f4d\u7f6e\u306b\u91cd\u306a\u308b\u3088\u3046\u306b\u914d\u7f6e\u3055\u308c\u308b\u306e\u3067\u3059\u3002\u5f93\u3063\u3066\u3001\u4e0a\u8a18\u306e\u30dc\u30bf\u30f3\u306e\u521d\u671f\u72b6\u614b\u3067\u306f<code>background-position: 100% 0;<\/code>\u3068\u3044\u3046\u30d7\u30e9\u30b9\u306e\u5024\u3092\u6307\u5b9a\u3057\u305f\u306b\u3082\u95a2\u308f\u3089\u305a\u3001\u80cc\u666f\u753b\u50cf\u306f\u30de\u30a4\u30ca\u30b9\u306e\u65b9\u5411\u306b\u79fb\u52d5\u3057\u305f\u3088\u3046\u306b\u898b\u3048\u308b\u306e\u3067\u3059\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"%e3%81%9d%e3%81%ae17-%e8%84%88%e6%89%93%e3%81%a4%e3%82%88%e3%81%86%e3%81%ab%e5%ba%83%e3%81%8c%e3%82%8b%e6%b3%a2%e7%b4%8b%e3%82%a2%e3%83%8b%e3%83%a1%e3%83%bc%e3%82%b7%e3%83%a7%e3%83%b3\"><\/span>\u305d\u306e17. \u8108\u6253\u3064\u3088\u3046\u306b\u5e83\u304c\u308b\u6ce2\u7d0b\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p class=\"codepen\" data-height=\"500\" data-theme-id=\"dark\" data-default-tab=\"css,result\" data-user=\"sakaccho\" data-slug-hash=\"gOwBzoJ\" style=\"height: 265px; align-items: center; justify-content: center; border: 2px solid; margin: 1em 0; padding: 1em;\" data-pen-title=\"gOwBzoJ\"><span>See the Pen <a href=\"https:\/\/codepen.io\/sakaccho\/pen\/gOwBzoJ\"> gOwBzoJ<\/a> by Takuro Sakai (<a href=\"https:\/\/codepen.io\/sakaccho\">@sakaccho<\/a>) on <a href=\"https:\/\/codepen.io\">CodePen<\/a>.<\/span><\/p>\n<p>\u30ab\u30eb\u30fc\u30bb\u30eb\u3084\u30b9\u30e9\u30a4\u30c9\u30b7\u30e7\u30fc\u306a\u3069\u306e\u30a4\u30f3\u30b8\u30b1\u30fc\u30bf\u30fc\u306e\u8868\u73fe\u306b\u7528\u3044\u308b\u3068\u5b58\u5728\u611f\u3092\u653e\u3063\u3066\u826f\u3044\u6f14\u51fa\u306b\u306a\u308a\u307e\u3059\u3002\u30b5\u30f3\u30d7\u30eb\u3067\u306f\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u305d\u306e\u6ce2\u7d0b\u304c\u5e83\u304c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u6ce2\u7d0b\u306b\u3042\u305f\u308b\u90e8\u5206\u306f\u64ec\u4f3c\u8981\u7d20<code>:after<\/code>\u3067\u518d\u73fe\u3057\u307e\u3059\u3002\u3053\u306e<code>:after<\/code>\u306f<code>absolute<\/code>\u3067\u914d\u7f6e\u3057\u3001\u89aa\u8981\u7d20<code>.point<\/code>\u306b\u5bfe\u3057\u3066\u5e45\u30fb\u9ad8\u3055\u3044\u3063\u3071\u3044\u3068\u306a\u308b\u771f\u5186\u306b\u3057\u307e\u3059\u3002<\/p>\n<p>\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3067\u6ce2\u7d0b\u306e\u5e83\u304c\u308a\u3092\u518d\u73fe\u3057\u307e\u3059\u3002\u300c\u5927\u304d\u3055\u304c100%\u30fb\u80cc\u666f\u8272\u304c\u91d1\u8272\u306e\u900f\u904e40%\u300d\u3068\u3044\u3046\u72b6\u614b\u304b\u3089\u300c\u5927\u304d\u3055\u304c650%\u30fb\u80cc\u666f\u8272\u304c\u900f\u904e0%\u300d\u3001\u3064\u307e\u308a\u62e1\u5927\u3057\u306a\u304c\u3089\u6d88\u3048\u3066\u3044\u304f\u3088\u3046\u306a\u300cpulseMotion\u300d\u3068\u3044\u3046<code>@keyframes<\/code>\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u3053\u308c\u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3001<code>.-active<\/code>\u304c\u4ed8\u4e0e\u3055\u308c\u305f\u3068\u304d\u306b1.4\u79d2\u9593\u9694\u3067\u7e70\u308a\u8fd4\u3059\u3088\u3046\u306b\u9069\u7528\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-css\">.point.-active:after {\r\n  animation: pulseMotion 1.4s linear infinite;\r\n}\r\n<\/code><\/pre>\n<h2><span class=\"ez-toc-section\" id=\"%e3%81%9d%e3%81%ae18-%e8%87%aa%e8%bb%a2%e3%81%99%e3%82%8b%e5%9c%b0%e7%90%83%e3%82%a2%e3%83%8b%e3%83%a1%e3%83%bc%e3%82%b7%e3%83%a7%e3%83%b3\"><\/span>\u305d\u306e18. \u81ea\u8ee2\u3059\u308b\u5730\u7403\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p class=\"codepen\" data-height=\"500\" data-theme-id=\"dark\" data-default-tab=\"css,result\" data-user=\"sakaccho\" data-slug-hash=\"mdrvvMa\" style=\"height: 400px; align-items: center; justify-content: center; border: 2px solid; margin: 1em 0; padding: 1em;\" data-pen-title=\"[CSS Tips]  Earth\"><span>See the Pen <a href=\"https:\/\/codepen.io\/sakaccho\/pen\/mdrvvMa\"> [CSS Tips] Earth<\/a> by Takuro Sakai (<a href=\"https:\/\/codepen.io\/sakaccho\">@sakaccho<\/a>) on <a href=\"https:\/\/codepen.io\">CodePen<\/a>.<\/span><\/p>\n<p>\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u4f7f\u7528\u3057\u3066\u4e16\u754c\u5730\u56f3\u3092\u5de6\u304b\u3089\u53f3\u306b\u79fb\u52d5\u3055\u305b\u3001\u3042\u305f\u304b\u3082\u81ea\u8ee2\u3057\u3066\u3044\u308b\u304b\u306e\u3088\u3046\u306b\u8868\u73fe\u3057\u3066\u3044\u307e\u3059\u3002\u307e\u305a\u89aa\u8981\u7d20<code>.earth<\/code>\u3067\u571f\u53f0\u3068\u306a\u308b200px\u306e\u771f\u5186\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u305d\u3053\u306b<code>box-shadow<\/code>\u3067\u5185\u5074\u306b\u5f71\u3092\u3064\u3051\u308b\u3053\u3068\u3067\u7403\u4f53\u611f\u3092\u5897\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u4e16\u754c\u5730\u56f3\u306f<code>:before<\/code>\u306b\u80cc\u666f\u3068\u3057\u3066\u6307\u5b9a\u3057\u307e\u3059\u3002\u80cc\u666f\u306e\u30b5\u30a4\u30ba\u306f\u9ad8\u3055\u304c\u3044\u3063\u3071\u3044\u306b\u306a\u308b\u3088\u3046\u306b\u8a2d\u5b9a\u3057\u3001\u3088\u308a\u30ea\u30a2\u30eb\u306b\u306a\u308b\u3088\u3046<code>:before<\/code>\u81ea\u4f53\u3092<code>transform<\/code>\u3067\u5730\u8ef8\u306e\u50be\u304d\u3068\u540c\u305823.4\u5ea6\u50be\u3051\u307e\u3059\u3002\u3042\u3068\u306f<code>animation<\/code>\u306b\u30ad\u30fc\u30d5\u30ec\u30fc\u30e0\u300crotation\u300d\u309216\u79d2\u9593\u9694\u3067\u7e70\u308a\u8fd4\u3059\u3088\u3046\u306b\u8a2d\u5b9a\u3057\u3001\u4e16\u754c\u5730\u56f3\u3092\u5de6\u304b\u3089\u53f3\u306b\u79fb\u52d5\u3055\u305b\u307e\u3059\u3002<\/p>\n<p>\u30ad\u30fc\u30d5\u30ec\u30fc\u30e0\u300crotation\u300d\u306f<code>background-position<\/code>\u304c\u300c0 0\u300d\u306e\u4f4d\u7f6e\u304b\u3089\u300c-200% 0\u300d\u306e\u4f4d\u7f6e\u306b\u5909\u308f\u308b\u3068\u3044\u3046\u5358\u7d14\u306a\u52d5\u304d\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-css\">@keyframes rotation {\r\n  0% {\r\n    background-position: 0 0;\r\n  }\r\n  100% {\r\n    background-position: -200% 0;\r\n  }\r\n}<\/code><\/pre>\n<h2><span class=\"ez-toc-section\" id=\"%e3%81%9d%e3%81%ae19-%e7%be%bd%e3%81%b0%e3%81%9f%e3%81%8f%e9%b3%a5%e3%81%ae%e3%82%a2%e3%83%8b%e3%83%a1%e3%83%bc%e3%82%b7%e3%83%a7%e3%83%b3\"><\/span>\u305d\u306e19. \u7fbd\u3070\u305f\u304f\u9ce5\u306e\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p class=\"codepen\" data-height=\"500\" data-theme-id=\"dark\" data-default-tab=\"css,result\" data-user=\"sakaccho\" data-slug-hash=\"oNYzWaL\" style=\"height: 265px; align-items: center; justify-content: center; border: 2px solid; margin: 1em 0; padding: 1em;\" data-pen-title=\"[CSS Tips] \u7fbd\u3070\u305f\u304f\u9ce5\u306e\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\"><span>See the Pen <a href=\"https:\/\/codepen.io\/sakaccho\/pen\/oNYzWaL\"> [CSS Tips] \u7fbd\u3070\u305f\u304f\u9ce5\u306e\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3<\/a> by Takuro Sakai (<a href=\"https:\/\/codepen.io\/sakaccho\">@sakaccho<\/a>) on <a href=\"https:\/\/codepen.io\">CodePen<\/a>.<\/span><\/p>\n<p>\u30e1\u30a4\u30f3\u30d3\u30b8\u30e5\u30a2\u30eb\u306b\u5c0f\u3055\u306a\u9ce5\u3092\u4f55\u5339\u304b\u98db\u3070\u3059\u3001\u3068\u3044\u3046\u3053\u3068\u3067\u4ee5\u524d\u3053\u306e\u5b9f\u88c5\u3092\u884c\u3044\u307e\u3057\u305f\u3002\u5927\u304d\u304f\u8868\u793a\u3059\u308b\u3068\u89d2\u3070\u3063\u3066\u3057\u307e\u3063\u3066\u30ea\u30a2\u30ea\u30c6\u30a3\u304c\u8584\u308c\u307e\u3059\u304c\u3001\u4e0a\u8a18\u306e\u5927\u304d\u3055\u304f\u3089\u3044\u3060\u3068\u52d5\u304d\u3055\u3048\u5de5\u592b\u3059\u308c\u3070\u304b\u306a\u308a\u30ea\u30a2\u30eb\u306b\u518d\u73fe\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><style>.code-box-2 { box-sizing: border-box; position: relative; width: 100%; max-width: 720px; margin-top: 28px; background: white; border: solid 1px #e6e4de; border-radius: 10px; } @media print, screen and (min-width: 48em) { .code-box-2 { margin-top: 32px; } } .code-box-2:before { display: block; padding-top: 40%; content: \"\"; } .code-box-2__inner { display: flex; justify-content: center; align-items: center; position: absolute; top: 0; left: 0; width: 100%; height: 100%; } .code-box-2__line { display: flex; justify-content: center; align-items: center; padding: 0 20px; } .code-box-2__column { margin: 0 0; } @media print, screen and (min-width: 48em) { .code-box-2__column { margin: 0 0; } } .code-box-2__arrow { margin: 0 40px; width: 0; height: 0; border-style: solid; border-width: 10px 0 10px 10px; border-color: transparent transparent transparent #cccccc; } @media print, screen and (min-width: 48em) { .code-box-2__arrow { border-width: 15px 0 15px 15px; margin: 0 80px; } } .code-box-2__text { display: block; margin-top: 20px; font-family: \"Yu Gothic\", \"\u6e38\u30b4\u30b7\u30c3\u30af\", YuGothic, \"\u30d2\u30e9\u30ae\u30ce\u89d2\u30b4 Pro W3\", \"Hiragino Kaku Gothic Pro\", \"\u30e1\u30a4\u30ea\u30aa\", \"Meiryo\"; font-weight: bold; font-size: 12px; text-align: center; white-space: nowrap; } @media print, screen and (min-width: 48em) { .code-box-2__text { margin-top: 40px; font-size: 16px; } } .code-box-2__elm { display: flex; justify-content: center; align-items: center; position: relative; width: 30px; margin: 0 auto; } @media print, screen and (min-width: 48em) { .code-box-2__elm { width: 60px; } } .code-box-2__elm:before { display: block; padding-top: 100%; content: \"\"; } .code-box-2__bird { width: 7px; height: 7px; transform: rotate(45deg) scale(3); } @media print, screen and (min-width: 48em) { .code-box-2__bird { width: 7px; height: 7px; transform: rotate(45deg) scale(5); } } .code-box-2__bird:before, .code-box-2__bird:after { content: \"\"; position: absolute; bottom: 0; right: 0; background-color: black; transform-origin: right bottom; } .code-box-2__bird.-type_2:before { transform: rotate(-30deg); } .code-box-2__bird.-type_2:after { transform: rotate(30deg); } .code-box-2__bird:before { width: 100%; height: 1px; } .code-box-2__bird.-type_3:before { animation: leftWing 1s linear infinite; } .code-box-2__bird:after { width: 1px; height: 100%; } .code-box-2__bird.-type_3:after { animation: rightWing 1s linear infinite; } @keyframes leftWing { 0% { transform: rotate(-30deg); } 50% { transform: rotate(-110deg); } 100% { transform: rotate(-30deg); } } @keyframes rightWing { 0% { transform: rotate(30deg); } 50% { transform: rotate(110deg); } 100% { transform: rotate(30deg); } }<\/style>\n<\/p>\n<div class=\"code-box-2\">\n<div class=\"code-box-2__inner\">\n<div class=\"code-box-2__line\">\n<div class=\"code-box-2__column\">\n<div class=\"code-box-2__elm\">\n<div class=\"code-box-2__bird\"><\/div>\n<\/div>\n<p><span class=\"code-box-2__text\">\u2460<\/span><\/div>\n<div class=\"code-box-2__arrow\"><\/div>\n<div class=\"code-box-2__column\">\n<div class=\"code-box-2__elm\">\n<div class=\"code-box-2__bird -type_2\"><\/div>\n<\/div>\n<p><span class=\"code-box-2__text\">\u2461<\/span><\/div>\n<div class=\"code-box-2__arrow\"><\/div>\n<div class=\"code-box-2__column\">\n<div class=\"code-box-2__elm\">\n<div class=\"code-box-2__bird -type_3\"><\/div>\n<\/div>\n<p><span class=\"code-box-2__text\">\u2462<\/span><\/div>\n<\/div>\n<\/div>\n<\/div>\n<p>\u9ce5\u306e\u518d\u73fe\u306f\u81f3\u3063\u3066\u30b7\u30f3\u30d7\u30eb\u3067\u3059\u3002\u307e\u305a\u6b63\u65b9\u5f62\u306e\u8981\u7d20\u5185\u306b\u3001\u4e0b\u8fba\u3068\u53f3\u8fba\u306b\u305d\u308c\u305e\u308c1px\u306e\u9ed2\u3044\u7591\u4f3c\u8981\u7d20\u3092\u4f5c\u6210\u3057\u3001\u6b63\u65b9\u5f62\u5168\u4f53\u309245\u5ea6\u50be\u3051\u307e\u3059\uff08\u4e0a\u56f3\u2460\uff09\u3002\u6b21\u306b\u7ffc\u3092\u5c11\u3057\u6c34\u5e73\u306b\u5012\u3057\u305f\u3044\u306e\u3067\u3001<code>:before<\/code>\u3068<code>:after<\/code>\u3092\u305d\u308c\u305e\u308c<code>transform: rotate();<\/code>\u3067\u5916\u5074\u306b30\u5ea6\u5012\u3057\u307e\u3059\uff08\u2461\uff09\u3002\u6700\u5f8c\u306b<code>leftWing<\/code>\u3068<code>rightWing<\/code>\u3068\u3044\u3046\u30ad\u30fc\u30d5\u30ec\u30fc\u30e0\u3092\u9069\u7528\u3057\u300130\uff5e110\u5ea6\uff08-30\uff5e-110\u5ea6\uff09\u9593\u3067\u50be\u304d\u304c\u5909\u308f\u308b\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u9069\u7528\u3057\u307e\u3059\uff08\u2462\uff09\u3002\u3088\u308a\u30ea\u30a2\u30eb\u306a\u9ce5\u306b\u3059\u308b\u305f\u3081\u306b\u7ffc\u3092\u50be\u3051\u308b\u983b\u5ea6\u306f\u4e0d\u898f\u5247\u306b\u6ed1\u7a7a\u3059\u308b\u6642\u9593\u3092\u3068\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3042\u3068\u306f\u3001\u753b\u9762\u3092\u6a2a\u65ad\u3059\u308b\u30ad\u30fc\u30d5\u30ec\u30fc\u30e0\u300cmoving\u300d\u3092\u89aa\u306e<code>.bird<\/code>\u306b\u9069\u7528\u3059\u308c\u3070\u3001\u5de6\u304b\u3089\u53f3\u306b\u98db\u3093\u3067\u3044\u304f\u9ce5\u306e\u5b8c\u6210\u3067\u3059\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"%e3%81%9d%e3%81%ae20-%e7%b4%99%e5%90%b9%e9%9b%aa\"><\/span>\u305d\u306e20. \u7d19\u5439\u96ea<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p class=\"codepen\" data-height=\"500\" data-theme-id=\"dark\" data-default-tab=\"js,result\" data-user=\"sakaccho\" data-slug-hash=\"dyOpvZr\" style=\"height: 265px; align-items: center; justify-content: center; border: 2px solid; margin: 1em 0; padding: 1em;\" data-pen-title=\"dyOpvZr\"><span>See the Pen <a href=\"https:\/\/codepen.io\/sakaccho\/pen\/dyOpvZr\"> dyOpvZr<\/a> by Takuro Sakai (<a href=\"https:\/\/codepen.io\/sakaccho\">@sakaccho<\/a>) on <a href=\"https:\/\/codepen.io\">CodePen<\/a>.<\/span><\/p>\n<p>\u7d19\u5439\u96ea\u306f\u898b\u305f\u76ee\u3084\u52d5\u304d\u3092CSS\u3067\u3001\u30e9\u30f3\u30c0\u30e0\u6027\u3092\u3082\u305f\u305b\u308b\u305f\u3081\u306e\u51e6\u7406\u3092JS\u3067\u5b9f\u88c5\u3057\u3066\u3044\u307e\u3059\u3002\u307e\u305a\u3001CSS\u306e\u90e8\u5206\u3067\u3059\u304c\u3001\u4e00\u679a\u306e\u7d19\u306b\u3064\u304d\u4e09\u91cd\u306e<code>&lt;span&gt;<\/code>\u3092\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u3002\u305d\u308c\u305e\u308c\u306e<code>&lt;span&gt;<\/code>\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u4f7f\u3044\u5206\u3051\u307e\u3059\u3002<\/p>\n<ul>\n<li>1\u968e\u5c64\u76ee\uff1a\u7d19\u306e\u30b5\u30a4\u30ba\u3001\u632f\u308a\u59cb\u3081\u306e\u4f4d\u7f6e\u3001\u843d\u4e0b\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3<\/li>\n<li>2\u968e\u5c64\u76ee\uff1a\u7d19\u306e\u50be\u304d<\/li>\n<li>3\u968e\u5c64\u76ee\uff1a\u7d19\u306e\u8272\u3001\u7d19\u306e\u56de\u8ee2<\/li>\n<\/ul>\n<p>\u8868\u793a\u3059\u308b\u7d19\u5439\u96ea\u306f2\u7a2e\u985e\u306e\u52d5\u304d\u3092\u7528\u610f\u3057\u307e\u3059\u30021\u3064\u304cY\u8ef8\u3092\u4e2d\u5fc3\u3068\u3057\u3066\u56de\u8ee2\u3059\u308b\u300cY\u8ef8\u56de\u8ee2\u30d0\u30fc\u30b8\u30e7\u30f3\u300d\u3001\u3082\u30461\u3064\u304c\u6642\u8a08\u56de\u308a\u306b\u56de\u308a\u7d9a\u3051\u308b\u300c360\u5ea6\u56de\u8ee2\u30d0\u30fc\u30b8\u30e7\u30f3\u300d\u3067\u3059\u3002\u306a\u304a\u3001\u300cY\u8ef8\u56de\u8ee2\u30d0\u30fc\u30b8\u30e7\u30f3\u300d\u306e\u969b\u306f2\u968e\u5c64\u76ee\u306b\u30e9\u30f3\u30c0\u30e0\u306a\u50be\u304d\u3092\u4e0e\u3048\u307e\u3059\u3002<\/p>\n<p><style>.code-box { box-sizing: border-box; position: relative; width: 100%; max-width: 720px; margin-top: 28px; background: white; border: solid 1px #e6e4de; border-radius: 10px; } @media print, screen and (min-width: 48em) { .code-box { margin-top: 32px; } } .code-box:before { display: block; padding-top: 40%; content: \"\"; } .code-box__inner { display: flex; justify-content: center; align-items: center; position: absolute; top: 0; left: 0; width: 100%; height: 100%; } .code-box__line { display: flex; justify-content: center; align-items: center; padding: 0 20px; } .code-box__column { margin: 0 20px; } @media print, screen and (min-width: 48em) { .code-box__column { margin: 0 40px; } } .code-box__text { display: block; margin-top: 20px; font-family: \"Yu Gothic\", \"\u6e38\u30b4\u30b7\u30c3\u30af\", YuGothic, \"\u30d2\u30e9\u30ae\u30ce\u89d2\u30b4 Pro W3\", \"Hiragino Kaku Gothic Pro\", \"\u30e1\u30a4\u30ea\u30aa\", \"Meiryo\"; font-weight: bold; font-size: 12px; white-space: nowrap; } @media print, screen and (min-width: 48em) { .code-box__text { margin-top: 40px; font-size: 16px; } } .code-box__elm { position: relative; width: 30px; margin: 0 auto; } @media print, screen and (min-width: 48em) { .code-box__elm { width: 60px; } } .code-box__elm:before { display: block; padding-top: 100%; content: \"\"; } .code-box__elm .confetti-1 { display: block; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 30px; height: 40px; } @media print, screen and (min-width: 48em) { .code-box__elm .confetti-1 { width: 60px; height: 70px; } } .code-box__elm .confetti-2 { display: block; width: 100%; height: 100%; } .code-box__elm .confetti-3 { display: block; width: 100%; height: 100%; background-color: #3181A8; animation: rotateY 1000ms linear infinite; } .code-box__elm .confetti-3.-confetti360 { animation: rotate360 1000ms linear infinite; } @keyframes rotateY { 0% { transform: rotateY(0deg); } 100% { transform: rotateY(360deg); } } @keyframes rotate360 { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }<\/style>\n<\/p>\n<div class=\"code-box\">\n<div class=\"code-box__inner\">\n<div class=\"code-box__line\">\n<div class=\"code-box__column\">\n<div class=\"code-box__elm\"><span class=\"confetti-1\"> <span class=\"confetti-2\"> <span class=\"confetti-3\"><\/span> <\/span> <\/span><\/div>\n<p><span class=\"code-box__text\">Y\u8ef8\u56de\u8ee2\u30d0\u30fc\u30b8\u30e7\u30f3<\/span><\/div>\n<div class=\"code-box__column\">\n<div class=\"code-box__elm\"><span class=\"confetti-1\"> <span class=\"confetti-2\"> <span class=\"confetti-3 -confetti360\"><\/span> <\/span> <\/span><\/div>\n<p><span class=\"code-box__text\">360\u5ea6\u56de\u8ee2\u30d0\u30fc\u30b8\u30e7\u30f3<\/span><\/div>\n<\/div>\n<\/div>\n<\/div>\n<p>\u307e\u305f\u30011\u968e\u5c64\u76ee\u306b\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u659c\u3081\u306b\u843d\u4e0b\u3057\u3066\u3044\u304f\u8ecc\u9053\u3092\u3068\u308b\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\u3053\u306e\u3088\u3046\u306a<code>@keyframes<\/code>\u3092JS\u306712\u7a2e\u985e\u751f\u6210\u3057\u3001HTML\u306b\u52d5\u7684\u306b\u8ffd\u52a0\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-css\">@keyframes moving-1 {\r\n  0% {\r\n    opacity: 0;\r\n    transform: translate(0, 0);\r\n  }\r\n  10% {\r\n    opacity: 1;\r\n  }\r\n  90% {\r\n    opacity: 1;\r\n  }\r\n  100% {\r\n    opacity: 0;\r\n    transform: translate(-60px, 270px);\r\n  }\r\n}<\/code><\/pre>\n<p>\u5f79\u5272\u5206\u62c5\u3092\u8e0f\u307e\u3048\u3001\u305d\u308c\u305e\u308c\u306e\u7d19\u8981\u7d20\u304c\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308b\u3088\u3046\u306bJS\u3067100\u679a\u5206\u751f\u6210\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-html\">&lt;!-- 1\u968e\u5c64\u76ee --&gt;\r\n&lt;span style=\"\r\n  top: -20px;                                  \/* -20px \u3067\u56fa\u5b9a\u306e\u5024 *\/\r\n  left: 17%;                                   \/* 0\uff5e99% \u306e\u30e9\u30f3\u30c0\u30e0\u306a\u5024 *\/\r\n  width: 5px;                                  \/* 4\uff5e7px \u306e\u30e9\u30f3\u30c0\u30e0\u306a\u5024 *\/\r\n  height: 6px;                                 \/* 4\uff5e7px \u306e\u30e9\u30f3\u30c0\u30e0\u306a\u5024 *\/\r\n  animation: moving-6 5900ms linear infinite;  \/* moving-1 \uff5e moving-12 \u306e\u3044\u305a\u308c\u304b\u3092\u9069\u7528 *\/\r\n  animation-delay: 2950ms;                     \/* \u4e00\u5b9a\u306e\u7bc4\u56f2\u5185\u3067\u30e9\u30f3\u30c0\u30e0\u306a\u5024 *\/\r\n\"&gt;\r\n  &lt;!-- 2\u968e\u5c64\u76ee --&gt;\r\n  &lt;span style=\"\r\n    transform: rotate(34deg);                  \/* 3\u968e\u5c64\u76ee\u304c rotateY \u306e\u5834\u5408\u306b\u50be\u304d\u3092\u30e9\u30f3\u30c0\u30e0\u3067\u3064\u3051\u308b *\/\r\n  \"&gt;\r\n    &lt;!-- 3\u968e\u5c64\u76ee --&gt;\r\n    &lt;span style=\"\r\n      background-color: #E397AD;                 \/* JS\u5185\u3067\u5b9a\u7fa9\u3057\u305f12\u8272\u304b\u3089\u30e9\u30f3\u30c0\u30e0\u306a\u30ab\u30e9\u30fc\u30b3\u30fc\u30c9 *\/\r\n      animation: rotateY 500ms linear infinite;  \/* rotate360 \u304b rotateY \u306e\u3069\u3061\u3089\u304b\u3092\u9069\u7528 *\/\r\n      animation-delay: 2950ms;                   \/* \u4e00\u5b9a\u306e\u7bc4\u56f2\u5185\u3067\u30e9\u30f3\u30c0\u30e0\u306a\u5024 *\/\r\n    \"&gt;\r\n    &lt;\/span&gt;\r\n  &lt;\/span&gt;\r\n&lt;\/span&gt;<\/code><\/pre>\n<p>JS\u306e\u51e6\u7406\u306f\u30da\u30fc\u30b8\u8aad\u307f\u8fbc\u307f\u6642\u306b\u4e00\u5ea6\u3060\u3051\u3001\u843d\u4e0b\u8ecc\u9053\u306e<code>@keyframes<\/code>\u306e\u4f5c\u6210\u3068\u7d19\u5439\u96ea\u8981\u7d20\u3092\u751f\u6210\u3057\u3066\u3044\u308b\u3060\u3051\u3067\u3001\u3042\u3068\u306fCSS\u4efb\u305b\u306e\u51e6\u7406\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"%e3%81%95%e3%81%84%e3%81%94%e3%81%ab\"><\/span>\u3055\u3044\u3054\u306b<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u3044\u304b\u304c\u3067\u3057\u305f\u3067\u3057\u3087\u3046\u304b\u3002\u7d39\u4ecb\u3057\u305f\u3082\u306e\u306f\u305d\u306e\u307e\u307e\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u306b\u6d41\u7528\u3067\u304d\u308b\u3082\u306e\u3070\u304b\u308a\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u304c\u3001\u305c\u3072\u5b9f\u88c5\u306e\u30a2\u30a4\u30c7\u30a2\u3001\u30a8\u30c3\u30bb\u30f3\u30b9\u3068\u3057\u3066\u300c\u3053\u3046\u3084\u3063\u3066\u52d5\u304b\u305b\u3070\u826f\u3044\u306e\u304b\u300d\u3068\u3044\u3046\u9583\u304d\u306b\u8ca2\u732e\u3067\u304d\u308c\u3070\u5e78\u3044\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CSS\u306f\u4f7f\u3044\u3088\u3046\u306b\u3088\u3063\u3066\u306f\u69d8\u3005\u306a\u8868\u73fe\u304c\u53ef\u80fd\u306a\u5965\u6df1\u3044\u8a00\u8a9e\u3067\u3059\u3002\u3057\u304b\u3057\u3001\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306a\u3069\u51dd\u3063\u305f\u52d5\u304d\u3092\u3059\u308b\u3082\u306e\u306b\u95a2\u3057\u3066\u306f\u30b3\u30fc\u30c9\u306f\u898b\u308c\u3066\u3082\u5b9f\u88c5\u65b9\u6cd5\u3092\u8a73\u3057\u304f\u89e3\u8aac\u3057\u3066\u3044\u308b\u8a18\u4e8b\u306f\u591a\u304f\u306a\u3044\u3088\u3046\u306b\u601d\u3048\u307e\u3059\u3002 \u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001\u79c1\uff08\u3055\u304b\u3063\u3061\u3087 [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":3167,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_lmt_disableupdate":"","_lmt_disable":"","footnotes":""},"categories":[12,5,6],"tags":[],"class_list":["post-3090","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-webpro","category-design","category-front-end"],"acf":[],"modified_by":"\u53e4\u53e3\u771f\u51dc","_links":{"self":[{"href":"https:\/\/baigie.me\/officialblog\/wp-json\/wp\/v2\/posts\/3090","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/baigie.me\/officialblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/baigie.me\/officialblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/baigie.me\/officialblog\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/baigie.me\/officialblog\/wp-json\/wp\/v2\/comments?post=3090"}],"version-history":[{"count":1,"href":"https:\/\/baigie.me\/officialblog\/wp-json\/wp\/v2\/posts\/3090\/revisions"}],"predecessor-version":[{"id":7365,"href":"https:\/\/baigie.me\/officialblog\/wp-json\/wp\/v2\/posts\/3090\/revisions\/7365"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/baigie.me\/officialblog\/wp-json\/wp\/v2\/media\/3167"}],"wp:attachment":[{"href":"https:\/\/baigie.me\/officialblog\/wp-json\/wp\/v2\/media?parent=3090"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/baigie.me\/officialblog\/wp-json\/wp\/v2\/categories?post=3090"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/baigie.me\/officialblog\/wp-json\/wp\/v2\/tags?post=3090"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}