{"id":10831,"date":"2026-02-05T18:36:18","date_gmt":"2026-02-05T09:36:18","guid":{"rendered":"https:\/\/code-plus.jp\/gp\/?p=10831"},"modified":"2026-02-05T18:41:54","modified_gmt":"2026-02-05T09:41:54","slug":"background-clip-text-10831","status":"publish","type":"post","link":"https:\/\/code-plus.jp\/gp\/background-clip-text-10831\/","title":{"rendered":"\u3010CSS\u3011background-clip: text \u3067\u30c6\u30ad\u30b9\u30c8\u306b\u30d1\u30bf\u30fc\u30f3\u3084\u753b\u50cf\u3092\u9069\u7528\u3059\u308b\u65b9\u6cd5"},"content":{"rendered":"<p><code>background-clip: text<\/code> \u3068\u306f\u3001\u8981\u7d20\u306e\u80cc\u666f\u3092<b class=\"fw-600\">\u30c6\u30ad\u30b9\u30c8\u306e\u5f62\u3067\u5207\u308a\u629c\u304f<\/b>CSS\u30d7\u30ed\u30d1\u30c6\u30a3\u3067\u3059\u3002<\/p>\r\n<p>\u901a\u5e38\u3001\u80cc\u666f\u306f\u30dc\u30c3\u30af\u30b9\u5168\u4f53\u306b\u9069\u7528\u3055\u308c\u307e\u3059\u304c\u3001\u3053\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u4f7f\u3046\u3068\u80cc\u666f\u304c\u30c6\u30ad\u30b9\u30c8\u90e8\u5206\u306b\u306e\u307f\u8868\u793a\u3055\u308c\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u30c6\u30ad\u30b9\u30c8\u306b\u30b0\u30e9\u30c7\u30fc\u30b7\u30e7\u30f3\u30fb\u30d1\u30bf\u30fc\u30f3\u30fb\u753b\u50cf\u306a\u3069\u3001<code>color<\/code> \u30d7\u30ed\u30d1\u30c6\u30a3\u3067\u306f\u5b9f\u73fe\u3067\u304d\u306a\u3044\u8868\u73fe\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\r\n\r\n <!-- \u2605\u76ee\u6b21\u30ea\u30b9\u30c8 -->\r\n<ul class=\"tocList mt-1r\" data-toc-id=\"js-tocBWGD\" style=\"height:28rem\"><\/ul>\r\n<ins class=\"tocBtn is-fixed\" data-toc-id=\"js-tocBWGD\"><\/ins>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n<h2 class=\"fz-xl\">\u57fa\u672c\u7684\u306a\u66f8\u304d\u65b9<\/h2>\r\n<pre><code class=\"language-css\">.clip-text {\r\n  color: transparent;\r\n  -webkit-background-clip: text;\r\n  background-clip: text;\r\n  background-color: currentColor; \/* \u30d5\u30a9\u30fc\u30eb\u30d0\u30c3\u30af *\/\r\n}\r\n<\/code><\/pre>\r\n<h3 class=\"fz-ml\">\u30dd\u30a4\u30f3\u30c8<\/h3>\r\n<table class=\"table tbl-responsive my-0.5r\">\r\n  <thead>\r\n  <tr class=\"rung\">\r\n    <th>\u30d7\u30ed\u30d1\u30c6\u30a3<\/th>\r\n    <td>\u5f79\u5272<\/td>\r\n  <\/tr>\r\n<\/thead><tbody>\r\n<tr class=\"rung\">\r\n  <th><code>color: transparent<\/code><\/th>\r\n  <td>\u30c6\u30ad\u30b9\u30c8\u81ea\u4f53\u3092\u900f\u660e\u306b\u3057\u3066\u80cc\u666f\u3092\u898b\u305b\u308b<\/td>\r\n<\/tr><tr class=\"rung\">\r\n<th><code>-webkit-background-clip: text<\/code><\/th>\r\n<td>Safari\u30fbChrome\u7528\u306e\u30d9\u30f3\u30c0\u30fc\u30d7\u30ec\u30d5\u30a3\u30c3\u30af\u30b9<\/td>\r\n<\/tr><tr class=\"rung\">\r\n<th><code>background-clip: text<\/code><\/th>\r\n<td>\u6a19\u6e96\u30d7\u30ed\u30d1\u30c6\u30a3<\/td>\r\n<\/tr><tr class=\"rung\">\r\n<th><code>background-color: currentColor<\/code><\/th>\r\n<td>\u975e\u5bfe\u5fdc\u30d6\u30e9\u30a6\u30b6\u5411\u3051\u30d5\u30a9\u30fc\u30eb\u30d0\u30c3\u30af<\/td>\r\n<\/tr>\r\n<\/tbody><\/table>\r\n<h2 class=\"fz-xl\">\u30b0\u30e9\u30c7\u30fc\u30b7\u30e7\u30f3\u6587\u5b57<\/h2>\r\n<p>\u6700\u3082\u4e00\u822c\u7684\u306a\u4f7f\u3044\u65b9\u306f\u3001\u30c6\u30ad\u30b9\u30c8\u306b\u30b0\u30e9\u30c7\u30fc\u30b7\u30e7\u30f3\u3092\u9069\u7528\u3059\u308b\u3053\u3068\u3067\u3059\u3002<\/p>\r\n<pre><code class=\"language-css\">.gradient-text {\r\n  background-image: linear-gradient(90deg, #667eea, #764ba2);\r\n  color: transparent;\r\n  -webkit-background-clip: text;\r\n  background-clip: text;\r\n}\r\n<\/code><\/pre>\r\n<h2 class=\"fz-xl\">\u30d1\u30bf\u30fc\u30f3\u6587\u5b57\u306e\u5b9f\u88c5<\/h2>\r\n<p><code>background-clip: text<\/code> \u306e\u771f\u4fa1\u306f\u3001\u7e70\u308a\u8fd4\u3057\u30d1\u30bf\u30fc\u30f3\u3092\u9069\u7528\u3057\u305f\u3068\u304d\u306b\u767a\u63ee\u3055\u308c\u307e\u3059\u3002\u6f2b\u753b\u306e\u300c\u30c8\u30fc\u30f3\u300d\u306e\u3088\u3046\u306a\u52b9\u679c\u3084\u3001\u88c5\u98fe\u7684\u306a\u30bf\u30a4\u30dd\u30b0\u30e9\u30d5\u30a3\u304c\u5b9f\u73fe\u3067\u304d\u307e\u3059\u3002<\/p>\r\n\r\n<p class=\"mt-1r\"><b class=\"fw-600\">\u30b5\u30f3\u30d7\u30eb<\/b><br \/>\r\n<picture class=\"bd-bounds\"><img decoding=\"async\" src=\"https:\/\/code-plus.jp\/gp\/wp-content\/uploads\/SS-20260205-183100.png\" alt=\"\" width=\"1001\" height=\"329\" class=\"alignnone size-full wp-image-10835\" \/><\/picture><\/p>\r\n\r\n<p class=\"mt-0.5r\">\u3010CSS\u3011stardust-shapehand.preview\uff08\u56f3\u5f62\u3068\u304b\u7dda\u3068\u304b\uff09<br \/>\r\n<cite><a href=\"https:\/\/codepen.io\/sarap422\/embed\/WNZMMpy?theme-id=25176&default-tab=result&editable=true\" class=\"link\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/codepen.io\/sarap422\/embed\/WNZMMpy?theme-id=25176&amp;default-tab=result&amp;editable=true<\/a><\/cite><\/p>\r\n\r\n<h3 class=\"fz-ml\">\u30b9\u30c8\u30e9\u30a4\u30d7\uff08\u6a2a\u7dda\uff09<\/h3>\r\n<pre><code class=\"language-css\">.clip-striped {\r\n  background-image: repeating-linear-gradient(\r\n    0deg,\r\n    hsl(200, 80%, 50%) 0px,\r\n    hsl(200, 80%, 50%) 4px,\r\n    transparent 4px,\r\n    transparent 8px\r\n  );\r\n  color: transparent;\r\n  -webkit-background-clip: text;\r\n  background-clip: text;\r\n}\r\n<\/code><\/pre>\r\n<p><code>repeating-linear-gradient<\/code> \u30674px\u306e\u7dda\u30684px\u306e\u900f\u660e\u3092\u7e70\u308a\u8fd4\u3057\u3001\u6a2a\u7e1e\u6a21\u69d8\u3092\u4f5c\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\r\n<h3 class=\"fz-ml\">\u30b9\u30c8\u30e9\u30a4\u30d7\uff08\u659c\u7dda\uff09<\/h3>\r\n<p>\u89d2\u5ea6\u3092\u5909\u3048\u308b\u3060\u3051\u3067\u659c\u3081\u30b9\u30c8\u30e9\u30a4\u30d7\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\r\n<pre><code class=\"language-css\">.clip-striped-diagonal {\r\n  background-image: repeating-linear-gradient(\r\n    -45deg,\r\n    hsl(200, 80%, 50%) 0px,\r\n    hsl(200, 80%, 50%) 4px,\r\n    transparent 4px,\r\n    transparent 8px\r\n  );\r\n  color: transparent;\r\n  -webkit-background-clip: text;\r\n  background-clip: text;\r\n}\r\n<\/code><\/pre>\r\n<h3 class=\"fz-ml\">\u30c9\u30c3\u30c8\u67c4<\/h3>\r\n<p><code>radial-gradient<\/code> \u3067\u5186\u5f62\u306e\u30c9\u30c3\u30c8\u30d1\u30bf\u30fc\u30f3\u3092\u4f5c\u308c\u307e\u3059\u3002<\/p>\r\n<pre><code class=\"language-css\">.clip-dotted {\r\n  background-image: radial-gradient(\r\n    circle,\r\n    hsl(200, 80%, 50%) 40%,\r\n    transparent 50%\r\n  );\r\n  background-size: 12px 12px;\r\n  color: transparent;\r\n  -webkit-background-clip: text;\r\n  background-clip: text;\r\n}\r\n<\/code><\/pre>\r\n<h3 class=\"fz-ml\">\u30c8\u30fc\u30f3\uff08\u7d30\u304b\u3044\u30c9\u30c3\u30c8\uff09<\/h3>\r\n<p>\u6f2b\u753b\u306e\u30b9\u30af\u30ea\u30fc\u30f3\u30c8\u30fc\u30f3\u306e\u3088\u3046\u306a\u52b9\u679c\u306f\u3001\u30c9\u30c3\u30c8\u3092\u5c0f\u3055\u304f\u30fb\u5bc6\u306b\u3059\u308b\u3053\u3068\u3067\u5b9f\u73fe\u3067\u304d\u307e\u3059\u3002<\/p>\r\n<pre><code class=\"language-css\">.clip-toned {\r\n  background-image: radial-gradient(\r\n    circle,\r\n    hsl(200, 80%, 50%) 40%,\r\n    transparent 50%\r\n  );\r\n  background-size: 5.5px 5.5px;\r\n  background-position: 2px 2px;\r\n  color: transparent;\r\n  -webkit-background-clip: text;\r\n  background-clip: text;\r\n}\r\n<\/code><\/pre>\r\n<p><code>background-size<\/code> \u3092\u5c0f\u3055\u304f\u3059\u308b\u307b\u3069\u30c9\u30c3\u30c8\u304c\u5bc6\u306b\u306a\u308a\u3001\u30c8\u30fc\u30f3\u306e\u3088\u3046\u306a\u5370\u8c61\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\r\n<h2 class=\"fz-xl\">\u753b\u50cf\u3092\u4f7f\u3063\u305f\u6587\u5b57<\/h2>\r\n<p>\u80cc\u666f\u753b\u50cf\u3092\u305d\u306e\u307e\u307e\u30c6\u30ad\u30b9\u30c8\u306b\u9069\u7528\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002<\/p>\r\n<pre><code class=\"language-css\">.clip-image {\r\n  background-image: url(&#39;texture.jpg&#39;);\r\n  background-size: cover;\r\n  background-position: center;\r\n  color: transparent;\r\n  -webkit-background-clip: text;\r\n  background-clip: text;\r\n}\r\n<\/code><\/pre>\r\n<p>\u98a8\u666f\u5199\u771f\u3084\u30c6\u30af\u30b9\u30c1\u30e3\u753b\u50cf\u3092\u4f7f\u3046\u3068\u3001\u5370\u8c61\u7684\u306a\u30d2\u30fc\u30ed\u30fc\u30c6\u30ad\u30b9\u30c8\u304c\u4f5c\u308c\u307e\u3059\u3002<\/p>\r\n<h2 class=\"fz-xl\">\u5b9f\u8df5\uff1a\u30e6\u30fc\u30c6\u30a3\u30ea\u30c6\u30a3\u30af\u30e9\u30b9\u3068\u3057\u3066\u6574\u7406<\/h2>\r\n<p>\u5b9f\u969b\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u4f7f\u3044\u3084\u3059\u3044\u3088\u3046\u306b\u3001\u30d9\u30fc\u30b9\u30af\u30e9\u30b9\u3068\u30e2\u30c7\u30a3\u30d5\u30a1\u30a4\u30a2\u306b\u5206\u96e2\u3057\u307e\u3059\u3002<\/p>\r\n<pre><code class=\"language-css\">\/* \u30d9\u30fc\u30b9\u30af\u30e9\u30b9 *\/\r\n.clip-text {\r\n  color: transparent;\r\n  -webkit-background-clip: text;\r\n  background-clip: text;\r\n  background-color: currentColor;\r\n}\r\n\r\n\/* \u30e2\u30c7\u30a3\u30d5\u30a1\u30a4\u30a2\uff1a\u30b9\u30c8\u30e9\u30a4\u30d7 *\/\r\n.clip-striped {\r\n  background-image: repeating-linear-gradient(\r\n    0deg,\r\n    var(--c-pattern, hsl(200, 80%, 50%)) 0px,\r\n    var(--c-pattern, hsl(200, 80%, 50%)) 4px,\r\n    transparent 4px,\r\n    transparent 8px\r\n  );\r\n}\r\n\r\n\/* \u30e2\u30c7\u30a3\u30d5\u30a1\u30a4\u30a2\uff1a\u659c\u3081\u30b9\u30c8\u30e9\u30a4\u30d7 *\/\r\n.clip-striped.clip-diagonal {\r\n  background-image: repeating-linear-gradient(\r\n    -45deg,\r\n    var(--c-pattern, hsl(200, 80%, 50%)) 0px,\r\n    var(--c-pattern, hsl(200, 80%, 50%)) 4px,\r\n    transparent 4px,\r\n    transparent 8px\r\n  );\r\n}\r\n\r\n\/* \u30e2\u30c7\u30a3\u30d5\u30a1\u30a4\u30a2\uff1a\u30c9\u30c3\u30c8 *\/\r\n.clip-dotted {\r\n  background-image: radial-gradient(\r\n    circle,\r\n    var(--c-pattern, hsl(200, 80%, 50%)) 40%,\r\n    transparent 50%\r\n  );\r\n  background-size: 12px 12px;\r\n}\r\n\r\n\/* \u30e2\u30c7\u30a3\u30d5\u30a1\u30a4\u30a2\uff1a\u30c8\u30fc\u30f3 *\/\r\n.clip-toned {\r\n  background-image: radial-gradient(\r\n    circle,\r\n    var(--c-pattern, hsl(200, 80%, 50%)) 40%,\r\n    transparent 50%\r\n  );\r\n  background-size: 5.5px 5.5px;\r\n}\r\n<\/code><\/pre>\r\n<h3 class=\"fz-ml\">\u4f7f\u7528\u4f8b<\/h3>\r\n<pre><code class=\"language-html\">&lt;h1 class=&quot;clip-text clip-striped&quot;&gt;\u30b9\u30c8\u30e9\u30a4\u30d7\u6587\u5b57&lt;\/h1&gt;\r\n&lt;h1 class=&quot;clip-text clip-striped clip-diagonal&quot;&gt;\u659c\u3081\u30b9\u30c8\u30e9\u30a4\u30d7&lt;\/h1&gt;\r\n&lt;h1 class=&quot;clip-text clip-dotted&quot;&gt;\u30c9\u30c3\u30c8\u6587\u5b57&lt;\/h1&gt;\r\n&lt;h1 class=&quot;clip-text clip-toned&quot;&gt;\u30c8\u30fc\u30f3\u6587\u5b57&lt;\/h1&gt;\r\n<\/code><\/pre>\r\n<p>CSS\u5909\u6570 <code>--c-pattern<\/code> \u3092\u4f7f\u3046\u3053\u3068\u3067\u3001\u8272\u306e\u5909\u66f4\u3082\u67d4\u8edf\u306b\u884c\u3048\u307e\u3059\u3002<\/p>\r\n<pre><code class=\"language-html\">&lt;h1 class=&quot;clip-text clip-dotted&quot; style=&quot;--c-pattern: hsl(340, 80%, 50%);&quot;&gt;\r\n  \u30d4\u30f3\u30af\u30c9\u30c3\u30c8\r\n&lt;\/h1&gt;\r\n<\/code><\/pre>\r\n<h2 class=\"fz-xl\">\u5fdc\u7528\uff1a\u30db\u30d0\u30fc\u3067\u8272\u304c\u5909\u308f\u308b\u30ea\u30f3\u30af<\/h2>\r\n<p><code>background-clip: text<\/code> \u3068\u30b0\u30e9\u30c7\u30fc\u30b7\u30e7\u30f3\u30b9\u30e9\u30a4\u30c9\u3092\u7d44\u307f\u5408\u308f\u305b\u308b\u3068\u3001\u30db\u30d0\u30fc\u6642\u306b<b class=\"fw-600\">\u5de6\u304b\u3089\u53f3\u3078\u8272\u304c\u5909\u308f\u308b\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3<\/b>\u304c\u5b9f\u73fe\u3067\u304d\u307e\u3059\u3002<\/p>\r\n\r\n<p class=\"mt-1r\"><b class=\"fw-600\">\u30b5\u30f3\u30d7\u30eb<\/b><br \/>\r\n<picture class=\"bd-bounds\"><img decoding=\"async\" src=\"https:\/\/code-plus.jp\/gp\/wp-content\/uploads\/SS-20260205-183039.png\" alt=\"\" width=\"836\" height=\"214\" class=\"alignnone size-full wp-image-10836\" \/><\/picture><\/p>\r\n\r\n<p class=\"mt-0.5r\">\u3010CSS\u3011stardust-shapehand.preview\uff08\u56f3\u5f62\u3068\u304b\u7dda\u3068\u304b\uff09<br \/>\r\n<cite><a href=\"https:\/\/codepen.io\/sarap422\/embed\/WNZMMpy?theme-id=25176&default-tab=result&editable=true\" class=\"link\" target=\"_blank\">https:\/\/codepen.io\/sarap422\/embed\/WNZMMpy?theme-id=25176&amp;default-tab=result&amp;editable=true<\/a><\/cite><\/p>\r\n\r\n<pre><code class=\"language-css\">.link-animated {\r\n  display: inline;\r\n  background-image: linear-gradient(\r\n    to right,\r\n    hsl(240, 73%, 46%) 0%,\r\n    hsl(240, 73%, 46%) 50%,\r\n    currentColor 50%,\r\n    currentColor 100%\r\n  );\r\n  background-size: 200% 100%;\r\n  background-position: 100% 0;\r\n  -webkit-background-clip: text;\r\n  background-clip: text;\r\n  -webkit-text-fill-color: transparent;\r\n  transition: background-position 0.4s ease;\r\n}\r\n\r\n.link-animated:hover {\r\n  background-position: 0 0;\r\n}\r\n<\/code><\/pre>\r\n<h3 class=\"fz-ml\">\u4ed5\u7d44\u307f<\/h3>\r\n<ol style=\"list-style-type:decimal;\" class=\"my-0.5r\">\r\n<li>200%\u5e45\u306e\u30b0\u30e9\u30c7\u30fc\u30b7\u30e7\u30f3\u3092\u4f5c\u6210\uff08\u5de6\u534a\u5206\u304c\u30ea\u30f3\u30af\u8272\u3001\u53f3\u534a\u5206\u304c\u901a\u5e38\u8272\uff09<\/li>\r\n<li>\u521d\u671f\u72b6\u614b\u3067\u306f\u53f3\u7aef\u3092\u8868\u793a\uff08\u901a\u5e38\u8272\uff09<\/li>\r\n<li>\u30db\u30d0\u30fc\u3067\u5de6\u7aef\u306b\u30b9\u30e9\u30a4\u30c9\uff08\u30ea\u30f3\u30af\u8272\u306b\u5909\u5316\uff09<\/li>\r\n<\/ol>\r\n<p><code>color<\/code> \u306e\u30c8\u30e9\u30f3\u30b8\u30b7\u30e7\u30f3\u3067\u306f\u5b9f\u73fe\u3067\u304d\u306a\u3044\u300c\u65b9\u5411\u6027\u306e\u3042\u308b\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u300d\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\r\n<h2 class=\"fz-xl\">\u30d6\u30e9\u30a6\u30b6\u5bfe\u5fdc<\/h2>\r\n<p><code>background-clip: text<\/code> \u306f\u4e3b\u8981\u30d6\u30e9\u30a6\u30b6\u3067\u5e83\u304f\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u3066\u3044\u307e\u3059\u304c\u3001\u4e00\u90e8\u6ce8\u610f\u70b9\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\r\n<table class=\"table tbl-responsive my-0.5r\">\r\n  <thead>\r\n  <tr class=\"rung\">\r\n    <th>\u30d6\u30e9\u30a6\u30b6<\/th>\r\n    <td>\u5bfe\u5fdc\u72b6\u6cc1<\/td>\r\n  <\/tr>\r\n<\/thead><tbody>\r\n<tr class=\"rung\">\r\n  <th>Chrome<\/th>\r\n  <td>\u2705 <code>-webkit-<\/code> \u30d7\u30ec\u30d5\u30a3\u30c3\u30af\u30b9\u63a8\u5968<\/td>\r\n<\/tr><tr class=\"rung\">\r\n<th>Safari<\/th>\r\n<td>\u2705 <code>-webkit-<\/code> \u30d7\u30ec\u30d5\u30a3\u30c3\u30af\u30b9\u5fc5\u9808<\/td>\r\n<\/tr><tr class=\"rung\">\r\n<th>Firefox<\/th>\r\n<td>\u2705 \u6a19\u6e96\u30d7\u30ed\u30d1\u30c6\u30a3\u3067\u5bfe\u5fdc<\/td>\r\n<\/tr><tr class=\"rung\">\r\n<th>Edge<\/th>\r\n<td>\u2705 <code>-webkit-<\/code> \u30d7\u30ec\u30d5\u30a3\u30c3\u30af\u30b9\u63a8\u5968<\/td>\r\n<\/tr>\r\n<\/tbody><\/table>\r\n<h3 class=\"fz-ml\">\u30d5\u30a9\u30fc\u30eb\u30d0\u30c3\u30af<\/h3>\r\n<p>\u975e\u5bfe\u5fdc\u30d6\u30e9\u30a6\u30b6\u3084\u53e4\u3044\u74b0\u5883\u5411\u3051\u306b\u3001<code>background-color: currentColor<\/code> \u3092\u30d5\u30a9\u30fc\u30eb\u30d0\u30c3\u30af\u3068\u3057\u3066\u8a2d\u5b9a\u3057\u3066\u304a\u304f\u3068\u3001\u6700\u4f4e\u9650\u30c6\u30ad\u30b9\u30c8\u304c\u898b\u3048\u308b\u72b6\u614b\u3092\u4fdd\u3066\u307e\u3059\u3002<\/p>\r\n<pre><code class=\"language-css\">.clip-text {\r\n  background-color: currentColor; \/* \u30d5\u30a9\u30fc\u30eb\u30d0\u30c3\u30af *\/\r\n  color: transparent;\r\n  -webkit-background-clip: text;\r\n  background-clip: text;\r\n}\r\n<\/code><\/pre>\r\n<h2 class=\"fz-xl\">\u307e\u3068\u3081<\/h2>\r\n<p><code>background-clip: text<\/code> \u3092\u4f7f\u3046\u3068\uff1a<\/p>\r\n<ul style=\"list-style-type:bullet;\" class=\"my-0.5r\">\r\n<li>\u30b0\u30e9\u30c7\u30fc\u30b7\u30e7\u30f3\u6587\u5b57<\/li>\r\n<li>\u30b9\u30c8\u30e9\u30a4\u30d7\u30fb\u30c9\u30c3\u30c8\u30fb\u30c8\u30fc\u30f3\u306a\u3069\u306e\u30d1\u30bf\u30fc\u30f3\u6587\u5b57<\/li>\r\n<li>\u753b\u50cf\u3092\u4f7f\u3063\u305f\u88c5\u98fe\u6587\u5b57<\/li>\r\n<li>\u65b9\u5411\u6027\u306e\u3042\u308b\u30db\u30d0\u30fc\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3<\/li>\r\n<\/ul>\r\n<p>\u3068\u3044\u3063\u305f\u3001<code>color<\/code> \u30d7\u30ed\u30d1\u30c6\u30a3\u3060\u3051\u3067\u306f\u4e0d\u53ef\u80fd\u306a\u8868\u73fe\u304c\u5b9f\u73fe\u3067\u304d\u307e\u3059\u3002<\/p>\r\n<p>\u7279\u306b\u5927\u304d\u306a\u898b\u51fa\u3057\u3084\u30d2\u30fc\u30ed\u30fc\u30bb\u30af\u30b7\u30e7\u30f3\u3067\u4f7f\u3046\u3068\u3001\u8996\u899a\u7684\u306a\u30a4\u30f3\u30d1\u30af\u30c8\u3092\u4e0e\u3048\u3089\u308c\u307e\u3059\u3002\u30e6\u30fc\u30c6\u30a3\u30ea\u30c6\u30a3\u30af\u30e9\u30b9\u3068\u3057\u3066\u6574\u7406\u3057\u3066\u304a\u3051\u3070\u3001\u3055\u307e\u3056\u307e\u306a\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u518d\u5229\u7528\u3057\u3084\u3059\u304f\u306a\u308b\u3067\u3057\u3087\u3046\u3002<\/p>","protected":false},"excerpt":{"rendered":"CSS\u306ebackground-clip: text\u3092\u4f7f\u3063\u3066\u3001\u30c6\u30ad\u30b9\u30c8\u306b\u30b9\u30c8\u30e9\u30a4\u30d7\u30fb\u30c9\u30c3\u30c8\u30fb\u30c8\u30fc\u30f3\u30fb\u753b\u50cf\u3092\u9069\u7528\u3059\u308b\u65b9\u6cd5\u3092\u89e3\u8aac\u3002\u30b0\u30e9\u30c7\u30fc\u30b7\u30e7\u30f3\u6587\u5b57\u3084\u30db\u30d0\u30fc\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306e\u5b9f\u88c5\u4f8b\u3082\u7d39\u4ecb\u3057\u307e\u3059\u3002","protected":false},"author":1,"featured_media":10839,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"sns_share_botton_hide":"","vkExUnit_sns_title":"","_vk_print_noindex":"","footnotes":"","vk-ltc-link":"","vk-ltc-target":"0"},"categories":[11],"tags":[633,632,635,634,628,629,630,631,636,130],"group":[],"class_list":["post-10831","post","type-post","status-publish","format-standard","has-post-thumbnail","category-html-css","tag-633","tag-632","tag-web","tag-634","tag-background-clip","tag-text","tag-630","tag-631","tag-636","tag-css"],"acf":[],"veu_head_title_object":{"title":"","add_site_title":""},"_links":{"self":[{"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/posts\/10831","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/comments?post=10831"}],"version-history":[{"count":0,"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/posts\/10831\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/media\/10839"}],"wp:attachment":[{"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/media?parent=10831"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/categories?post=10831"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/tags?post=10831"},{"taxonomy":"group","embeddable":true,"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/group?post=10831"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}