
{"id":9164,"date":"2025-04-04T22:32:27","date_gmt":"2025-04-04T13:32:27","guid":{"rendered":"https:\/\/techmania.jp\/blog\/?p=9164"},"modified":"2025-04-04T22:32:28","modified_gmt":"2025-04-04T13:32:28","slug":"css-rotate","status":"publish","type":"post","link":"https:\/\/techmania.jp\/blog\/css-rotate\/","title":{"rendered":"\u3010CSS\u5165\u9580\u3011rotate()\u95a2\u6570\u3067\u8981\u7d20\u3092\u56de\u8ee2\uff01\u57fa\u790e\u77e5\u8b58\u304b\u3089\u5fdc\u7528\u307e\u3067\u8a73\u3057\u304f\u89e3\u8aac"},"content":{"rendered":"\n<p>WEB\u30b5\u30a4\u30c8\u3092\u4f5c\u6210\u3059\u308b\u969b\u306b\u3001\u30e6\u30fc\u30b6\u30fc\u306e\u64cd\u4f5c\u3084UI\u306e\u30c7\u30b6\u30a4\u30f3\u306b\u5408\u308f\u305b\u3066\u6587\u5b57\u3084\u753b\u50cf\u3092\u56de\u8ee2\u3055\u305b\u308b\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u3057\u305f\u3044\u3068\u3044\u3046\u8981\u671b\u304c\u51fa\u3066\u304f\u308b\u3053\u3068\u3082\u6642\u306b\u306f\u3042\u308a\u307e\u3059\u3002<br>\u305d\u3046\u3044\u3063\u305f\u30b1\u30fc\u30b9\u306b\u5bfe\u5fdc\u3059\u308b\u305f\u3081\u3001CSS\u306b\u306f\u8981\u7d20\u3092\u56de\u8ee2\u3055\u305b\u308b \u300crotate\u300d \u3068\u3044\u3046\u95a2\u6570\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4eca\u56de\u306f\u3001\u3053\u306erotate\u95a2\u6570\u306e\u4f7f\u3044\u65b9\u306b\u3064\u3044\u3066\u8a73\u3057\u304f\u89e3\u8aac\u3057\u3066\u3044\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\uff01<\/p>\n\n\n\n<h2 id=\"outline__1\" class=\"wp-block-heading\">CSS\u306erotate\u95a2\u6570\u3068\u306f\uff1f<\/h2>\n\n\n\n<p>CSS\u306e<strong>rotate<\/strong>\u95a2\u6570\u3068\u306f\u3001\u70b9\u3084\u8ef8\u3092\u57fa\u6e96\u306b\u8981\u7d20\u3092\u56de\u8ee2\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u95a2\u6570\u3067\u3059\u3002<br>\u30d7\u30ed\u30d1\u30c6\u30a3\u3067\u306f\u306a\u304f\u95a2\u6570\u306e\u305f\u3081\u3001\u8981\u7d20\u3092\u5909\u5f62\u30fb\u79fb\u52d5\u3059\u308btransform\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u5024\u3068\u3057\u3066\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>rotate\u306b\u306f\u305d\u308c\u305e\u308c\u3001X\u8ef8\u3001Y\u8ef8\u3001Z\u8ef8\u306b\u5bfe\u3057\u3066\u306e\u56de\u8ee2\u304c\u7528\u610f\u3055\u308c\u3066\u304a\u308a\u3001\u7d44\u307f\u5408\u308f\u305b\u65b9\u306b\u3088\u3063\u3066\u69d8\u3005\u306a\u52d5\u304d\u306e\u56de\u8ee2\u52d5\u4f5c\u3092\u5b9f\u88c5\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h2 id=\"outline__2\" class=\"wp-block-heading\">rotate()\u95a2\u6570\u306e\u4f7f\u3044\u65b9<\/h2>\n\n\n\n<p>\u305d\u308c\u3067\u306f\u3001rotate\u95a2\u6570\u306e\u4f7f\u3044\u65b9\u306b\u3064\u3044\u3066\u8a73\u3057\u304f\u898b\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<br>\u4eca\u56de\u306e\u8a18\u4e8b\u3067\u306f\u3001\u4e0b\u8a18\u306eHTML\u3068CSS\u3092\u30d9\u30fc\u30b9\u306b\u8aac\u660e\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u3010\u57fa\u672c\u3068\u306a\u308bHTML\u3011<\/strong><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-html\" data-lang=\"HTML\" data-show-lang=\"1\"><code>&lt;body&gt;\n  &lt;div class=&quot;sampleRotate&quot;&gt;\u30b5\u30f3\u30d7\u30eb&lt;\/div&gt;\n&lt;\/body&gt;<\/code><\/pre><\/div>\n\n\n\n<p><strong>\u3010\u57fa\u672c\u3068\u306a\u308bCSS\u3011<\/strong><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-css\" data-lang=\"CSS\" data-show-lang=\"1\"><code>body {\n    display: flex;\n    height: 220px;\n    margin: 0;\n}\n\n.sampleRotate {\n    width: 150px;\n    height:150px;\n    text-align: center;\n    justify-content: center;\n    align-content: center;\n    color: #ffffff;\n    background-color: #008080;\n    margin: auto;\n}<\/code><\/pre><\/div>\n\n\n\n<p><strong>\u3010\u30b5\u30f3\u30d7\u30eb\u8868\u793a\u7d50\u679c\u3011<\/strong><\/p>\n\n\n\n<style>\n    .sample {\n        display: flex;\n        height: 220px;\n    }\n\n    .sampleRotate {\n        width: 150px;\n        height: 150px;\n        text-align: center;\n        justify-content: center;\n        align-content: center;\n        color: #ffffff;\n        background-color: #008080;\n        margin: auto;\n    }\n<\/style>\n\n<body class=\"sample\">\n    <div class=\"sampleRotate\">\u30b5\u30f3\u30d7\u30eb<\/div>\n<\/body>\n\n\n\n<h3 id=\"outline__2_1\" class=\"wp-block-heading\">transform: rotate()\u306e\u57fa\u672c\u69cb\u6587<\/h3>\n\n\n\n<p>transform \u30d7\u30ed\u30d1\u30c6\u30a3\u3067 rotate \u95a2\u6570\u3092\u4f7f\u7528\u3059\u308b\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u8a18\u8ff0\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u3010\u57fa\u672c\u69cb\u6587\u3011<\/strong><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-css\" data-lang=\"CSS\" data-show-lang=\"1\"><code>transform: rotate(\u89d2\u5ea6);<\/code><\/pre><\/div>\n\n\n\n<p>\u89d2\u5ea6\u3092\u6307\u5b9a\u3059\u308b\u306e\u3067\u3001\u5358\u4f4d\u306f \u300cdeg\u300d\u3001\u300cturn\u300d\u3001\u300crad\u300d \u306e\u3044\u305a\u308c\u304b\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>360\u5ea6\u306e\u57fa\u6e96\u3067\u6307\u5b9a\u3057\u305f\u3044\u5834\u5408\u306f deg \u3092\u4f7f\u7528\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<p>\u6570\u5024\u306b\u306f\u30de\u30a4\u30ca\u30b9\u306e\u5024\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u3001\u30d7\u30e9\u30b9\u306e\u5834\u5408\u306b\u306f\u6642\u8a08\u56de\u308a\u3001\u30de\u30a4\u30ca\u30b9\u306e\u5834\u5408\u306b\u306f\u53cd\u6642\u8a08\u56de\u308a\u306b\u56de\u8ee2\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u3010\u30b5\u30f3\u30d7\u30ebCSS\u3011<\/strong><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-css\" data-lang=\"CSS\" data-show-lang=\"1\"><code>.sampleRotate {\n    width: 150px;\n    height:150px;\n    text-align: center;\n    justify-content: center;\n    align-content: center;\n    color: #ffffff;\n    background-color: #008080;\n    transform: rotate(45deg);\n}<\/code><\/pre><\/div>\n\n\n\n<p><strong>\u3010\u8868\u793a\u7d50\u679c\u3011<\/strong><\/p>\n\n\n\n<style>\n    .sample {\n        display: flex;\n        height: 220px;\n    }\n\n    .sampleRotate {\n        width: 150px;\n        height: 150px;\n        text-align: center;\n        justify-content: center;\n        align-content: center;\n        color: #ffffff;\n        background-color: #008080;\n        margin: auto;\n    }\n<\/style>\n\n<body class=\"sample\">\n    <div class=\"sampleRotate\" style=\"transform: rotate(45deg);\">\u30b5\u30f3\u30d7\u30eb<\/div>\n<\/body>\n\n\n\n<h3 id=\"outline__2_2\" class=\"wp-block-heading\">\u56de\u8ee2\u65b9\u5411\u306b\u5fdc\u3058\u305frotate()\u95a2\u6570\u306e\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3<\/h3>\n\n\n\n<p>rotate\u95a2\u6570\u306e\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u3068\u3057\u3066\u3001\u56de\u8ee2\u3059\u308b\u65b9\u5411\u3092\u4e00\u3064\u306e\u56de\u8ee2\u8ef8\u306b\u5b9a\u3081\u308b\u300crotateX\u300d \u3084 \u300crotateY\u300d \u306a\u3069\u3001\u3044\u304f\u3064\u304b\u306e\u7a2e\u985e\u304c\u3042\u308a\u307e\u3059\u3002<br>1\u3064\u305a\u3064\u9806\u306b\u898b\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<h4 id=\"outline__2_2_1\" class=\"wp-block-heading\">\u3010\u57fa\u672c\u5f62\u3011rotate()<\/h4>\n\n\n\n<p>\u4e00\u756a\u57fa\u672c\u7684\u306a\u5f62\u306e rotate\u95a2\u6570\u3067\u3059\u3002\u8981\u7d20\u306e\u4e2d\u5fc3\u306b\u6642\u8a08\u56de\u308a\u3001\u307e\u305f\u306f\u53cd\u6642\u8a08\u5468\u308a\u306b\u56de\u8ee2\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u3010\u30b5\u30f3\u30d7\u30ebCSS\u3011<\/strong><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-css\" data-lang=\"CSS\" data-show-lang=\"1\"><code>.sampleRotate {\n    width: 150px;\n    height:150px;\n    text-align: center;\n    color: #ffffff;\n    background-color: #008080;\n    transform: rotate(-90deg); \n}<\/code><\/pre><\/div>\n\n\n\n<p><strong>\u3010\u8868\u793a\u7d50\u679c\u3011<\/strong><\/p>\n\n\n\n<style>\n    .sample {\n        display: flex;\n        height: 220px;\n    }\n\n    .sampleRotate {\n        width: 150px;\n        height: 150px;\n        text-align: center;\n        justify-content: center;\n        align-content: center;\n        color: #ffffff;\n        background-color: #008080;\n        margin: auto;\n    }\n<\/style>\n\n<body class=\"sample\">\n    <div class=\"sampleRotate\" style=\"transform: rotate(-90deg);\">\u30b5\u30f3\u30d7\u30eb<\/div>\n<\/body>\n\n\n\n<h4 id=\"outline__2_2_2\" class=\"wp-block-heading\">\u3010X\u8ef8\u56de\u8ee2\u3011rotateX()<\/h4>\n\n\n\n<p><strong>rotateX<\/strong> \u306f\u3001X\u8ef8\uff08\u6a2a\u8ef8\uff09\u3092\u57fa\u6e96\u306b\u56de\u8ee2\u3059\u308b\u95a2\u6570\u3067\u3059\u3002<br>\u56de\u8ee2\u306e\u5411\u304d\u3068\u3057\u3066\u306f\u3001\u4e0a\u8fba\u4f4d\u7f6e\u304b\u3089\u4e0b\u8fba\u4f4d\u7f6e\u3078\u3001\u3042\u308b\u3044\u306f\u4e0b\u8fba\u4f4d\u7f6e\u304b\u3089\u4e0a\u8fba\u4f4d\u7f6e\u3078\u3068\u7e26\u65b9\u5411\u306b\u56de\u8ee2\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u3010\u30b5\u30f3\u30d7\u30ebCSS\u3011<\/strong><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-css\" data-lang=\"CSS\" data-show-lang=\"1\"><code>.sampleRotateX {\n    width: 150px;\n    height:150px;\n    text-align: center;\n    color: #ffffff;\n    background-color: #008080;\n    transform: rotateX(180deg); \n}<\/code><\/pre><\/div>\n\n\n\n<p><strong>\u3010\u8868\u793a\u7d50\u679c\u3011<\/strong><\/p>\n\n\n\n<style>\n    .sample {\n        display: flex;\n        height: 220px;\n    }\n\n    .sampleRotateX {\n        width: 150px;\n        height: 150px;\n        text-align: center;\n        justify-content: center;\n        align-content: center;\n        color: #ffffff;\n        background-color: #008080;\n        margin: auto;\n        transform: rotateX(180deg);\n    }\n<\/style>\n\n<body class=\"sample\">\n    <div class=\"sampleRotateX\">\u30b5\u30f3\u30d7\u30eb<\/div>\n<\/body>\n\n\n\n<h4 id=\"outline__2_2_3\" class=\"wp-block-heading\">\u3010Y\u8ef8\u56de\u8ee2\u3011rotateY()<\/h4>\n\n\n\n<p>rotateY \u306f\u3001Y\u8ef8\uff08\u7e26\u8ef8\uff09\u3092\u57fa\u6e96\u306b\u56de\u8ee2\u3059\u308b\u95a2\u6570\u3067\u3059\u3002<br>\u3053\u3061\u3089\u306f\u3001\u53f3\u8fba\u4f4d\u7f6e\u304b\u3089\u5de6\u8fba\u4f4d\u7f6e\u3001\u3042\u308b\u3044\u306f\u5de6\u8fba\u4f4d\u7f6e\u304b\u3089\u53f3\u8fba\u4f4d\u7f6e\u3078\u3068\u6a2a\u65b9\u5411\u306b\u56de\u8ee2\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u3010\u30b5\u30f3\u30d7\u30ebCSS\u3011<\/strong><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-css\" data-lang=\"CSS\" data-show-lang=\"1\"><code>.sampleRotateY {\n    width: 150px;\n    height: 150px;\n    text-align: center;\n    justify-content: center;\n    align-content: center;\n    color: #ffffff;\n    background-color: #008080;\n    transform: rotateY(180deg);\n}<\/code><\/pre><\/div>\n\n\n\n<p><strong>\u3010\u8868\u793a\u7d50\u679c\u3011<\/strong><\/p>\n\n\n\n<style>\n    .sample {\n        display: flex;\n        height: 220px;\n    }\n\n    .sampleRotateY {\n        width: 150px;\n        height: 150px;\n        text-align: center;\n        justify-content: center;\n        align-content: center;\n        color: #ffffff;\n        background-color: #008080;\n        margin: auto;\n        transform: rotateY(180deg);\n    }\n<\/style>\n\n<body class=\"sample\">\n    <div class=\"sampleRotateY\">\u30b5\u30f3\u30d7\u30eb<\/div>\n<\/body>\n\n\n\n<h4 id=\"outline__2_2_4\" class=\"wp-block-heading\">\u3010Z\u8ef8\u56de\u8ee2\u3011rotateZ()<\/h4>\n\n\n\n<p>rotateZ\u95a2\u6570\u306f\u3001Z\u8ef8\uff08\u5965\u884c\u304d\uff09\u3092\u57fa\u6e96\u306b\u56de\u8ee2\u3059\u308b\u95a2\u6570\u3067\u3059\u3002<br>\u305f\u3060\u3057\u3001Z\u8ef8\u306f\u4e3b\u306b\u7acb\u4f53\uff083\u6b21\u5143\uff09\u3067\u306e\u5ea7\u6a19\u3092\u8868\u3059\u8ef8\u306a\u306e\u3067\u3001rotateZ\u95a2\u6570\u306e\u307f\u3067\u4f7f\u7528\u3059\u308b\u5834\u5408\u306f rotate\u95a2\u6570\u3068\u540c\u69d8\u306e\u52d5\u304d\u3092\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u3010\u30b5\u30f3\u30d7\u30ebCSS\u3011<\/strong><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-css\" data-lang=\"CSS\" data-show-lang=\"1\"><code>.sampleRotateZ {\n    width: 150px;\n    height:150px;\n    text-align: center;\n    justify-content: center;\n    align-content: center;\n    color: #ffffff;\n    background-color: #008080;\n    margin: auto;\n    transform: rotateZ(45deg); \n}<\/code><\/pre><\/div>\n\n\n\n<p><strong>\u3010\u8868\u793a\u7d50\u679c\u3011<\/strong><\/p>\n\n\n\n<style>\n    .sample {\n        display: flex;\n        height: 220px;\n    }\n\n.sampleRotateZ {\n    width: 150px;\n    height:150px;\n    text-align: center;\n    justify-content: center;\n    align-content: center;\n    color: #ffffff;\n    background-color: #008080;\n    margin: auto;\n    transform: rotateZ(45deg); \n}\n<\/style>\n\n<body class=\"sample\">\n    <div class=\"sampleRotateZ\">\u30b5\u30f3\u30d7\u30eb<\/div>\n<\/body>\n\n\n\n<h2 id=\"outline__3\" class=\"wp-block-heading\">\u8981\u7d20\u30923D\u3067\u56de\u8ee2\u3055\u305b\u308brotate3d()\u95a2\u6570<\/h2>\n\n\n\n<p>\u5148\u307b\u3069\u8aac\u660e\u3057\u305fZ\u8ef8\u304c\u6709\u52b9\u306b\u50cd\u304f\u306e\u304c\u30013D\u8ef8\u3067\u306e\u56de\u8ee2\u3092\u6307\u5b9a\u3067\u304d\u308b \u300crotate3d\u300d\u95a2\u6570\u3067\u3059\u3002<br>X\u8ef8\u3001Y\u8ef8\u3001Z\u8ef8\u305d\u308c\u305e\u308c\u306e\u6570\u5024\u3068\u3001\u56de\u8ee2\u3059\u308b\u89d2\u5ea6\u3092\u307e\u3068\u3081\u3066\u6307\u5b9a\u3057\u3001\u8981\u7d20\u3092\u7acb\u4f53\u7684\u306b\u56de\u8ee2\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>rotate3d\u95a2\u6570\u3092\u4f7f\u7528\u3059\u308b\u969b\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u8a18\u8ff0\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u3010\u57fa\u672c\u69cb\u6587\u3011<\/strong><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-css\" data-lang=\"CSS\" data-show-lang=\"1\"><code>transform: rotate3d(X\u8ef8, Y\u8ef8, Z\u8ef8, \u89d2\u5ea6);<\/code><\/pre><\/div>\n\n\n\n<p><strong>\u3010\u30b5\u30f3\u30d7\u30ebCSS\u3011<\/strong><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\" data-show-lang=\"1\"><code>.sampleRotate3d {\n    width: 150px;\n    height:150px;\n    text-align: center;\n    justify-content: center;\n    align-content: center;\n    color: #ffffff;\n    background-color: #008080;\n    margin: auto;\n    transform: rotate3d(0.5, 1, 0.5, 45deg);\n}<\/code><\/pre><\/div>\n\n\n\n<p><strong>\u3010\u8868\u793a\u7d50\u679c\u3011<\/strong><\/p>\n\n\n\n<style>\n    .sample {\n        display: flex;\n        height: 220px;\n    }\n\n.sampleRotate3d {\n    width: 150px;\n    height:150px;\n    text-align: center;\n    justify-content: center;\n    align-content: center;\n    color: #ffffff;\n    background-color: #008080;\n    margin: auto;\n    transform: rotate3d(0.5, 1, 0.5, 45deg);\n}\n<\/style>\n\n<body class=\"sample\">\n    <div class=\"sampleRotate3d\">\u30b5\u30f3\u30d7\u30eb<\/div>\n<\/body>\n\n\n\n<p>X, Y, Z\u8ef8\u306e\u56de\u8ee2\u3092\u7d44\u307f\u5408\u308f\u305b\u308b\u3053\u3068\u3067\u8907\u96d1\u306a\u56de\u8ee2\u3092\u8868\u73fe\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br>\u5f8c\u8ff0\u3059\u308b\u56de\u8ee2\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306e\u5b9f\u88c5\u65b9\u6cd5\u3092\u5229\u7528\u3059\u308c\u3070\u3001\u3055\u3089\u306b\u30ea\u30c3\u30c1\u306a\u8868\u73fe\u304c\u5b9f\u73fe\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h2 id=\"outline__4\" class=\"wp-block-heading\">transform-origin\u30d7\u30ed\u30d1\u30c6\u30a3\u3067\u56de\u8ee2\u306e\u57fa\u6e96\u70b9\u3092\u6307\u5b9a\u3059\u308b<\/h2>\n\n\n\n<p>rotate\u95a2\u6570\u3067\u306f\u57fa\u672c\u7684\u306b\u3001\u8981\u7d20\u306e\u4e2d\u5fc3\u3092\u57fa\u6e96\u70b9\u3068\u3057\u3066\u56de\u8ee2\u3092\u884c\u3044\u307e\u3059\u304c\u3001\u3053\u306e\u57fa\u6e96\u70b9\u306e\u4f4d\u7f6e\u3092\u305a\u3089\u3057\u3066\u56de\u8ee2\u3055\u305b\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<br>\u4e2d\u5fc3\u4ee5\u5916\u306e\u5834\u6240\u3092\u57fa\u6e96\u70b9\u306b\u3057\u305f\u3044\u5834\u5408\u306f\u3001transform-origin \u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u4f7f\u7528\u3057\u3066\u4f4d\u7f6e\u306e\u6307\u5b9a\u3092\u884c\u3044\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<p>transform-origin \u30d7\u30ed\u30d1\u30c6\u30a3\u3067\u306f\u3001\u57fa\u6e96\u70b9\u306e\u4f4d\u7f6e\u3068\u306a\u308b\u5ea7\u6a19\u3092\u305d\u308c\u305e\u308c x\u3001y\u3001z \u306e\u9806\u306b\u534a\u89d2\u30b9\u30da\u30fc\u30b9\u3067\u533a\u5207\u3063\u3066\u6307\u5b9a\u3057\u307e\u3059\u3002<br>\u5ea7\u6a19\u306e\u6307\u5b9a\u306f\u4e3b\u306b\u30d1\u30fc\u30bb\u30f3\u30c6\u30fc\u30b8 (%) \u3067\u884c\u3046\u304b\u3001\u307e\u305f\u306f px \u306a\u3069\u306e\u5358\u4f4d\u4ed8\u304d\u306e\u6570\u5024\u3067\u6307\u5b9a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>x \u3068 y \u5ea7\u6a19\u306b\u3064\u3044\u3066\u306f\u3001\u4ee5\u4e0b\u306e\u30ad\u30fc\u30ef\u30fc\u30c9\u3092\u7d44\u307f\u5408\u308f\u305b\u3066\u6307\u5b9a\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>left \u2026\u2026 x\u5ea7\u6a19\u3092 0%\uff08\u5de6\u7aef\uff09\u306b\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/li>\n\n\n\n<li>right \u2026\u2026 x\u5ea7\u6a19\u3092 100%\uff08\u53f3\u7aef\uff09\u306b\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/li>\n\n\n\n<li>top \u2026\u2026 y\u5ea7\u6a19\u3092 0%\uff08\u4e0a\u7aef\uff09\u306b\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/li>\n\n\n\n<li>bottom \u2026\u2026 y\u5ea7\u6a19\u3092 100%\uff08\u4e0b\u7aef\uff09\u306b\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/li>\n\n\n\n<li>center \u2026\u2026 x\u3001y\u5ea7\u6a19\u3092 50%\uff08\u4e2d\u592e\uff09\u306b\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n\n\n\n<p><strong>\u3010\u30b5\u30f3\u30d7\u30ebCSS\u3011<\/strong><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-css\" data-lang=\"CSS\" data-show-lang=\"1\"><code>.sampleRotatePivot {\n    width: 150px;\n    height:150px;\n    text-align: center;\n    justify-content: center;\n    align-content: center;\n    color: #ffffff;\n    background-color: #008080;\n    margin: auto;\n    transform-origin: left top; \n    transform: rotate(90deg);\n}<\/code><\/pre><\/div>\n\n\n\n<p><strong>\u3010\u8868\u793a\u7d50\u679c\u3011<\/strong><\/p>\n\n\n\n<style>\n    .sample {\n        display: flex;\n        height: 220px;\n        align-items: space-between;\n    }\n\n    .sampleRotatePivot {\n        width: 150px;\n        height: 150px;\n        text-align: center;\n        justify-content: center;\n        align-content: center;\n        color: #ffffff;\n        background-color: #008080;\n        margin: auto;\n        transform-origin: left top;\n        transform: rotate(90deg);\n    }\n<\/style>\n<body class=\"sample\">\n    <div class=\"sampleRotatePivot\">\u30b5\u30f3\u30d7\u30eb<\/div>\n<\/body>\n\n\n\n\n<p>\u3053\u306e\u307e\u307e\u3060\u3068\u5206\u304b\u308a\u3065\u3089\u3044\u3067\u3059\u304c\u3001\u30b5\u30f3\u30d7\u30eb\u306e\u30dc\u30c3\u30af\u30b9\u306f\u3082\u3068\u3082\u3068\u306e\u4f4d\u7f6e\u304b\u3089\u8981\u7d20\u306e\u5de6\u4e0a\u3092\u8d77\u70b9\u306b\u3057\u306690\u5ea6\u56de\u8ee2\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/web-img.rensa.jp.net\/rensa\/images\/techmania\/thumbnail\/images\/css_rotate1.webp\" class=\"post-img\">\n\n\n\n<p>\u306a\u304a\u3001z\u5ea7\u6a19\u306b\u3064\u3044\u3066\u306f\u5358\u4f4d\u4ed8\u304d\u306e\u6570\u5024\u3067\u306e\u307f\u6307\u5b9a\u304c\u53ef\u80fd\u3067\u3059\u3002z\u5ea7\u6a19\u306e\u5024\u3092\u7701\u7565\u3057\u305f\u5834\u5408\u306f0px\u304c\u9069\u7528\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<h2 id=\"outline__5\" class=\"wp-block-heading\">\u3010\u5fdc\u7528\u3011\u8981\u7d20\u306e\u56de\u8ee2\u3092\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3055\u305b\u308b<\/h2>\n\n\n\n<p>rotate\u95a2\u6570\u306f\u3001\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u52b9\u679c\u3068\u306e\u76f8\u6027\u304c\u826f\u3044\u95a2\u6570\u3067\u3082\u3042\u308a\u307e\u3059\u3002<br>\u305f\u3060\u306e\u9759\u6b62\u753b\u3067\u306f\u306a\u304f\u52d5\u304d\u3092\u4ed8\u3051\u308b\u3053\u3068\u3067\u3001\u8868\u73fe\u306e\u5e45\u3092\u5927\u304d\u304f\u5e83\u3052\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u4ed8\u3051\u308b\u65b9\u6cd5\u306f\u3044\u304f\u3064\u304b\u3042\u308a\u307e\u3059\u304c\u3001\u4eca\u56de\u306fCSS\u306e\u307f\u3067\u5b9f\u88c5\u3067\u304d\u308b2\u3064\u306e\u65b9\u6cd5\u306b\u3064\u3044\u3066\u7d39\u4ecb\u3057\u3066\u3044\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h3 id=\"outline__5_1\" class=\"wp-block-heading\">transition\u30d7\u30ed\u30d1\u30c6\u30a3\u3067\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u4f5c\u308b<\/h3>\n\n\n\n<p>\u56de\u8ee2\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u5b9f\u88c5\u3059\u308b\uff11\u3064\u3081\u306e\u65b9\u6cd5\u306f\u3001transition \u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u4f7f\u7528\u3059\u308b\u3084\u308a\u65b9\u3067\u3059\u3002<\/p>\n\n\n\n<p>transition \u30d7\u30ed\u30d1\u30c6\u30a3\u306f\u3001\u8981\u7d20\u304c\u3042\u308b\u72b6\u614b\u304b\u3089\u5225\u306e\u72b6\u614b\u3078\u3068\u5909\u5316\u3059\u308b\u307e\u3067\u306b\u304b\u304b\u308b\u6642\u9593\u3092\u6307\u5b9a\u3067\u304d\u308b\u30d7\u30ed\u30d1\u30c6\u30a3\u3067\u3059\u3002<br>\u3053\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u521d\u3081\u304b\u3089\u56de\u8ee2\u3057\u305f\u72b6\u614b\u3067\u8868\u793a\u3059\u308b\u306e\u3067\u306f\u306a\u304f\u3001\u52d5\u7684\u306b\u5909\u5316\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4f8b\u3048\u3070\u3001\u4e0b\u8a18\u306e\u3088\u3046\u306b\u30b3\u30fc\u30c9\u3092\u8a18\u8ff0\u3059\u308b\u3068\u30011\u79d2\u9593\u304b\u3051\u3066\u8981\u7d20\u304c\u56de\u8ee2\u3059\u308b\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u4f5c\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u3010\u30b5\u30f3\u30d7\u30ebCSS\u3011<\/strong><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-css\" data-lang=\"CSS\" data-show-lang=\"1\"><code>.sampleRotateTrans {\n    width: 150px;\n    height:150px;\n    text-align: center;\n    color: #ffffff;\n    background-color: #008080;\n    transition: 1s;\n    transform: rotate(360deg);\n}<\/code><\/pre><\/div>\n\n\n\n<p><strong>\u3010\u8868\u793a\u7d50\u679c\u3011<\/strong><\/p>\n\n\n\n<style>\n    .sample {\n        display: flex;\n        height: 220px;\n        align-items: space-between;\n    }\n\n    .sampleRotateTrans {\n        width: 150px;\n        height: 150px;\n        text-align: center;\n        justify-content: center;\n        align-content: center;\n        color: #ffffff;\n        background-color: #008080;\n        margin: auto;\n        transition: 1s;\n        transform: rotate(360deg);\n    }\n<\/style>\n<body class=\"sample\">\n    <div class=\"sampleRotateTrans\">\u30b5\u30f3\u30d7\u30eb<\/div>\n<\/body>\n\n\n\n<p>\u305f\u3060\u3057\u3001\u4e0a\u8a18\u306e\u3088\u3046\u306b transition\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u6307\u5b9a\u3059\u308b\u3068\u3001CSS\u306e\u8aad\u307f\u8fbc\u307f\u304c\u7d42\u308f\u3063\u305f\u30bf\u30a4\u30df\u30f3\u30b0\u3067\u3059\u3050\u306b\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u304c\u52d5\u3044\u3066\u3057\u307e\u3044\u307e\u3059\u3002\uff08\u3053\u306e\u6587\u7ae0\u304c\u51fa\u3066\u3044\u308b\u3068\u3053\u308d\u3067\u30da\u30fc\u30b8\u3092\u518d\u8aad\u307f\u8fbc\u307f\u3059\u308b\u3068\u3001\u30da\u30fc\u30b8\u304c\u8aad\u307f\u8fbc\u307e\u308c\u305f\u76f4\u5f8c\u306b\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3057\u3066\u3044\u308b\u3053\u3068\u304c\u5206\u304b\u308a\u307e\u3059\uff09<\/p>\n\n\n\n<p>\u4f8b\u3048\u3070\u30de\u30a6\u30b9\u30aa\u30fc\u30d0\u30fc\u306a\u3069\u3001\u4f55\u304b\u306e\u30c8\u30ea\u30ac\u30fc\u3092\u304d\u3063\u304b\u3051\u306b\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u958b\u59cb\u3057\u305f\u3044\u5834\u5408\u306f\u3001\u6b21\u306e\u3088\u3046\u306b\u64ec\u4f3c\u30af\u30e9\u30b9\u5185\u3067 rotate \u95a2\u6570\u3092\u4f7f\u7528\u3059\u308b\u3088\u3046\u306b\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<p><strong>\u3010\u30b5\u30f3\u30d7\u30ebCSS\u3011<\/strong><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>.sampleRotateTrans {\n    width: 150px;\n    height:150px;\n    text-align: center;\n    color: #ffffff;\n    background-color: #008080;\n    transition: 1s;\n}\n\n.sampleRotateTrans:hover {\n    transform: rotate(360deg);\n}<\/code><\/pre><\/div>\n\n\n\n<p><strong>\u3010\u8868\u793a\u7d50\u679c\u3011<\/strong><\/p>\n\n\n\n<style>\n    .sample {\n        display: flex;\n        height: 220px;\n        align-items: space-between;\n    }\n\n    .sampleRotateTrans2 {\n        width: 150px;\n        height: 150px;\n        text-align: center;\n        justify-content: center;\n        align-content: center;\n        color: #ffffff;\n        background-color: #008080;\n        margin: auto;\n        transition: 1s;\n    }\n    .sampleRotateTrans2:hover {\n        transform: rotate(360deg);\n    }\n<\/style>\n<body class=\"sample\">\n    <div class=\"sampleRotateTrans2\">\u30b5\u30f3\u30d7\u30eb<\/div>\n<\/body>\n\n\n\n<p>\u7591\u4f3c\u30af\u30e9\u30b9\u306e :hover \u3092\u4ed8\u3051\u305f\u3053\u3068\u3067\u3001\u30de\u30a6\u30b9\u30aa\u30fc\u30d0\u30fc\u3067\u56de\u8ee2\u304c\u304b\u304b\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<h3 id=\"outline__5_2\" class=\"wp-block-heading\">animation\u30d7\u30ed\u30d1\u30c6\u30a3\u3067\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u4f5c\u308b<\/h3>\n\n\n\n<p>transition\u30d7\u30ed\u30d1\u30c6\u30a3\u306f\u30012\u3064\u306e\u72b6\u614b\u9593\u306e\u5909\u5316\u3092\u6307\u5b9a\u3059\u308b\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u305f\u3081\u3001\u8907\u6570\u306e\u72b6\u614b\u3092\u631f\u3080\u3088\u3046\u306a\u8907\u96d1\u306a\u52d5\u304d\u306e\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093\u3002<br>\u3088\u308a\u8a73\u7d30\u306b\u52d5\u304d\u3092\u6307\u5b9a\u3057\u305f\u3044\u5834\u5408\u306b\u306f\u3001animation\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u4f7f\u7528\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<p>animation\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u4f7f\u7528\u3059\u308b\u969b\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u8a18\u8ff0\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u3010\u57fa\u672c\u69cb\u6587\u3011<\/strong><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-css\" data-lang=\"CSS\" data-show-lang=\"1\"><code>animation: \u30ad\u30fc\u30d5\u30ec\u30fc\u30e0\u540d \u79d2\u6570 \u9045\u5ef6\u6642\u9593;<\/code><\/pre><\/div>\n\n\n\n<p>\u30ad\u30fc\u30d5\u30ec\u30fc\u30e0\u306f\u3001\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u304c\u3069\u306e\u3088\u3046\u306b\u5909\u5316\u3059\u308b\u304b\u3092\u5b9a\u7fa9\u3059\u308b\u305f\u3081\u306e\u69cb\u6587\u306e\u3053\u3068\u3092\u8a00\u3044\u307e\u3059\u3002<br>animation\u30d7\u30ed\u30d1\u30c6\u30a3\u3067\u30ad\u30fc\u30d5\u30ec\u30fc\u30e0\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u3067\u3001\u8a18\u8ff0\u3057\u305f\u5185\u5bb9\u306e\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h4 id=\"outline__5_2_1\" class=\"wp-block-heading\">@keyframes\u3067\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306e\u30ad\u30fc\u30d5\u30ec\u30fc\u30e0\u3092\u8a2d\u5b9a\u3059\u308b<\/h4>\n\n\n\n<p>animation\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u4f7f\u7528\u3059\u308b\u969b\u306b\u5fc5\u305a\u5fc5\u8981\u306b\u306a\u308b\u306e\u304c\u3001\u30ad\u30fc\u30d5\u30ec\u30fc\u30e0\u3067\u3059\u3002<br>\u30ad\u30fc\u30d5\u30ec\u30fc\u30e0\u3067\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306e\u52d5\u4f5c\u3092\u6307\u5b9a\u3059\u308b\u306b\u306f\u3001\u6b21\u306e\u3088\u3046\u306b\u69cb\u6587\u3092\u8a18\u8ff0\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u3010\u57fa\u672c\u69cb\u6587\u3011<\/strong><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-css\" data-lang=\"CSS\" data-show-lang=\"1\"><code>@keyframes rotateAnimate {\n    0% {\n        \/* CSS\u30d7\u30ed\u30d1\u30c6\u30a3:\u5024; *\/\n    }\n    100% {\n        \/* CSS\u30d7\u30ed\u30d1\u30c6\u30a3:\u5024; *\/\n    }\n}<\/code><\/pre><\/div>\n\n\n\n<p>0%\u304c\u958b\u59cb\u6642\u70b9\u3001100%\u304c\u7d42\u4e86\u6642\u70b9\u3067\u3059\u3002<br>\u72b6\u614b\u3092\u3055\u3089\u306b\u7d30\u304b\u304f\u5206\u3051\u305f\u3044\u5834\u5408\u306b\u306f\u3001\u540c\u3058\u3088\u3046\u306b\u9032\u884c\u5ea6\u5408\u3044\u3092\u30d1\u30fc\u30bb\u30f3\u30c6\u30fc\u30b8\u3067\u6307\u5b9a\u3057\u3066\u304b\u3089\u3001\u305d\u308c\u305e\u308c\u306e\u72b6\u614b\u3092\u8a18\u8ff0\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u307e\u305f\u3001\u300c0~100%\u300d \u306f \u300cfrom~to\u300d \u3068\u6307\u5b9a\u3057\u3066\u3082\u540c\u3058\u52d5\u304d\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u3010\u57fa\u672c\u69cb\u6587\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u3011<\/strong><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-css\" data-lang=\"CSS\" data-show-lang=\"1\"><code>@keyframes rotateAnimate {\n    from {\n        \/* CSS\u30d7\u30ed\u30d1\u30c6\u30a3:\u5024; *\/\n    }\n    to {\n        \/* CSS\u30d7\u30ed\u30d1\u30c6\u30a3:\u5024; *\/\n    }\n}<\/code><\/pre><\/div>\n\n\n\n<p>\u5b9f\u969b\u306b\u4f7f\u7528\u3059\u308b\u5834\u5408\u306e\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u306f\u3001\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<p><strong>\u3010\u30b5\u30f3\u30d7\u30ebCSS\u3011<\/strong><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-css\" data-lang=\"CSS\" data-show-lang=\"1\"><code>.sampleRotateAnimate {\n    width: 150px;\n    height: 150px;\n    text-align: center;\n    color: #ffffff;\n    background-color: #008080;\n    animation: rotateAnimate 3s 0.5s;\n}\n\n@keyframes rotateAnimate {\n    0% {\n        transform: rotate(0deg);\n    }\n    100% {\n        transform: rotate(360deg);\n    }\n}<\/code><\/pre><\/div>\n\n\n\n<p><strong>\u3010\u8868\u793a\u7d50\u679c\u3011<\/strong><\/p>\n\n\n\n<style>\n    .sample {\n        display: flex;\n        height: 220px;\n        align-items: space-between;\n    }\n\n    .sampleRotateAnimate {\n        width: 150px;\n        height: 150px;\n        text-align: center;\n        justify-content: center;\n        align-content: center;\n        color: #ffffff;\n        background-color: #008080;\n        margin: auto;\n    }\n    .sampleRotateAnimate:hover {\n        animation: rotateAnimate 3s 0.5s;\n    }\n@keyframes rotateAnimate {\n    0% {\n        transform: rotate(0deg);\n    }\n    100% {\n        transform: rotate(360deg);\n    }\n}\n<\/style>\n<body class=\"sample\">\n    <div class=\"sampleRotateAnimate\">\u30b5\u30f3\u30d7\u30eb<\/div>\n<\/body>\n\n\n\n<p>\u4e0a\u306e\u8868\u793a\u7d50\u679c\u3067\u306f\u30de\u30a6\u30b9\u30ab\u30fc\u30bd\u30eb\u3092\u30dc\u30c3\u30af\u30b9\u306e\u4f4d\u7f6e\u306b\u7f6e\u304f\u3068\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u304c\u59cb\u307e\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u9593\u306b\u8907\u6570\u72b6\u614b\u3092\u631f\u3080\u3053\u3068\u3067\u3001\u3088\u308a\u8907\u96d1\u306a\u52d5\u304d\u306b\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002<br>\u307e\u305f\u3001animation\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u5834\u5408\u306b\u306f\u30eb\u30fc\u30d7\u56de\u6570\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u3010\u30eb\u30fc\u30d7\u56de\u6570\u3092\u6307\u5b9a\u3059\u308b\u5834\u5408\u306e@keyframes\u306e\u4f8b\u3011<\/strong><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-css\" data-lang=\"CSS\" data-show-lang=\"1\"><code>@keyframes rotateAnimate {\n    0% {\n        transform: rotate(0deg);\n    }\n    30% {\n        transform: rotate(270deg);\n    }\n    60% {\n        transform: rotate(90deg);\n    }\n    100% {\n        transform: rotate(360deg);\n    }\n}<\/code><\/pre><\/div>\n\n\n\n<p><strong>\u3010\u8868\u793a\u7d50\u679c\u3011<\/strong>\uff08\u30de\u30a6\u30b9\u30aa\u30fc\u30d0\u30fc\u3067\u52d5\u304d\u307e\u3059\uff09<\/p>\n\n\n\n<style>\n    .sample {\n        display: flex;\n        height: 220px;\n        align-items: space-between;\n    }\n\n    .sampleRotateAnimate2 {\n        width: 150px;\n        height: 150px;\n        text-align: center;\n        justify-content: center;\n        align-content: center;\n        color: #ffffff;\n        background-color: #008080;\n        margin: auto;\n    }\n    .sampleRotateAnimate2:hover {\n        animation: rotateAnimate2 3s 0.5s;\n    }\n@keyframes rotateAnimate2 {\n    0% {\n        transform: rotate(0deg);\n    }\n    30% {\n        transform: rotate(270deg);\n    }\n    60% {\n        transform: rotate(90deg);\n    }\n    100% {\n        transform: rotate(360deg);\n    }\n}\n<\/style>\n<body class=\"sample\">\n    <div class=\"sampleRotateAnimate2\">\u30b5\u30f3\u30d7\u30eb<\/div>\n<\/body>\n\n\n\n<h2 id=\"outline__6\" class=\"wp-block-heading\">rotate()\u3092\u4f7f\u7528\u3059\u308b\u969b\u306e\u6ce8\u610f\u70b9<\/h2>\n\n\n\n<p>\u8981\u7d20\u306e\u8868\u793a\u4f4d\u7f6e\u3092\u5909\u66f4\u3057\u305f\u308a\u3001\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306e\u52d5\u304d\u306b\u9069\u7528\u3057\u305f\u308a\u3068\u3001\u69d8\u3005\u306a\u5834\u9762\u3067\u6d3b\u7528\u3067\u304d\u308b\u4fbf\u5229\u306a rotate\u95a2\u6570\u3067\u3059\u304c\u3001\u4f7f\u7528\u306e\u969b\u306b\u306f\u3044\u304f\u3064\u304b\u6ce8\u610f\u3059\u308b\u3079\u304d\u70b9\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h3 id=\"outline__6_1\" class=\"wp-block-heading\">\u56de\u8ee2\u524d\u306e\u8981\u7d20\u306e\u914d\u7f6e\u304c\u305d\u306e\u307e\u307e\u6b8b\u308b<\/h3>\n\n\n\n<p>\u3053\u308c\u307e\u3067\u306e\u30b3\u30fc\u30c9\u306f\u3042\u304f\u307e\u3067\u30b5\u30f3\u30d7\u30eb\u306e\u305f\u3081\u3001\u30b7\u30f3\u30d7\u30eb\u306a\u30ec\u30a4\u30a2\u30a6\u30c8\u306e\u307f\u3067\u52d5\u4f5c\u3092\u898b\u3066\u304d\u307e\u3057\u305f\u304c\u3001\u5b9f\u969b\u306eWeb\u30b5\u30a4\u30c8\u3067\u306f\u69d8\u3005\u306a\u8981\u7d20\u304c\u753b\u9762\u4e0a\u306b\u914d\u7f6e\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3067\u3059\u304c\u3001rotate\u95a2\u6570\u3092\u4f7f\u7528\u3057\u305f\u969b\u306b\u3001\u56de\u8ee2\u306b\u5408\u308f\u305b\u3066\u8981\u7d20\u306e\u914d\u7f6e\u304c\u81ea\u52d5\u3067\u8abf\u6574\u3055\u308c\u308b\u308f\u3051\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<br>\u305d\u306e\u305f\u3081\u3001\u56de\u8ee2\u5f8c\u306e\u4f4d\u7f6e\u3092\u8003\u616e\u305b\u305a\u306b\u8981\u7d20\u3092\u914d\u7f6e\u3057\u3066\u3057\u307e\u3046\u3068\u3001\u4e92\u3044\u306b\u91cd\u306a\u308a\u5408\u3063\u305f\u308a\u3001\u4f59\u8a08\u306a\u7a7a\u767d\u304c\u751f\u307e\u308c\u305f\u308a\u3068\u3001\u30ec\u30a4\u30a2\u30a6\u30c8\u306b\u5f71\u97ff\u304c\u51fa\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4f8b\u3048\u3070\u4ee5\u4e0b\u306e\u753b\u50cf\u306f\u3001\u56de\u8ee2\u3055\u305b\u308b\u8981\u7d20\u306e\u3059\u3050\u96a3\u306b\u30c6\u30ad\u30b9\u30c8\u3092\u914d\u7f6e\u3057\u3066\u3057\u307e\u3063\u305f\u305f\u3081\u306b\u3001\u6587\u5b57\u306e\u4e00\u90e8\u306b\u8981\u7d20\u304c\u88ab\u3063\u3066\u3057\u307e\u3063\u305f\u30ec\u30a4\u30a2\u30a6\u30c8\u306e\u4e00\u4f8b\u3067\u3059\u3002<\/p>\n\n\n\n<p><strong>\u3010\u56de\u8ee2\u524d\u3011<\/strong><\/p>\n\n\n\n<style>\n    .sample {\n        display: flex;\n        height: 220px;\n    }\n\n    .sampleRotate {\n        width: 150px;\n        height: 150px;\n        text-align: center;\n        justify-content: center;\n        align-content: center;\n        color: #ffffff;\n        background-color: #008080;\n        margin: auto;\n    }\n<\/style>\n<body class=\"sample\">\n    <p style=\"margin:0;text-align:center;place-content:center;\">\u30c6\u30ad\u30b9\u30c8\u30c6\u30ad\u30b9\u30c8\u30c6\u30ad\u30b9\u30c8\u30c6\u30ad\u30b9\u30c8<\/p>\n    <div class=\"sampleRotate\">\u30b5\u30f3\u30d7\u30eb<\/div>\n    <p style=\"margin:0;text-align:center;place-content:center;\">\u30c6\u30ad\u30b9\u30c8\u30c6\u30ad\u30b9\u30c8\u30c6\u30ad\u30b9\u30c8\u30c6\u30ad\u30b9\u30c8<\/p>\n<\/body>\n\n\n\n<p><strong>\u3010\u56de\u8ee2\u5f8c\u3011<\/strong><\/p>\n\n\n\n<style>\n    .sample {\n        display: flex;\n        height: 220px;\n    }\n\n    .sampleRotate {\n        width: 150px;\n        height: 150px;\n        text-align: center;\n        justify-content: center;\n        align-content: center;\n        color: #ffffff;\n        background-color: #008080;\n        margin: auto;\n    }\n<\/style>\n<body class=\"sample\">\n    <p style=\"text-align:center;place-content:center;\">\u30c6\u30ad\u30b9\u30c8\u30c6\u30ad\u30b9\u30c8\u30c6\u30ad\u30b9\u30c8\u30c6\u30ad\u30b9\u30c8<\/p>\n    <div class=\"sampleRotate\" style=\"transform:rotate(45deg)\">\u30b5\u30f3\u30d7\u30eb<\/div>\n    <p style=\"text-align:center;place-content:center;\">\u30c6\u30ad\u30b9\u30c8\u30c6\u30ad\u30b9\u30c8\u30c6\u30ad\u30b9\u30c8\u30c6\u30ad\u30b9\u30c8<\/p>\n<\/body>\n\n\n\n<p>rotate\u95a2\u6570\u3092\u4f7f\u7528\u3059\u308b\u5834\u5408\u306f\u3001\u5404\u8981\u7d20\u306e\u4f4d\u7f6e\u306b\u6c17\u3092\u4ed8\u3051\u306a\u304c\u3089\u30ec\u30a4\u30a2\u30a6\u30c8\u3092\u8abf\u6574\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<h3 id=\"outline__6_2\" class=\"wp-block-heading\">\u30a4\u30f3\u30e9\u30a4\u30f3\u8981\u7d20\u306b\u306f\u52b9\u304b\u306a\u3044<\/h3>\n\n\n\n<p>rotate\u95a2\u6570\u306e\u4f7f\u7528\u6642\u306b\u4f7f\u3046 transform\u30d7\u30ed\u30d1\u30c6\u30a3\u3067\u3059\u304c\u3001span \u3084 a\u30bf\u30b0\u306a\u3069\u306e\u30a4\u30f3\u30e9\u30a4\u30f3\u8981\u7d20\u306b\u306f\u9069\u7528\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3002\uff08\u305f\u3060\u3057\u3001img \u306f\u9664\u304d\u307e\u3059\uff09<\/p>\n\n\n\n<p>\u4ee5\u4e0b\u306e\u4f8b\u3067\u306f\u3001span\u30bf\u30b0\u306b\u5bfe\u3057\u3066 transform\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u4f7f\u7528\u3057\u3001\u8981\u7d20\u3092\u56de\u8ee2\u3055\u305b\u3088\u3046\u3068\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u5b9f\u884c\u7d50\u679c\u306b\u306f rotate\u95a2\u6570\u306e\u5024\u304c\u9069\u7528\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p><strong>\u3010HTML\u3011<\/strong><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-html\" data-lang=\"HTML\" data-show-lang=\"1\"><code>&lt;div class=&quot;sampleRotate&quot;&gt;\n    &lt;span&gt;\u30b5\u30f3\u30d7\u30eb&lt;\/span&gt;\n&lt;\/div&gt;<\/code><\/pre><\/div>\n\n\n\n<p><strong>\u3010CSS\u3011<\/strong><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-css\" data-lang=\"CSS\" data-show-lang=\"1\"><code>.sampleRotateSpan {\n    transform: rotate(45deg);\n}<\/code><\/pre><\/div>\n\n\n\n<p><strong>\u3010\u8868\u793a\u7d50\u679c\u3011<\/strong><\/p>\n\n\n\n<style>\n.sampleRotateSpan {\n    transform: rotate(45deg);\n}\n<\/style>\n<div>\n    <span class=\"sampleRotateSpan\">\u30b5\u30f3\u30d7\u30eb<\/span>\n<\/div>\n\n\n\n<p>\u30a4\u30f3\u30e9\u30a4\u30f3\u8981\u7d20\u306b\u5bfe\u3057\u3066\u4f7f\u7528\u3057\u305f\u3044\u5834\u5408\u306b\u306fdiv\u30bf\u30b0\u3067\u56f2\u3046\u304b\u3001display: block; \u3084 display: inline-block; \u3092\u6307\u5b9a\u3057\u3066\u30d6\u30ed\u30c3\u30af\u8981\u7d20\u304b\u30a4\u30f3\u30e9\u30a4\u30f3\u30d6\u30ed\u30c3\u30af\u8981\u7d20\u306e\u3069\u3061\u3089\u304b\u306b\u5909\u66f4\u3059\u308b\u3088\u3046\u306b\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<p><strong>\u3010\u30b5\u30f3\u30d7\u30ebCSS\u3011<\/strong><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-css\" data-lang=\"CSS\" data-show-lang=\"1\"><code>.sampleRotate span {\n    display:inline-block;\n    transform: rotate(45deg);\n}<\/code><\/pre><\/div>\n\n\n\n<p><strong>\u3010\u8868\u793a\u7d50\u679c\u3011<\/strong><\/p>\n\n\n\n<style>\n.sampleRotateDiv span {\n    display:inline-block;\n    transform: rotate(45deg);\n}\n<\/style>\n<div class=\"sampleRotateDiv\" style=\"padding: 10px\">\n    <span>\u30b5\u30f3\u30d7\u30eb<\/span>\n<\/div>\n\n\n\n<h3 id=\"outline__6_3\" class=\"wp-block-heading\">\u53e4\u3044\u30d6\u30e9\u30a6\u30b6\u3078\u306e\u5bfe\u5fdc\u306f\u8ffd\u52a0\u306e\u8a18\u8ff0\u304c\u5fc5\u8981<\/h3>\n\n\n\n<p>\u73fe\u5728\u306b\u304a\u3044\u3066\u306f\u57fa\u672c\u7684\u306b\u610f\u8b58\u3059\u308b\u5fc5\u8981\u306e\u306a\u3044\u30dd\u30a4\u30f3\u30c8\u3067\u3059\u304c\u3001transform\u30d7\u30ed\u30d1\u30c6\u30a3\u306fCSS3\u3067\u8ffd\u52a0\u3055\u308c\u305f\u4ed5\u69d8\u306e\u305f\u3081\u3001\u4e00\u90e8\u306e\u53e4\u3044\u30d6\u30e9\u30a6\u30b6\u3067\u306f\u8a8d\u8b58\u3067\u304d\u306a\u304b\u3063\u305f\u308a\u3001\u8a8d\u8b58\u3059\u308b\u305f\u3081\u306b\u306f\u30d7\u30ed\u30d1\u30c6\u30a3\u540d\u306b<strong>\u30d9\u30f3\u30c0\u30fc\u30d7\u30ec\u30d5\u30a3\u30c3\u30af\u30b9<\/strong>\u3092\u4ed8\u3051\u306a\u3051\u308c\u3070\u306a\u3089\u306a\u3044\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30d9\u30f3\u30c0\u30fc\u30d7\u30ec\u30d5\u30a3\u30c3\u30af\u30b9\u3068\u306f\u3001\u30d6\u30e9\u30a6\u30b6\u3067\u6a19\u6e96\u5316\u3055\u308c\u3066\u3044\u306a\u3044\u975e\u6a19\u6e96\u306eCSS\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u4f7f\u7528\u3059\u308b\u5834\u5408\u306b\u3001\u30d7\u30ed\u30d1\u30c6\u30a3\u540d\u306e\u5148\u982d\u306b\u8ffd\u52a0\u3059\u308b\u3053\u3068\u3067\u6a5f\u80fd\u304c\u5229\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308b\u8a18\u8ff0\u65b9\u6cd5\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u30d9\u30f3\u30c0\u30fc\u30d7\u30ec\u30d5\u30a3\u30c3\u30af\u30b9\u304c\u5fc5\u8981\u306a\u30d6\u30e9\u30a6\u30b6\u3068\u3001\u4f7f\u7528\u3059\u308b\u30d9\u30f3\u30c0\u30fc\u30d7\u30ec\u30d5\u30a3\u30c3\u30af\u30b9\u306f\u305d\u308c\u305e\u308c\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<style>\n    table.referrence {\n        border: 2px solid rgb(140 140 140);\n        border-collapse: collapse;\n        table-layout: auto;\n        width: 100%\n    }\n\n    th {\n        background-color: #B8CCE4 !important;\n        color: #000 !important;\n        text-align: center !important;\n    }\n\n    th,\n    td {\n        border: 1px solid rgb(160 160 160) !important;\n        padding: 1%;\n        background: #FFF\n    }\n\n    td:nth-last-child(n+2) {\n        text-align: center;\n    }\n<\/style>\n<table class=\"referrence\">\n  <thead>\n    <tr>\n      <th>Web\u30d6\u30e9\u30a6\u30b6\u306e\u30d0\u30fc\u30b8\u30e7\u30f3<\/th>\n      <th>\u30d9\u30f3\u30c0\u30fc\u30d7\u30ec\u30d5\u30a3\u30c3\u30af\u30b9<\/th>\n    <\/tr>\n  <\/thead>\n  <tbody>\n    <tr>\n      <td>Firefox 3.5\uff5e15<\/td>\n      <td>-moz-<\/td>\n    <\/tr>\n    <tr>\n      <td>Chrome 35\u4ee5\u4e0b<\/td>\n      <td>-webkit-<\/td>\n    <\/tr>\n    <tr>\n      <td>Safari 8\u4ee5\u4e0b<\/td>\n      <td>-webkit-<\/td>\n    <\/tr>\n    <tr>\n      <td>Opera 10.5\uff5e12<\/td>\n      <td>-o-<\/td>\n    <\/tr>\n    <tr>\n      <td>Opera 15\uff5e22<\/td>\n      <td>-webkit-<\/td>\n    <\/tr>\n    <tr>\n      <td>IE9\uff5eIE11<\/td>\n      <td>-ms-<\/td>\n    <\/tr>\n  <\/tbody>\n<\/table>\n\n\n\n<p>\u4f7f\u7528\u3059\u308b\u969b\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u8a18\u8ff0\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-css\" data-lang=\"CSS\" data-show-lang=\"1\"><code>-moz-transform: rotate(180deg);\n-webkit-transform: rotate(180deg);\n-o-transform: rotate(180deg);\n-ms-transform: rotate(180deg);<\/code><\/pre><\/div>\n\n\n\n<h2 id=\"outline__7\" class=\"wp-block-heading\">\u307e\u3068\u3081<\/h2>\n\n\n\n<p>\u3044\u304b\u304c\u3067\u3057\u305f\u304b\uff1f\u4eca\u56de\u306e\u8a18\u4e8b\u3067\u306f\u3001rotate\u95a2\u6570\u306e\u4f7f\u3044\u65b9\u306b\u3064\u3044\u3066\u89e3\u8aac\u3092\u3057\u307e\u3057\u305f\u3002<br>\u8981\u7d20\u306e\u30ec\u30a4\u30a2\u30a6\u30c8\u914d\u7f6e\u3084\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306e\u4f5c\u6210\u306b\u304a\u3044\u3066\u3001rotate\u95a2\u6570\u306f\u3068\u3066\u3082\u6709\u52b9\u306a\u6a5f\u80fd\u306e1\u3064\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u4f7f\u3044\u6163\u308c\u306a\u3044\u9593\u306f\u3001\u5b9f\u73fe\u3057\u305f\u3044\u4f4d\u7f6e\u3084\u52d5\u304d\u3092\u6307\u5b9a\u3059\u308b\u306e\u306b\u5c11\u3005\u6238\u60d1\u3046\u3053\u3068\u3082\u3042\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u3001Web\u30b5\u30a4\u30c8\u306eUI\u306e\u8868\u73fe\u306e\u5e45\u3092\u5e83\u3052\u308b\u624b\u6cd5\u3068\u3057\u3066\u975e\u5e38\u306b\u6709\u7528\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u305c\u3072\u30b3\u30fc\u30c9\u3092\u5b9f\u969b\u306b\u8a66\u3057\u305f\u308a\u3057\u306a\u304c\u3089\u3001Web\u30b5\u30a4\u30c8\u4f5c\u6210\u306b\u6d3b\u7528\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u306d\uff01<\/p>\n\n\n\n<h2 id=\"outline__8\" class=\"wp-block-heading\">HTML\/CSS\u306e\u5b66\u7fd2\u65b9\u6cd5\u306f\uff1f<\/h2>\n\n\n<p>\u66f8\u7c4d\u3084\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u3067\u5b66\u7fd2\u3059\u308b\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3059\u3002\u6628\u4eca\u3067\u306f\u3001YouTube\u306a\u3069\u306e\u52d5\u753b\u30b5\u30a4\u30c8\u3084\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u30b3\u30df\u30e5\u30cb\u30c6\u30a3\u30b5\u30a4\u30c8\u306a\u3069\u3082\u5145\u5b9f\u3057\u3066\u3044\u3066\u591a\u304f\u306e\u60c5\u5831\u304c\u624b\u306b\u5165\u308a\u307e\u3059\u3002<br \/>\u305d\u3057\u3066\u3001\u3088\u308a\u52b9\u7387\u7684\u306b\u77e5\u8b58\u30fb\u30b9\u30ad\u30eb\u3092\u7fd2\u5f97\u3059\u308b\u306b\u306f\u3001\u77e5\u8b58\u3092\u3064\u3051\u306a\u304c\u3089\u5b9f\u969b\u306b\u624b\u3092\u52d5\u304b\u3057\u3066\u307f\u308b\u306a\u3069\u3001\u30a4\u30f3\u30d7\u30c3\u30c8\u3068\u30a2\u30a6\u30c8\u30d7\u30c3\u30c8\u3092\u7e70\u308a\u8fd4\u3057\u3066\u3044\u304f\u3053\u3068\u304c\u91cd\u8981\u3067\u3059\u3002\u7279\u306b\u72ec\u5b66\u306e\u5834\u5408\u306f\u3001\u6709\u8b58\u8005\u306b\u8cea\u554f\u304c\u3067\u304d\u305f\u308a\u30d5\u30a3\u30fc\u30c9\u30d0\u30c3\u30af\u3092\u3082\u3089\u3048\u308b\u3088\u3046\u306a\u74b0\u5883\u304c\u3042\u308b\u3068\u3001\u7406\u89e3\u5ea6\u304c\u6df1\u307e\u308b\u3067\u3057\u3087\u3046\u3002<\/p>\n<p>\u305f\u3060\u3001HTML\/CSS\u306b\u9650\u3089\u305a\u3001IT\u30b9\u30ad\u30eb\u3092\u8eab\u306b\u3064\u3051\u308b\u969b\u3001\u3069\u3046\u3057\u3066\u3082\u8ab2\u984c\u306b\u3076\u3064\u304b\u3063\u3066\u3057\u307e\u3046\u3053\u3068\u306f\u3042\u308a\u307e\u3059\u3088\u306d\u3002\u7279\u306b\u72ec\u5b66\u3060\u3068\u3001\u308f\u304b\u3089\u306a\u3044\u90e8\u5206\u3092\u30d7\u30ed\u306b\u8cea\u554f\u3067\u304d\u308b\u6a5f\u4f1a\u3092\u78ba\u4fdd\u3057\u306b\u304f\u304f\u3001\u30e2\u30c1\u30d9\u30fc\u30b7\u30e7\u30f3\u304c\u7d9a\u304d\u306b\u304f\u3044\u3068\u3044\u3046\u5074\u9762\u304c\u3042\u308a\u307e\u3059\u3002\u72ec\u5b66\u3067\u30e2\u30c1\u30d9\u30fc\u30b7\u30e7\u30f3\u3092\u7dad\u6301\u3059\u308b\u81ea\u4fe1\u304c\u306a\u3044\u4eba\u306b\u306f\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\u3068\u3044\u3046\u624b\u3082\u3042\u308a\u307e\u3059\u3002\u8cbb\u7528\u306f\u639b\u304b\u308a\u307e\u3059\u304c\u3001\u305d\u306e\u5206\u30b9\u30ad\u30eb\u3092\u8eab\u306b\u3064\u3051\u3084\u3059\u3044\u3067\u3059\u3002\u3057\u3063\u304b\u308a\u3068\u77e5\u8b58\u30fb\u30b9\u30ad\u30eb\u3092\u7fd2\u5f97\u3057\u3066\u5b9f\u8df5\u306b\u6d3b\u304b\u3057\u305f\u3044\u3068\u3044\u3046\u4eba\u306f\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\u304c\u304a\u3059\u3059\u3081\u3067\u3059\u3002<\/p>\n<p><span class=\"markerYellow\"><strong>\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\u306a\u3089\u30c6\u30c3\u30af\u30de\u30cb\u30a2\u304c\u304a\u3059\u3059\u3081\uff01<\/strong><\/span><\/p>\n\n\n<img decoding=\"async\" src=\"https:\/\/web-img.rensa.jp.net\/rensa\/images\/techmania\/thumbnail\/images\/yuudou.png\" class=\"post-img\">\n\n\n<p>IT\u30b9\u30ad\u30eb\u9700\u8981\u306e\u9ad8\u307e\u308a\u3068\u3068\u3082\u306b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\u3082\u5897\u3048\u307e\u3057\u305f\u3002\u3057\u304b\u3057\u3001\u3069\u306e\u30b9\u30af\u30fc\u30eb\u306b\u901a\u3046\u3079\u304d\u304b\u8ff7\u3063\u3066\u3057\u307e\u3046\u4eba\u3082\u3044\u308b\u3067\u3057\u3087\u3046\u3002\u305d\u3093\u306a\u65b9\u306b\u306f\u30c6\u30c3\u30af\u30de\u30cb\u30a2\u3092\u304a\u3059\u3059\u3081\u3057\u307e\u3059\uff01\u3053\u308c\u307e\u3067\u591a\u304f\u306eIT\u30a8\u30f3\u30b8\u30cb\u30a2\u3092\u80b2\u6210\u30fb\u8f29\u51fa\u3057\u3066\u304d\u305f\u30c6\u30c3\u30af\u30de\u30cb\u30a2\u3067\u3082\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\u3092\u958b\u8b1b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<div class=\"bgBox\">\n<p><strong>\uff1c\u30c6\u30c3\u30af\u30de\u30cb\u30a2\u306e\u7279\u5fb4\uff1e<\/strong><br \/><strong>\u30fb\u305f\u3057\u304b\u306a\u80b2\u6210\u5b9f\u7e3e\u3068\u89aa\u8eab\u306a\u6559\u80b2\u3000\uff5e\u30bb\u30ab\u30f3\u30c9\u30ad\u30e3\u30ea\u30a2\u3092\u5168\u529b\u652f\u63f4\uff5e<\/strong><br \/><strong>\u30fb\u8b1b\u5e2b\u304c\u73fe\u5f79\u30a8\u30f3\u30b8\u30cb\u30a2\u3000\uff5e\u201c\u672c\u5f53\u201d\u306e\u958b\u767a\u30ce\u30a6\u30cf\u30a6\u3092\u76f4\u306b\u5b66\u3079\u308b\uff5e<\/strong><br \/><strong>\u30fb\u5c02\u5c5e\u8b1b\u5e2b\u304c\u5b66\u7fd2\u3092\u5fb9\u5e95\u30b5\u30dd\u30fc\u30c8\u3000\uff5e\u300c\u308f\u304b\u3089\u306a\u3044\u300d\u3092\u5fb9\u5e95\u89e3\u6c7a\uff5e<\/strong><br \/><strong>\u30fb\u5b9f\u52d9\u30d9\u30fc\u30b9\u3067\u30b9\u30ad\u30eb\u3092\u7fd2\u5f97\u3000\uff5e\u5b9f\u8df5\u7684\u306a\u51dd\u7e2e\u30ab\u30ea\u30ad\u30e5\u30e9\u30e0\uff5e<\/strong><\/p>\n<\/div>\n<p>\u3053\u306e\u3088\u3046\u306a\u7279\u5fb4\u3092\u6301\u3064\u30c6\u30c3\u30af\u30de\u30cb\u30a2\u306fIT\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u30b9\u30bf\u30fc\u30c8\u30e9\u30a4\u30f3\u3068\u3057\u3066\u6700\u9069\u3067\u3059\u3002<br \/>\u8a71\u3092\u805e\u304d\u305f\u3044\u30fb\u8a73\u3057\u304f\u77e5\u308a\u305f\u3044\u3068\u3044\u3046\u65b9\u306f<a href=\"https:\/\/techmania.jp\/lp\/2\" target=\"_blank\" rel=\"noopener\">\u3053\u3061\u3089<\/a>\u304b\u3089\u304a\u6c17\u8efd\u306b\u304a\u554f\u3044\u5408\u308f\u305b\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n<h2 id=\"outline__9\" class=\"wp-block-heading\">HTML\/CSS\u306e\u95a2\u9023\u8a18\u4e8b<\/h2>\n\n\n<ul>\n<li><a href=\"https:\/\/techmania.jp\/blog\/programming0007\/\" target=\"_blank\" rel=\"noopener\">HTML\/CSS\u3068\u306f\uff1f\u95a2\u4fc2\u6027\u3084\u66f8\u304d\u65b9<\/a><\/li>\n<li><a href=\"https:\/\/techmania.jp\/blog\/html\/\" target=\"_blank\" rel=\"noopener\">HTML\u3068\u306f\uff1f<\/a><\/li>\n<li><a href=\"https:\/\/techmania.jp\/blog\/html-tag\/\" target=\"_blank\" rel=\"noopener\">HTML\u983b\u51fa\u30bf\u30b0\u4e00\u89a7<\/a><\/li>\n<li><a href=\"https:\/\/techmania.jp\/blog\/html-table\/\" target=\"_blank\" rel=\"noopener\">HTML\u3067\u8868\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5<\/a><\/li>\n<li><a href=\"https:\/\/techmania.jp\/blog\/html-font-color\/\" target=\"_blank\" rel=\"noopener\">HTML\u3067\u6587\u5b57\u8272\u3092\u6307\u5b9a\u3059\u308b\u65b9\u6cd5<\/a><\/li>\n<li><a href=\"https:\/\/techmania.jp\/blog\/html-font-size\/\" target=\"_blank\" rel=\"noopener\">HTML\u3067\u30d5\u30a9\u30f3\u30c8\u30b5\u30a4\u30ba\u3092\u6307\u5b9a\u3059\u308b\u65b9\u6cd5<\/a><\/li>\n<li><a href=\"https:\/\/techmania.jp\/blog\/html-image-link\/\" target=\"_blank\" rel=\"noopener\">HTML\u3067\u753b\u50cf\u30ea\u30f3\u30af\u3092\u8cbc\u308b\u65b9\u6cd5<\/a><\/li>\n<li><a href=\"https:\/\/techmania.jp\/blog\/html-table-border\/\" target=\"_blank\" rel=\"noopener\">HTML\u306etable\u3067border\uff08\u67a0\u7dda\uff09\u3092\u8a2d\u5b9a\u3059\u308b\u65b9\u6cd5<\/a><\/li>\n<li><a href=\"https:\/\/techmania.jp\/blog\/css\/\" target=\"_blank\" rel=\"noopener\">CSS\u3068\u306f\uff1f\u30e1\u30ea\u30c3\u30c8\u3084\u57fa\u672c\u7684\u306a\u66f8\u304d\u65b9<\/a><\/li>\n<li><a href=\"https:\/\/techmania.jp\/blog\/css-vertical\/\" target=\"_blank\" rel=\"noopener\">CSS\u3067\u7e26\u66f8\u304d\u3059\u308b\u65b9\u6cd5<\/a><\/li>\n<li><a href=\"https:\/\/techmania.jp\/blog\/css-border\/\" target=\"_blank\" rel=\"noopener\">CSS\u3067border\uff08\u67a0\u7dda\uff09\u3092\u8a2d\u5b9a\u3059\u308b\u65b9\u6cd5<\/a><\/li>\n<li><a href=\"https:\/\/techmania.jp\/blog\/css-headline-design\/\" target=\"_blank\" rel=\"noopener\">\u3010\u30b3\u30d4\u30da\u53ef\u3011CSS\u898b\u51fa\u3057\u30c7\u30b6\u30a4\u30f330\u9078<\/a><\/li>\n<li><a href=\"https:\/\/techmania.jp\/blog\/css-margin-padding\/\" target=\"_blank\" rel=\"noopener\">CSS\u306emargin\u3084padding\u3067\u4f59\u767d\u6307\u5b9a<\/a><\/li>\n<li><a href=\"https:\/\/techmania.jp\/blog\/css-pseudo-elements\/\" target=\"_blank\" rel=\"noopener\">\u64ec\u4f3c\u8981\u7d20\u3068\u306f\uff1f::before\u3084::after\u306e\u4f7f\u3044\u65b9<\/a><\/li>\n<li><a href=\"https:\/\/techmania.jp\/blog\/css-newline\/\" target=\"_blank\" rel=\"noopener\">\u6539\u884c\u30eb\u30fc\u30eb\u306e\u8a2d\u5b9a\u65b9\u6cd5<\/a><\/li>\n<li><a href=\"https:\/\/techmania.jp\/blog\/css-style\/\" target=\"_blank\" rel=\"noopener\">HTML\u306bCSS\u3092style\u3067\u76f4\u66f8\u304d\u3059\u308b\u65b9\u6cd5<\/a><\/li>\n<li><a href=\"https:\/\/techmania.jp\/blog\/css-table\/\" target=\"_blank\" rel=\"noopener\">\u8868\uff08\u30c6\u30fc\u30d6\u30eb\uff09\u306e\u30c7\u30b6\u30a4\u30f3\u65b9\u6cd5<\/a><\/li>\n<li><a href=\"https:\/\/techmania.jp\/blog\/css-background-imag\/\" target=\"_blank\" rel=\"noopener\">CSS\u3067\u80cc\u666f\u753b\u50cf\u3092\u6307\u5b9a\u3059\u308b\u65b9\u6cd5<\/a><\/li>\n<li><a href=\"https:\/\/techmania.jp\/blog\/css0002\/\" target=\"_blank\" rel=\"noopener\">CSS float\u30d7\u30ed\u30d1\u30c6\u30a3\u3068\u306f\uff1f<\/a><\/li>\n<li><a href=\"https:\/\/techmania.jp\/blog\/css-flexbox\/\" target=\"_blank\" rel=\"noopener\">HTML\u8981\u7d20\u3092\u6a2a\u4e26\u3073\u306b\u3059\u308bCSS\u306e\u65b0\u5b9a\u756a\u300cflexbox\u300d\u3068\u306f\uff1f<\/a><\/li>\n<li><a href=\"https:\/\/techmania.jp\/blog\/css-position-absolute\/\" target=\"_blank\" rel=\"noopener\">\u8981\u7d20\u3092\u597d\u304d\u306a\u4f4d\u7f6e\u306b\u914d\u7f6e\u3059\u308b\u300cposition:absolute;\u300d\u3068\u306f\uff1f<\/a><\/li>\n<li><a href=\"https:\/\/techmania.jp\/blog\/css-justify-content\/\" target=\"_blank\" rel=\"noopener\">\u4e3b\u8ef8\u65b9\u5411\u306b\u5bfe\u3059\u308b\u914d\u7f6e\u3092\u6307\u5b9a\u3059\u308b\u300cjustify-content\u300d<\/a><\/li>\n<li><a href=\"https:\/\/techmania.jp\/blog\/css-text-align\/\" target=\"_blank\" rel=\"noopener\">\u30c6\u30ad\u30b9\u30c8\u3084\u753b\u50cf\u306e\u6c34\u5e73\u65b9\u5411\u306e\u914d\u7f6e\u3092\u6307\u5b9a\u3059\u308b\u300ctext-align\u300d<\/a><\/li>\n<li><a href=\"https:\/\/techmania.jp\/blog\/css-vertical-align\/\" target=\"_blank\" rel=\"noopener\">\u30c6\u30ad\u30b9\u30c8\u3084\u753b\u50cf\u306e\u7e26\u65b9\u5411\u306e\u4f4d\u7f6e\u3092\u6307\u5b9a\u3059\u308b\u300cvertical-align\u300d<\/a><\/li>\n<li><a href=\"https:\/\/techmania.jp\/blog\/css-text-decoration\/\" target=\"_blank\" rel=\"noopener\">\u30c6\u30ad\u30b9\u30c8\u3092\u88c5\u98fe\u3059\u308b\u300ctext-decoration\u300d<\/a><\/li>\n<li><a href=\"https:\/\/techmania.jp\/blog\/css-color\/\" target=\"_blank\" rel=\"noopener\">\u8272\u3092\u6307\u5b9a\u3059\u308b\u300ccolor\u300d<\/a><\/li>\n<li><a href=\"https:\/\/techmania.jp\/blog\/css-overflow\/\" target=\"_blank\" rel=\"noopener\">\u30b3\u30f3\u30c6\u30f3\u30c4\u306e\u306f\u307f\u51fa\u3057\u3092\u7ba1\u7406\u3059\u308b\u300coverflow\u300d<\/a><\/li>\n<li><a href=\"https:\/\/techmania.jp\/blog\/css-font-family\/\" target=\"_blank\" rel=\"noopener\">\u30d5\u30a9\u30f3\u30c8\u3092\u6307\u5b9a\u3059\u308b\u300cfont-family\u300d<\/a><\/li>\n<li><a href=\"https:\/\/techmania.jp\/blog\/css-font-weight\/\" target=\"_blank\" rel=\"noopener\">\u6587\u5b57\u306e\u592a\u3055\u3092\u6307\u5b9a\u3059\u308b\u300cfont-weight\u300d<\/a><\/li>\n<li><a href=\"https:\/\/techmania.jp\/blog\/css-letter-spacing\/\" target=\"_blank\" rel=\"noopener\">\u5b57\u9593\u3092\u8abf\u6574\u3059\u308b\u300cletter-spacing\u300d<\/a><\/li>\n<li><a href=\"https:\/\/techmania.jp\/blog\/css-border-radius\/\" target=\"_blank\" rel=\"noopener\">\u8981\u7d20\u306b\u4e38\u307f\u3092\u3064\u3051\u308b\u300cborder-radius\u300d<\/a><\/li>\n<li><a href=\"https:\/\/techmania.jp\/blog\/css-line-height\/\" target=\"_blank\" rel=\"noopener\">\u884c\u9593\u3092\u8abf\u7bc0\u3059\u308b\u300cline-height\u300d<\/a><\/li>\n<li><a href=\"https:\/\/techmania.jp\/blog\/css-box-shadow\/\" target=\"_blank\" rel=\"noopener\">\u8981\u7d20\u3084\u753b\u50cf\u306b\u5f71\u3092\u3064\u3051\u308b\u300cbox-shadow\u300d<\/a><\/li>\n<li><a href=\"https:\/\/techmania.jp\/blog\/css-display\/\" target=\"_blank\" rel=\"noopener\">display:inline\u3001display:block\u3001display:inline-block\u306e\u9055\u3044<\/a><\/li>\n<li><a href=\"https:\/\/techmania.jp\/blog\/bootstrap\/\" target=\"_blank\" rel=\"noopener\">CSS\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u300cBootstrap\u300d\u3068\u306f\uff1f<\/a><\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"WEB\u30b5\u30a4\u30c8\u3092\u4f5c\u6210\u3059\u308b\u969b\u306b\u3001\u30e6\u30fc\u30b6\u30fc\u306e\u64cd\u4f5c\u3084UI\u306e\u30c7\u30b6\u30a4\u30f3\u306b\u5408\u308f\u305b\u3066\u6587\u5b57\u3084\u753b\u50cf\u3092\u56de\u8ee2\u3055\u305b\u308b\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u3057\u305f\u3044\u3068\u3044\u3046\u8981\u671b\u304c\u51fa\u3066\u304f\u308b\u3053\u3068\u3082\u6642\u306b\u306f\u3042\u308a\u307e\u3059\u3002\u305d\u3046\u3044\u3063\u305f\u30b1\u30fc\u30b9\u306b\u5bfe\u5fdc\u3059\u308b\u305f\u3081\u3001CSS\u306b\u306f\u8981\u7d20\u3092\u56de\u8ee2\u3055\u305b\u308b \u300crotate\u300d \u3068\u3044\u3046\u95a2\u6570\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u3002 \u4eca\u56de\u306f\u3001\u3053\u306erotate\u95a2\u6570\u306e\u4f7f\u3044\u65b9\u306b\u3064\u3044\u3066\u8a73\u3057\u304f\u89e3\u8aac\u3057\u3066\u3044\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\uff01 CSS\u306erotate\u95a2\u6570\u3068\u306f\uff1f CSS\u306erotate\u95a2\u6570 [&hellip;]","protected":false},"author":11,"featured_media":9205,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-9164","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/posts\/9164","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/comments?post=9164"}],"version-history":[{"count":37,"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/posts\/9164\/revisions"}],"predecessor-version":[{"id":9207,"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/posts\/9164\/revisions\/9207"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/media\/9205"}],"wp:attachment":[{"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/media?parent=9164"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/categories?post=9164"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/tags?post=9164"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}