{"id":12446,"date":"2025-12-26T17:46:06","date_gmt":"2025-12-26T08:46:06","guid":{"rendered":"https:\/\/rakkoserver.com\/plus\/?p=12246"},"modified":"2025-12-26T17:46:06","modified_gmt":"2025-12-26T08:46:06","slug":"tool-css-gradient-generator","status":"publish","type":"post","link":"https:\/\/rakkokeyword.com\/techo\/tool-css-gradient-generator\/","title":{"rendered":"css\u30b0\u30e9\u30c7\u30fc\u30b7\u30e7\u30f3\u30b8\u30a7\u30cd\u30ec\u30fc\u30bf\u30fc"},"content":{"rendered":"\n<!-- CSS\u30b0\u30e9\u30c7\u30fc\u30b7\u30e7\u30f3\u30b8\u30a7\u30cd\u30ec\u30fc\u30bf\u30fc -->\n<div id=\"cssgrad-container\" style=\"width: 100%; max-width: 720px; margin: 0 auto; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;\">\n  <!-- \u30d7\u30ec\u30d3\u30e5\u30fc\u30a8\u30ea\u30a2 -->\n  <div id=\"cssgrad-preview-area\" style=\"margin-bottom: 20px;\">\n    <p style=\"font-size: 16px; font-weight: 600; margin: 0 0 12px 0; color: #333;\">\u30d7\u30ec\u30d3\u30e5\u30fc<\/p>\n    <div id=\"cssgrad-preview-box\" style=\"width: 100%; height: 300px; border-radius: 8px; position: relative; overflow: hidden; background-image: repeating-linear-gradient(45deg, #f0f0f0 0, #f0f0f0 10px, #fff 10px, #fff 20px); box-shadow: 0 2px 8px rgba(0,0,0,0.1);\" role=\"img\" aria-label=\"\u30b0\u30e9\u30c7\u30fc\u30b7\u30e7\u30f3\u30d7\u30ec\u30d3\u30e5\u30fc\">\n      <div id=\"cssgrad-preview-gradient\" style=\"width: 100%; height: 100%; background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);\"><\/div>\n    <\/div>\n  <\/div>\n\n  <!-- \u30b0\u30e9\u30c7\u30fc\u30b7\u30e7\u30f3\u30bf\u30a4\u30d7\u9078\u629e -->\n  <div id=\"cssgrad-type-area\" style=\"margin-bottom: 20px;\" role=\"group\" aria-label=\"\u30b0\u30e9\u30c7\u30fc\u30b7\u30e7\u30f3\u30bf\u30a4\u30d7\u9078\u629e\">\n    <p style=\"font-size: 14px; font-weight: 600; margin: 0 0 8px 0; color: #333;\">\u30b0\u30e9\u30c7\u30fc\u30b7\u30e7\u30f3\u30bf\u30a4\u30d7<\/p>\n    <div style=\"display: flex; gap: 12px;\">\n      <label style=\"flex: 1; cursor: pointer;\">\n        <input type=\"radio\" name=\"cssgrad-type\" value=\"linear\" checked style=\"position: absolute; opacity: 0;\" aria-label=\"\u7dda\u5f62\u30b0\u30e9\u30c7\u30fc\u30b7\u30e7\u30f3\">\n        <div class=\"cssgrad-type-btn cssgrad-type-active\" data-type=\"linear\" style=\"padding: 12px; text-align: center; border: 2px solid #ddd; border-radius: 6px; background: #f9f9f9; transition: all 0.2s;\" tabindex=\"0\" role=\"button\">\u7dda\u5f62\uff08Linear\uff09<\/div>\n      <\/label>\n      <label style=\"flex: 1; cursor: pointer;\">\n        <input type=\"radio\" name=\"cssgrad-type\" value=\"radial\" style=\"position: absolute; opacity: 0;\" aria-label=\"\u5186\u5f62\u30b0\u30e9\u30c7\u30fc\u30b7\u30e7\u30f3\">\n        <div class=\"cssgrad-type-btn\" data-type=\"radial\" style=\"padding: 12px; text-align: center; border: 2px solid #ddd; border-radius: 6px; background: #f9f9f9; transition: all 0.2s;\" tabindex=\"0\" role=\"button\">\u5186\u5f62\uff08Radial\uff09<\/div>\n      <\/label>\n    <\/div>\n  <\/div>\n\n  <!-- \u89d2\u5ea6\u30fb\u65b9\u5411\u8a2d\u5b9a -->\n  <div id=\"cssgrad-direction-area\">\n    <!-- Linear\u7528 -->\n    <div id=\"cssgrad-linear-controls\" style=\"margin-bottom: 20px;\">\n      <p style=\"font-size: 14px; font-weight: 600; margin: 0 0 8px 0; color: #333;\">\u89d2\u5ea6\u30fb\u65b9\u5411\u8a2d\u5b9a\uff08Linear\uff09<\/p>\n      <div style=\"display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-bottom: 12px;\">\n        <div id=\"cssgrad-angle-dial-container\" style=\"width: 150px; height: 150px; position: relative; flex-shrink: 0;\" role=\"slider\" aria-label=\"\u89d2\u5ea6\u30c0\u30a4\u30e4\u30eb\" aria-valuemin=\"0\" aria-valuemax=\"360\" aria-valuenow=\"90\" tabindex=\"0\">\n          <!-- \u5916\u5074\u306e\u70b9\u7dda\u5186 -->\n          <div style=\"position: absolute; width: 100%; height: 100%; border: 2px dashed #ddd; border-radius: 50%; top: 0; left: 0;\"><\/div>\n          <!-- \u5185\u5074\u306e\u5b9f\u7dda\u5186 -->\n          <div id=\"cssgrad-angle-dial\" style=\"position: absolute; width: 80%; height: 80%; border: 2px solid #ccc; border-radius: 50%; background: #f9f9f9; cursor: pointer; top: 10%; left: 10%;\">\n            <div id=\"cssgrad-angle-indicator\" style=\"position: absolute; width: 3px; height: 45%; background: #13284B; left: 50%; top: 50%; transform-origin: bottom center; transform: translate(-50%, -100%) rotate(90deg); border-radius: 2px;\"><\/div>\n            <div style=\"position: absolute; width: 10px; height: 10px; background: #13284B; border-radius: 50%; left: 50%; top: 50%; transform: translate(-50%, -50%);\"><\/div>\n          <\/div>\n        <\/div>\n        <div style=\"flex: 1; min-width: 200px;\">\n          <label style=\"display: block; font-size: 13px; color: #666; margin-bottom: 6px;\">\u89d2\u5ea6\uff08deg\uff09<\/label>\n          <input type=\"number\" id=\"cssgrad-angle-input\" min=\"0\" max=\"360\" step=\"1\" value=\"90\" style=\"width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 4px; font-size: 16px; background: #f5f5f5;\" aria-label=\"\u89d2\u5ea6\u6570\u5024\u5165\u529b\">\n        <\/div>\n      <\/div>\n      <p style=\"font-size: 12px; color: #666; margin: 0;\">0\uff5e360\u30021\u5358\u4f4d\u305a\u3064\u5897\u6e1b\u3001\u30c0\u30a4\u30e4\u30eb\u3067\u3082\u8abf\u6574\u3067\u304d\u307e\u3059\u3002<\/p>\n    <\/div>\n\n    <!-- Radial\u7528 -->\n    <div id=\"cssgrad-radial-controls\" style=\"margin-bottom: 20px; display: none;\">\n      <p style=\"font-size: 14px; font-weight: 600; margin: 0 0 8px 0; color: #333;\">\u4e2d\u5fc3\u4f4d\u7f6e<\/p>\n      <select id=\"cssgrad-radial-position\" style=\"width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 4px; font-size: 14px; background: white;\" aria-label=\"\u30b0\u30e9\u30c7\u30fc\u30b7\u30e7\u30f3\u4e2d\u5fc3\u4f4d\u7f6e\">\n        <option value=\"center\">Center\uff08\u4e2d\u592e\uff09<\/option>\n        <option value=\"top\">Top\uff08\u4e0a\uff09<\/option>\n        <option value=\"bottom\">Bottom\uff08\u4e0b\uff09<\/option>\n        <option value=\"left\">Left\uff08\u5de6\uff09<\/option>\n        <option value=\"right\">Right\uff08\u53f3\uff09<\/option>\n        <option value=\"top left\">Top Left\uff08\u5de6\u4e0a\uff09<\/option>\n        <option value=\"top right\">Top Right\uff08\u53f3\u4e0a\uff09<\/option>\n        <option value=\"bottom left\">Bottom Left\uff08\u5de6\u4e0b\uff09<\/option>\n        <option value=\"bottom right\">Bottom Right\uff08\u53f3\u4e0b\uff09<\/option>\n      <\/select>\n    <\/div>\n  <\/div>\n\n  <!-- \u30ab\u30e9\u30fc\u30b9\u30c8\u30c3\u30d7\u7ba1\u7406 -->\n  <div id=\"cssgrad-colorstop-area\" style=\"margin-bottom: 20px;\">\n    <p style=\"font-size: 14px; font-weight: 600; margin: 0 0 8px 0; color: #333;\">\u30ab\u30e9\u30fc\u30b9\u30c8\u30c3\u30d7 <span id=\"cssgrad-stop-count\" style=\"font-size: 12px; color: #666; font-weight: normal;\">(2\u500b)<\/span><\/p>\n    <div id=\"cssgrad-colorstop-slider\" style=\"position: relative; height: 40px; background: linear-gradient(to right, #667eea 0%, #764ba2 100%); border-radius: 4px; cursor: crosshair; margin-bottom: 12px;\" role=\"group\" aria-label=\"\u30ab\u30e9\u30fc\u30b9\u30c8\u30c3\u30d7\u30b9\u30e9\u30a4\u30c0\u30fc\">\n      <!-- \u30ab\u30e9\u30fc\u30b9\u30c8\u30c3\u30d7\u30dd\u30a4\u30f3\u30c8\u304cJS\u3067\u52d5\u7684\u306b\u8ffd\u52a0\u3055\u308c\u308b -->\n    <\/div>\n    <div style=\"display: flex; gap: 8px; flex-wrap: wrap;\">\n      <button id=\"cssgrad-add-stop\" style=\"padding: 10px 16px; background: #13284B; color: white; border: none; border-radius: 4px; cursor: pointer; font-size: 14px; height: 40px;\" aria-label=\"\u30ab\u30e9\u30fc\u30b9\u30c8\u30c3\u30d7\u3092\u8ffd\u52a0\">\u30b9\u30c8\u30c3\u30d7\u8ffd\u52a0<\/button>\n      <button id=\"cssgrad-delete-stop\" style=\"padding: 10px 16px; background: #666; color: white; border: none; border-radius: 4px; cursor: pointer; font-size: 14px; height: 40px;\" disabled aria-label=\"\u9078\u629e\u4e2d\u306e\u30ab\u30e9\u30fc\u30b9\u30c8\u30c3\u30d7\u3092\u524a\u9664\">\u9078\u629e\u4e2d\u306e\u30b9\u30c8\u30c3\u30d7\u3092\u524a\u9664<\/button>\n    <\/div>\n    <p id=\"cssgrad-stop-limit-message\" style=\"font-size: 12px; color: #999; margin: 8px 0 0 0; display: none;\">\u203b \u30ab\u30e9\u30fc\u30b9\u30c8\u30c3\u30d7\u306f\u6700\u592710\u500b\u307e\u3067\u8ffd\u52a0\u3067\u304d\u307e\u3059<\/p>\n  <\/div>\n\n  <!-- \u30ab\u30e9\u30fc\u30d4\u30c3\u30ab\u30fc -->\n  <div id=\"cssgrad-colorpicker-area\" style=\"margin-bottom: 20px; padding: 16px; background: #f9f9f9; border-radius: 6px; display: none;\">\n    <p style=\"font-size: 14px; font-weight: 600; margin: 0 0 12px 0; color: #333;\">\u30ab\u30e9\u30fc\u30d4\u30c3\u30ab\u30fc\uff08\u9078\u629e\u4e2d\u30dd\u30a4\u30f3\u30c8\uff09<\/p>\n    \n    <div style=\"margin-bottom: 16px;\">\n      <div style=\"display: flex; gap: 16px; flex-wrap: wrap; align-items: flex-start; margin-bottom: 8px;\">\n        <div style=\"flex: 1; min-width: 150px;\">\n          <label style=\"display: block; font-size: 13px; color: #666; margin-bottom: 6px;\">\u30d1\u30ec\u30c3\u30c8<\/label>\n          <div style=\"display: flex; gap: 8px; align-items: center;\">\n            <input type=\"color\" id=\"cssgrad-color-picker\" value=\"#667eea\" style=\"width: 60px; height: 60px; border: 1px solid #ddd; border-radius: 4px; cursor: pointer;\" aria-label=\"\u30ab\u30e9\u30fc\u30d4\u30c3\u30ab\u30fc\">\n            <p style=\"font-size: 11px; color: #999; margin: 0; line-height: 1.4;\">RGB\u306e\u307f\u3002<br>Alpha\u306f\u4e0b<br>\u3067\u8abf\u6574\u3002<\/p>\n          <\/div>\n        <\/div>\n        <div style=\"flex: 1; min-width: 200px;\">\n          <label style=\"display: block; font-size: 13px; color: #666; margin-bottom: 6px;\">HEX\uff08#RRGGBB\uff09<\/label>\n          <input type=\"text\" id=\"cssgrad-color-hex\" value=\"#667eea\" pattern=\"^#[0-9A-Fa-f]{6}$\" maxlength=\"7\" style=\"width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 4px; font-size: 16px; font-family: monospace; background: white;\" aria-label=\"HEX\u30ab\u30e9\u30fc\u30b3\u30fc\u30c9\u5165\u529b\">\n          <p id=\"cssgrad-hex-error\" style=\"font-size: 11px; color: #e53e3e; margin: 4px 0 0 0; display: none;\">\u7121\u52b9\u306a\u30ab\u30e9\u30fc\u30b3\u30fc\u30c9\u3067\u3059<\/p>\n        <\/div>\n      <\/div>\n    <\/div>\n\n    <div style=\"margin-bottom: 16px;\">\n      <label style=\"display: block; font-size: 13px; color: #666; margin-bottom: 6px;\">RGBA\uff08\u4f8b: rgba(255, 0, 0, 0.5)\uff09<\/label>\n      <input type=\"text\" id=\"cssgrad-color-rgba\" readonly value=\"rgba(102, 126, 234, 1)\" style=\"width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 4px; font-size: 14px; font-family: monospace; background: #f5f5f5; color: #666;\" aria-label=\"RGBA\u30ab\u30e9\u30fc\u30b3\u30fc\u30c9\u8868\u793a\">\n    <\/div>\n\n    <div style=\"margin-bottom: 16px;\">\n      <label style=\"display: block; font-size: 13px; color: #666; margin-bottom: 6px;\">\u900f\u660e\u5ea6\uff08Alpha\uff09<\/label>\n      <div style=\"display: flex; gap: 8px; align-items: center; margin-bottom: 4px;\">\n        <input type=\"range\" id=\"cssgrad-opacity-slider\" min=\"0\" max=\"100\" value=\"100\" style=\"flex: 1; height: 6px; border-radius: 3px; background: #ddd; outline: none;\" aria-label=\"\u900f\u660e\u5ea6\u30b9\u30e9\u30a4\u30c0\u30fc\">\n        <input type=\"number\" id=\"cssgrad-opacity-input\" min=\"0\" max=\"1\" step=\"0.01\" value=\"1.00\" style=\"width: 80px; padding: 8px; border: 1px solid #ddd; border-radius: 4px; font-size: 14px;\" aria-label=\"\u900f\u660e\u5ea6\u6570\u5024\u5165\u529b\">\n      <\/div>\n      <p style=\"font-size: 11px; color: #999; margin: 0;\">0.00\uff5e1.00<\/p>\n      <style>\n        #cssgrad-opacity-slider::-webkit-slider-thumb {\n          -webkit-appearance: none;\n          appearance: none;\n          width: 18px;\n          height: 18px;\n          border-radius: 50%;\n          background: #13284B;\n          cursor: pointer;\n        }\n        #cssgrad-opacity-slider::-moz-range-thumb {\n          width: 18px;\n          height: 18px;\n          border-radius: 50%;\n          background: #13284B;\n          cursor: pointer;\n          border: none;\n        }\n        #cssgrad-opacity-slider:focus {\n          outline: 2px solid #13284B;\n          outline-offset: 2px;\n        }\n      <\/style>\n    <\/div>\n\n    <div>\n      <label style=\"display: block; font-size: 13px; color: #666; margin-bottom: 6px;\">\u4f4d\u7f6e\uff08%\uff09<\/label>\n      <input type=\"number\" id=\"cssgrad-position-input\" min=\"0\" max=\"100\" step=\"1\" value=\"0\" style=\"width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 4px; font-size: 14px;\" aria-label=\"\u30ab\u30e9\u30fc\u30b9\u30c8\u30c3\u30d7\u4f4d\u7f6e\">\n      <p style=\"font-size: 11px; color: #999; margin: 4px 0 0 0;\">0\uff5e100<\/p>\n    <\/div>\n  <\/div>\n\n  <!-- CSS\u30b3\u30fc\u30c9\u51fa\u529b -->\n  <div id=\"cssgrad-code-area\" style=\"margin-bottom: 20px;\">\n    <p style=\"font-size: 16px; font-weight: 600; margin: 0 0 12px 0; color: #333;\">\u751f\u6210\u3055\u308c\u305fCSS\u30b3\u30fc\u30c9<\/p>\n    <div>\n      <textarea id=\"cssgrad-css-output\" readonly style=\"width: 100%; min-height: 120px; padding: 12px; border: 1px solid #ddd; border-radius: 4px; font-family: 'Courier New', monospace; font-size: 13px; line-height: 1.6; resize: vertical; background: #f9f9f9; box-sizing: border-box;\" aria-label=\"\u751f\u6210\u3055\u308c\u305fCSS\u30b3\u30fc\u30c9\"><\/textarea>\n    <\/div>\n    <div id=\"cssgrad-copy-toast\" style=\"display: none; position: fixed; top: 20px; left: 50%; transform: translateX(-50%); background: #333; color: white; padding: 12px 24px; border-radius: 6px; z-index: 10000; box-shadow: 0 4px 12px rgba(0,0,0,0.3);\" role=\"alert\" aria-live=\"polite\">\u30b3\u30d4\u30fc\u3057\u307e\u3057\u305f\uff01<\/div>\n    <div style=\"margin-top: 12px;\">\n      <label style=\"display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 13px; color: #666;\">\n        <input type=\"checkbox\" id=\"cssgrad-vendor-prefix\" style=\"cursor: pointer;\" aria-label=\"\u30d9\u30f3\u30c0\u30fc\u30d7\u30ec\u30d5\u30a3\u30c3\u30af\u30b9\u3092\u542b\u3081\u308b\">\n        <span>\u30d9\u30f3\u30c0\u30fc\u30d7\u30ec\u30d5\u30a3\u30c3\u30af\u30b9\u3092\u542b\u3081\u308b<\/span>\n      <\/label>\n    <\/div>\n  <\/div>\n\n  <!-- \u30a2\u30af\u30b7\u30e7\u30f3\u30dc\u30bf\u30f3 -->\n  <div id=\"cssgrad-actions\" style=\"margin-bottom: 20px;\">\n    <div style=\"display: flex; gap: 8px; flex-wrap: wrap;\">\n      <button id=\"cssgrad-copy-btn\" style=\"flex: 1; min-width: 120px; padding: 12px; background: #13284B; color: white; border: none; border-radius: 4px; cursor: pointer; font-size: 14px; font-weight: 600; height: 44px;\" aria-label=\"CSS\u30b3\u30fc\u30c9\u3092\u30b3\u30d4\u30fc\">\u30b3\u30d4\u30fc<\/button>\n      <button id=\"cssgrad-random-btn\" style=\"flex: 1; min-width: 120px; padding: 12px; background: #13284B; color: white; border: none; border-radius: 4px; cursor: pointer; font-size: 14px; font-weight: 600; height: 44px;\" aria-label=\"\u30e9\u30f3\u30c0\u30e0\u306a\u30b0\u30e9\u30c7\u30fc\u30b7\u30e7\u30f3\u3092\u751f\u6210\">\u30e9\u30f3\u30c0\u30e0\u751f\u6210<\/button>\n      <button id=\"cssgrad-reset-btn\" style=\"flex: 1; min-width: 120px; padding: 12px; background: #666; color: white; border: none; border-radius: 4px; cursor: pointer; font-size: 14px; font-weight: 600; height: 44px;\" aria-label=\"\u521d\u671f\u72b6\u614b\u306b\u30ea\u30bb\u30c3\u30c8\">\u30ea\u30bb\u30c3\u30c8<\/button>\n    <\/div>\n  <\/div>\n\n  <!-- \u30d7\u30ea\u30bb\u30c3\u30c8\u30ae\u30e3\u30e9\u30ea\u30fc -->\n  <div id=\"cssgrad-presets-area\" style=\"margin-bottom: 20px;\">\n    <p style=\"font-size: 14px; font-weight: 600; margin: 0 0 12px 0; color: #333;\">\u30d7\u30ea\u30bb\u30c3\u30c8\u898b\u672c<\/p>\n    <div id=\"cssgrad-presets-container\" style=\"display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 12px;\">\n      <!-- \u30d7\u30ea\u30bb\u30c3\u30c8\u304cJS\u3067\u52d5\u7684\u306b\u8ffd\u52a0\u3055\u308c\u308b -->\n    <\/div>\n  <\/div>\n<\/div>\n\n<style>\n  .cssgrad-type-btn {\n    font-size: 14px;\n    font-weight: 500;\n    color: #666;\n  }\n  .cssgrad-type-btn:focus {\n    outline: 2px solid #13284B;\n    outline-offset: 2px;\n  }\n  .cssgrad-type-active {\n    border-color: #13284B !important;\n    background: #13284B !important;\n    color: white !important;\n  }\n  .cssgrad-colorstop-point {\n    position: absolute;\n    width: 20px;\n    height: 20px;\n    border: 3px solid white;\n    border-radius: 50%;\n    top: 50%;\n    transform: translate(-50%, -50%);\n    cursor: move;\n    box-shadow: 0 2px 6px rgba(0,0,0,0.3);\n    transition: transform 0.1s;\n  }\n  .cssgrad-colorstop-point:hover {\n    transform: translate(-50%, -50%) scale(1.15);\n  }\n  .cssgrad-colorstop-point:focus {\n    outline: 3px solid #13284B;\n    outline-offset: 2px;\n  }\n  .cssgrad-colorstop-point.cssgrad-selected {\n    border-color: #13284B;\n    border-width: 4px;\n    transform: translate(-50%, -50%) scale(1.2);\n  }\n  .cssgrad-preset-item {\n    aspect-ratio: 1;\n    border-radius: 6px;\n    cursor: pointer;\n    transition: transform 0.2s, box-shadow 0.2s;\n    box-shadow: 0 2px 4px rgba(0,0,0,0.1);\n  }\n  .cssgrad-preset-item:hover {\n    transform: scale(1.05);\n    box-shadow: 0 4px 12px rgba(0,0,0,0.2);\n  }\n  .cssgrad-preset-item:focus {\n    outline: 2px solid #13284B;\n    outline-offset: 2px;\n  }\n  @media (max-width: 600px) {\n    #cssgrad-angle-dial-container {\n      width: 100px;\n      height: 100px;\n    }\n  }\n  @supports not (aspect-ratio: 1) {\n    .cssgrad-preset-item {\n      height: 100px;\n    }\n  }\n<\/style>\n\n\n\n<p>\u753b\u9762\u4e0a\u3067\u8272\u3084\u89d2\u5ea6\u3092\u9078\u3076\u3060\u3051\u3067\u3001Web\u30b5\u30a4\u30c8\u306e\u80cc\u666f\u306a\u3069\u306b\u4f7f\u3048\u308b\u7f8e\u3057\u3044CSS\u30b0\u30e9\u30c7\u30fc\u30b7\u30e7\u30f3\u3092\u4f5c\u6210\u3067\u304d\u308b\u7121\u6599\u30c4\u30fc\u30eb\u3067\u3059\u3002\u7dda\u5f62\u30fb\u5186\u5f62\u30fb3\u8272\u4ee5\u4e0a\u306e\u8907\u96d1\u306a\u914d\u8272\u306b\u3082\u5bfe\u5fdc\u3057\u3066\u304a\u308a\u3001\u751f\u6210\u3055\u308c\u305f\u30b3\u30fc\u30c9\u306f\u30b3\u30d4\u30da\u3067\u3059\u3050\u306b\u5229\u7528\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"i-0\">\u3053\u306e\u30c4\u30fc\u30eb\u3067\u3067\u304d\u308b\u3053\u3068<\/h3>\n\n\n\n<p>\u3053\u306e\u30c4\u30fc\u30eb\u3067\u306f\u3001CSS\uff08\u30b9\u30bf\u30a4\u30eb\u30b7\u30fc\u30c8\uff09\u306e\u77e5\u8b58\u304c\u306a\u304f\u3066\u3082\u3001\u76f4\u611f\u7684\u306a\u64cd\u4f5c\u3067\u30b0\u30e9\u30c7\u30fc\u30b7\u30e7\u30f3\u306e\u30b9\u30bf\u30a4\u30eb\u30b3\u30fc\u30c9\u3092\u81ea\u52d5\u751f\u6210\u3067\u304d\u307e\u3059\u3002\u4e3b\u306a\u6a5f\u80fd\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<p><strong>\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u30d7\u30ec\u30d3\u30e5\u30fc\u3068\u30b3\u30fc\u30c9\u751f\u6210<\/strong> \u753b\u9762\u4e0a\u306e\u30d7\u30ec\u30d3\u30e5\u30fc\u3092\u898b\u306a\u304c\u3089\u8272\u3084\u65b9\u5411\u3092\u8abf\u6574\u3059\u308b\u3068\u3001\u81ea\u52d5\u7684\u306bCSS\u30b3\u30fc\u30c9\uff08background\u30d7\u30ed\u30d1\u30c6\u30a3\uff09\u304c\u751f\u6210\u3055\u308c\u307e\u3059\u3002\u5b8c\u6210\u3057\u305f\u30b3\u30fc\u30c9\u306f\u300c\u30b3\u30d4\u30fc\u300d\u30dc\u30bf\u30f3\u3092\u62bc\u3059\u3060\u3051\u3067\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u306b\u4fdd\u5b58\u3055\u308c\u3001\u305d\u306e\u307e\u307eWeb\u30b5\u30a4\u30c8\u306e\u5b9f\u88c5\u306b\u4f7f\u3048\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u7dda\u5f62\u30fb\u5186\u5f62\u30b0\u30e9\u30c7\u30fc\u30b7\u30e7\u30f3\u306e\u5207\u308a\u66ff\u3048<\/strong> \u4e00\u822c\u7684\u306a\u4e0a\u304b\u3089\u4e0b\u3078\u8272\u304c\u5909\u5316\u3059\u308b\u300c\u7dda\u5f62\uff08Linear\uff09\u300d\u3060\u3051\u3067\u306a\u304f\u3001\u4e2d\u5fc3\u304b\u3089\u5916\u5074\u3078\u5e83\u304c\u308b\u300c\u5186\u5f62\uff08Radial\uff09\u300d\u306e\u30b0\u30e9\u30c7\u30fc\u30b7\u30e7\u30f3\u3082\u30ef\u30f3\u30af\u30ea\u30c3\u30af\u3067\u5207\u308a\u66ff\u3048\u53ef\u80fd\u3067\u3059\u3002<\/p>\n\n\n\n<p><strong>3\u8272\u4ee5\u4e0a\u306e\u30de\u30eb\u30c1\u30ab\u30e9\u30fc\u4f5c\u6210<\/strong> 2\u8272\u3060\u3051\u3067\u306a\u304f\u30013\u8272\u4ee5\u4e0a\u306e\u8907\u6570\u306e\u8272\u3092\u4f7f\u3063\u305f\u30b0\u30e9\u30c7\u30fc\u30b7\u30e7\u30f3\u3082\u4f5c\u6210\u3067\u304d\u307e\u3059\u3002\u300c\u30b9\u30c8\u30c3\u30d7\u8ffd\u52a0\u300d\u30dc\u30bf\u30f3\u3067\u8272\u3092\u5897\u3084\u3057\u3001\u30b9\u30e9\u30a4\u30c0\u30fc\u3067\u8272\u306e\u5909\u308f\u308b\u4f4d\u7f6e\u3092\u7d30\u304b\u304f\u8abf\u6574\u3059\u308b\u3053\u3068\u3067\u3001\u8679\u8272\u3084\u8907\u96d1\u306a\u5149\u306e\u8868\u73fe\u3082\u53ef\u80fd\u3067\u3059\u3002<\/p>\n\n\n\n<p><strong>\u8c4a\u5bcc\u306a\u30d7\u30ea\u30bb\u30c3\u30c8\uff08\u898b\u672c\uff09\u306e\u5229\u7528<\/strong> \u300c\u30d1\u30b9\u30c6\u30eb\u300d\u300c\u30d3\u30d3\u30c3\u30c9\u300d\u300c\u30c0\u30fc\u30af\u300d\u306a\u3069\u3001\u30c7\u30b6\u30a4\u30f3\u306e\u53c2\u8003\u306b\u306a\u308b\u914d\u8272\u898b\u672c\uff08\u30d7\u30ea\u30bb\u30c3\u30c8\uff09\u3092\u7528\u610f\u3057\u3066\u3044\u307e\u3059\u3002\u898b\u672c\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3060\u3051\u3067\u8a2d\u5b9a\u304c\u53cd\u6620\u3055\u308c\u308b\u305f\u3081\u3001\u914d\u8272\u306b\u60a9\u3093\u3060\u6642\u306e\u30a2\u30a4\u30c7\u30a2\u51fa\u3057\u306b\u3082\u5f79\u7acb\u3061\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"i-1\">CSS\u30b0\u30e9\u30c7\u30fc\u30b7\u30e7\u30f3\u306e\u57fa\u790e\u77e5\u8b58<\/h3>\n\n\n\n<p>\u3053\u306e\u30c4\u30fc\u30eb\u304c\u51fa\u529b\u3059\u308bCSS\u30d7\u30ed\u30d1\u30c6\u30a3\u306b\u3064\u3044\u3066\u306e\u57fa\u672c\u7684\u306a\u7528\u8a9e\u89e3\u8aac\u3067\u3059\u3002<\/p>\n\n\n\n<p><strong>linear-gradient\uff08\u7dda\u5f62\u30b0\u30e9\u30c7\u30fc\u30b7\u30e7\u30f3\uff09<\/strong> \u8272\u304c\u76f4\u7dda\u7684\u306b\u5909\u5316\u3059\u308b\u30b9\u30bf\u30a4\u30eb\u3067\u3059\u3002Web\u30c7\u30b6\u30a4\u30f3\u3067\u6700\u3082\u983b\u7e41\u306b\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002<code>degree\uff08deg\uff09<\/code>\u3068\u3044\u3046\u5358\u4f4d\u3067\u89d2\u5ea6\u3092\u6307\u5b9a\u3067\u304d\u300190deg\u306a\u3089\u6a2a\u65b9\u5411\u3001180deg\u306a\u3089\u4e0a\u304b\u3089\u4e0b\u3078\u8272\u304c\u5909\u5316\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>radial-gradient\uff08\u5186\u5f62\u30b0\u30e9\u30c7\u30fc\u30b7\u30e7\u30f3\uff09<\/strong> \u4e2d\u5fc3\u70b9\u304b\u3089\u5916\u5074\u306b\u5411\u304b\u3063\u3066\u5186\u72b6\u306b\u8272\u304c\u5e83\u304c\u308b\u30b9\u30bf\u30a4\u30eb\u3067\u3059\u3002\u30dc\u30bf\u30f3\u306e\u30cf\u30a4\u30e9\u30a4\u30c8\u3084\u3001\u80cc\u666f\u306b\u5965\u884c\u304d\u3092\u6301\u305f\u305b\u305f\u3044\u5834\u5408\u306b\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>RGBA\uff08\u8272\u306e\u900f\u660e\u5ea6\uff09<\/strong> \u8272\u306f\u8d64\uff08R\uff09\u30fb\u7dd1\uff08G\uff09\u30fb\u9752\uff08B\uff09\u306b\u52a0\u3048\u3001\u900f\u660e\u5ea6\uff08A\uff09\u3067\u6307\u5b9a\u3055\u308c\u307e\u3059\u3002\u3053\u306e\u30c4\u30fc\u30eb\u3067\u306f\u900f\u660e\u5ea6\u3082\u8abf\u6574\u3067\u304d\u308b\u305f\u3081\u3001\u80cc\u666f\u753b\u50cf\u306e\u4e0a\u306b\u534a\u900f\u660e\u306e\u30b0\u30e9\u30c7\u30fc\u30b7\u30e7\u30f3\u3092\u91cd\u306d\u308b\u3068\u3044\u3063\u305f\u8868\u73fe\u306e\u30b3\u30fc\u30c9\u3082\u4f5c\u6210\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"i-2\">3\u8272\u30b0\u30e9\u30c7\u30fc\u30b7\u30e7\u30f3\u3092\u7dba\u9e97\u306b\u4f5c\u308b\u30b3\u30c4<\/h3>\n\n\n\n<p>\u691c\u7d22\u9700\u8981\u306e\u9ad8\u3044\u300c3\u8272\u30b0\u30e9\u30c7\u30fc\u30b7\u30e7\u30f3\u300d\u3092\u7f8e\u3057\u304f\u4f5c\u6210\u3059\u308b\u305f\u3081\u306e\u30dd\u30a4\u30f3\u30c8\u3067\u3059\u3002<\/p>\n\n\n\n<p><strong>\u540c\u7cfb\u8272\u3067\u307e\u3068\u3081\u308b<\/strong> \u4f8b\u3048\u3070\u300c\u6c34\u8272\u2192\u9752\u2192\u6fc3\u7d3a\u300d\u306e\u3088\u3046\u306b\u3001\u540c\u3058\u8272\u76f8\u3067\u660e\u308b\u3055\u3084\u6fc3\u3055\u3092\u5909\u3048\u305f3\u8272\u3092\u4e26\u3079\u308b\u3068\u3001\u7a7a\u3084\u6d77\u306e\u3088\u3046\u306a\u81ea\u7136\u3067\u7f8e\u3057\u3044\u5965\u884c\u304d\u304c\u751f\u307e\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u771f\u3093\u4e2d\u306e\u8272\u3092\u306a\u3058\u307e\u305b\u308b<\/strong> \u300c\u8d64\u2192\u9ec4\u8272\u2192\u9752\u300d\u306e\u3088\u3046\u306b\u5168\u304f\u9055\u3046\u8272\u3092\u6df7\u305c\u308b\u5834\u5408\u3001\u4e2d\u9593\u306b\u914d\u7f6e\u3059\u308b\u8272\u304c\u6fc1\u3063\u3066\u898b\u3048\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u305d\u306e\u5834\u5408\u3001\u30b9\u30e9\u30a4\u30c0\u30fc\u4e0a\u306e\u8272\u306e\u4f4d\u7f6e\u3092\u8abf\u6574\u3057\u3066\u3001\u8272\u304c\u6df7\u3056\u308a\u5408\u3046\u7bc4\u56f2\u3092\u5e83\u3052\u305f\u308a\u72ed\u3081\u305f\u308a\u3059\u308b\u3053\u3068\u3067\u8abf\u6574\u53ef\u80fd\u3067\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"i-3\">\u30d9\u30f3\u30c0\u30fc\u30d7\u30ec\u30d5\u30a3\u30c3\u30af\u30b9\u306b\u3064\u3044\u3066<\/h3>\n\n\n\n<p>\u751f\u6210\u3055\u308c\u305f\u30b3\u30fc\u30c9\u306e\u4e0b\u306b\u3042\u308b\u300c\u30d9\u30f3\u30c0\u30fc\u30d7\u30ec\u30d5\u30a3\u30c3\u30af\u30b9\u3092\u542b\u3081\u308b\u300d\u306b\u30c1\u30a7\u30c3\u30af\u3092\u5165\u308c\u308b\u3068\u3001<code>-webkit-<\/code> \u3084 <code>-moz-<\/code> \u3068\u3044\u3063\u305f\u63a5\u982d\u8f9e\u304c\u3064\u3044\u305f\u30b3\u30fc\u30c9\u3082\u540c\u6642\u306b\u51fa\u529b\u3055\u308c\u307e\u3059\u3002 \u53e4\u3044\u30d6\u30e9\u30a6\u30b6\uff08\u53e4\u3044\u30d0\u30fc\u30b8\u30e7\u30f3\u306eAndroid\u30d6\u30e9\u30a6\u30b6\u306a\u3069\uff09\u3067\u3082\u30b0\u30e9\u30c7\u30fc\u30b7\u30e7\u30f3\u3092\u6b63\u3057\u304f\u8868\u793a\u3055\u305b\u305f\u3044\u5834\u5408\u306f\u3001\u3053\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u5229\u7528\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u6700\u65b0\u306e\u4e3b\u8981\u30d6\u30e9\u30a6\u30b6\u306e\u307f\u3092\u5bfe\u8c61\u3068\u3059\u308b\u5834\u5408\u306f\u3001\u6a19\u6e96\u306e\u30b3\u30fc\u30c9\u306e\u307f\u3067\u554f\u984c\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"i-4\">\u3053\u306e\u30c4\u30fc\u30eb\u304c\u5f79\u7acb\u3064\u3068\u304d\u306f\u3069\u3093\u306a\u3068\u304d\uff1f<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Web\u30b5\u30a4\u30c8\u306e\u80cc\u666f\u30c7\u30b6\u30a4\u30f3<\/strong>: \u30da\u30fc\u30b8\u306e\u80cc\u666f\u5168\u4f53\u306b\u6de1\u3044\u30b0\u30e9\u30c7\u30fc\u30b7\u30e7\u30f3\u3092\u6577\u304d\u3001\u6d17\u7df4\u3055\u308c\u305f\u5370\u8c61\u3092\u4e0e\u3048\u305f\u3044\u3068\u304d\u3002<\/li>\n\n\n\n<li><strong>\u30dc\u30bf\u30f3\u3084\u30d0\u30ca\u30fc\u306e\u4f5c\u6210<\/strong>: \u30d5\u30e9\u30c3\u30c8\u306a\u5358\u8272\u3067\u306f\u306a\u304f\u3001\u7acb\u4f53\u611f\u3084\u30af\u30ea\u30c3\u30af\u3057\u305f\u304f\u306a\u308b\u8cea\u611f\u3092\u30dc\u30bf\u30f3\u306b\u6301\u305f\u305b\u305f\u3044\u3068\u304d\u3002<\/li>\n\n\n\n<li><strong>\u753b\u50cf\u52a0\u5de5\u30bd\u30d5\u30c8\u304c\u306a\u3044\u3068\u304d<\/strong>: Photoshop\u306a\u3069\u306e\u30bd\u30d5\u30c8\u3092\u958b\u304b\u305a\u306b\u3001\u30d6\u30e9\u30a6\u30b6\u4e0a\u3067\u7d20\u65e9\u304f\u914d\u8272\u306e\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u3092\u884c\u3044\u305f\u3044\u3068\u304d\u3002<\/li>\n\n\n\n<li><strong>\u914d\u8272\u306e\u30a2\u30a4\u30c7\u30a2\u304c\u6b32\u3057\u3044\u3068\u304d<\/strong>: \u300c\u30e9\u30f3\u30c0\u30e0\u751f\u6210\u300d\u6a5f\u80fd\u3084\u30d7\u30ea\u30bb\u30c3\u30c8\u3092\u4f7f\u3063\u3066\u3001\u81ea\u5206\u3067\u306f\u601d\u3044\u3064\u304b\u306a\u3044\u8272\u306e\u7d44\u307f\u5408\u308f\u305b\u3092\u63a2\u3057\u305f\u3044\u3068\u304d\u3002<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u30d7\u30ec\u30d3\u30e5\u30fc \u30b0\u30e9\u30c7\u30fc\u30b7\u30e7\u30f3\u30bf\u30a4\u30d7 \u7dda\u5f62\uff08Linear\uff09 \u5186\u5f62\uff08Radial\uff09 \u89d2\u5ea6\u30fb\u65b9\u5411\u8a2d\u5b9a\uff08Linear\uff09 \u89d2\u5ea6\uff08deg\uff09 0\uff5e360\u30021\u5358\u4f4d\u305a\u3064\u5897\u6e1b\u3001\u30c0\u30a4\u30e4\u30eb\u3067\u3082\u8abf\u6574\u3067\u304d\u307e\u3059\u3002 \u4e2d\u5fc3\u4f4d\u7f6e Center\uff08\u4e2d\u592e\uff09Top\uff08 &#8230; <\/p>\n","protected":false},"author":4,"featured_media":13538,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13,59,60,62],"tags":[],"class_list":{"0":"post-12446","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-tool","8":"category-web-design","9":"category-design","10":"category-css","11":"entry"},"_links":{"self":[{"href":"https:\/\/rakkokeyword.com\/techo\/wp-json\/wp\/v2\/posts\/12446","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rakkokeyword.com\/techo\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rakkokeyword.com\/techo\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rakkokeyword.com\/techo\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/rakkokeyword.com\/techo\/wp-json\/wp\/v2\/comments?post=12446"}],"version-history":[{"count":0,"href":"https:\/\/rakkokeyword.com\/techo\/wp-json\/wp\/v2\/posts\/12446\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/rakkokeyword.com\/techo\/wp-json\/wp\/v2\/media\/13538"}],"wp:attachment":[{"href":"https:\/\/rakkokeyword.com\/techo\/wp-json\/wp\/v2\/media?parent=12446"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rakkokeyword.com\/techo\/wp-json\/wp\/v2\/categories?post=12446"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rakkokeyword.com\/techo\/wp-json\/wp\/v2\/tags?post=12446"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}