{"id":2715,"date":"2023-09-16T15:08:45","date_gmt":"2023-09-16T06:08:45","guid":{"rendered":"https:\/\/uda2.com\/blog\/?p=2715"},"modified":"2024-01-18T09:12:48","modified_gmt":"2024-01-18T00:12:48","slug":"css_has","status":"publish","type":"post","link":"https:\/\/uda2.com\/blog\/css_has\/","title":{"rendered":"CSS\u306e:has()\u7591\u4f3c\u30af\u30e9\u30b9\u3063\u3066\u307e\u3060\u306a\u3093\uff1f"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u30c8\u30b0\u30eb\u30dc\u30bf\u30f3\u304c\u5fc5\u8981\u3060\u3063\u305f\u306e\u3067\u3001checkbox\u3092\u4f7f\u3063\u3066\u3054\u306b\u3087\u3054\u306b\u3087\u3059\u308b\u306e\u306b\u304b\u306a\u308a\u8907\u96d1\u306b\u7d44\u307e\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u306e\u3067\u30a4\u30e4\u3060\u306a\u3068\u601d\u3063\u3066\u305d\u3046\u3044\u3048\u3070\u7d50\u69cb\u524d\u306b\u5642\u306b\u306a\u3063\u3066\u305f:has\u3063\u3066\u4f7f\u3048\u308b\u3093\u3058\u3083\u7121\u3044\u304b\uff1f\u3068\u3084\u3063\u3066\u307f\u305f\u3051\u3069\u5168\u7136\u52d5\u304b\u306a\u3044\u3001\u30b5\u30f3\u30d7\u30eb\u30b5\u30a4\u30c8\u3082\u52d5\u3044\u3066\u306a\u3044\u3001\u4ed5\u65b9\u306a\u304f\u8abf\u3079\u3066\u898b\u305f\u3089\uff08<a href=\"https:\/\/developer.mozilla.org\/ja\/docs\/Web\/CSS\/:has\" target=\"_blank\" rel=\"noreferrer noopener\">:has() &#8211; CSS: \u30ab\u30b9\u30b1\u30fc\u30c7\u30a3\u30f3\u30b0\u30b9\u30bf\u30a4\u30eb\u30b7\u30fc\u30c8 | MDN<\/a>\uff09Firefox\u304c\u672a\u3060\u5bfe\u5fdc\u3057\u3066\u306a\u3044\u3089\u3057\u3044\u3002<\/p>\n\n\n\n<!--more-->\n\n\n\n<p class=\"wp-block-paragraph\">\u4e00\u5fdc\u305b\u3063\u304b\u304f\u66f8\u3044\u305f\u306e\u3067\u8f09\u305b\u3066\u304a\u304f\u3053\u3068\u306b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>.toggle { box-sizing: border-box;color: #fff;background-color: #ccc; width: 85px; height: 32px; border-radius: 5px; overflow: hidden; position: relative; display: inline-flex; align-items: center; flex-shrink: 0; user-select: none; vertical-align: middle; margin: 0;}\n.toggle:has(&gt;input:checked) { opacity: 1; background-color: #357ed1;}\n.toggle input {display:none;}\n.toggle::before,.toggle::after { display: block; position: absolute; z-index: 2; line-height: 100%; width: calc(100% - 32px - 3px); text-align: center;}\n.toggle::before {content: '\u30aa\u30f3';opacity: 0;left: 3px;}\n.toggle::after {content: '\u30aa\u30d5';opacity: 1;right: 3px;}\n.toggle:has(&gt;input:checked)::before { opacity: 1;}\n.toggle:has(&gt;input:checked)::after { opacity: 0;}\n.toggle .switch { background-color: #fff; display: block; height: 100%; position: absolute; right: 0; z-index: 3; box-sizing: border-box; transition: right 150ms linear, border-color 150ms linear; width: 32px; border-radius: 5px; border: 3px solid #ccc; right:calc(100% - 32px); }\n.toggle:has(&gt;input:checked) &gt; .switch { border-color: #357ed1; right: 0; }\n.onoff .switch {color: #999; border: 1px solid #999; display: inline-block; padding: 3px 5px; line-height: 1.2;}\n.onoff input {display:none;}\n.onoff .switch::after { content: '\u30aa\u30d5'; display: inline; }\n.onoff input:checked + .switch {color: #357ed1; border-color: #357ed1;}\n.onoff input:checked + .switch::after {content: '\u30aa\u30f3';}<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;label class=\"\"&gt;&lt;input checked=\"\" type=\"checkbox\" id=\"editmode\"&gt;&lt;span class=\"switch\"&gt;&lt;\/span&gt;&lt;\/label&gt;\n&lt;label class=\"toggle\"&gt;&lt;input checked=\"\" type=\"checkbox\" id=\"editmode\"&gt;&lt;span class=\"switch\"&gt;&lt;\/span&gt;&lt;\/label&gt;\n&lt;label class=\"onoff\"&gt;&lt;input checked=\"\" type=\"checkbox\" id=\"editmode\"&gt;&lt;span class=\"switch\"&gt;&lt;\/span&gt;&lt;\/label&gt;<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u3067\u304d\u3042\u304c\u308a\u306f\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<style type=\"text\/css\">\n.toggle { box-sizing: border-box;color: #fff;background-color: #ccc; width: 85px; height: 32px; border-radius: 5px; overflow: hidden; position: relative; display: inline-flex; align-items: center; flex-shrink: 0; user-select: none; vertical-align: middle; margin: 0 2em;}\n.toggle:has(>input:checked) { opacity: 1; background-color: #357ed1;}\n.toggle input {display:none;}\n.toggle::before,.toggle::after { display: block; position: absolute; z-index: 2; line-height: 100%; width: calc(100% - 32px - 3px); text-align: center;}\n.toggle::before {content: '\u30aa\u30f3';opacity: 0;left: 3px;}\n.toggle::after {content: '\u30aa\u30d5';opacity: 1;right: 3px;}\n.toggle:has(>input:checked)::before { opacity: 1;}\n.toggle:has(>input:checked)::after { opacity: 0;}\n.toggle .switch { background-color: #fff; display: block; height: 100%; position: absolute; right: 0; z-index: 3; box-sizing: border-box; transition: right 150ms linear, border-color 150ms linear; width: 32px; border-radius: 5px; border: 3px solid #ccc; right:calc(100% - 32px); }\n.toggle:has(>input:checked) > .switch { border-color: #357ed1; right: 0; }\n.onoff .switch {color: #999; border: 1px solid #999; display: inline-block; padding: 3px 5px; line-height: 1.2;}\n.onoff input {display:none;}\n.onoff .switch::after { content: '\u30aa\u30d5'; display: inline; }\n.onoff input:checked + .switch {color: #357ed1; border-color: #357ed1;}\n.onoff input:checked + .switch::after {content: '\u30aa\u30f3';}\n<\/style>\n<p>\n<label class=\"\"><input checked=\"\" type=\"checkbox\" id=\"editmode\"><span class=\"switch\"><\/span><\/label>\n<label class=\"toggle\"><input checked=\"\" type=\"checkbox\" id=\"editmode\"><span class=\"switch\"><\/span><\/label>\n<label class=\"onoff\"><input checked=\"\" type=\"checkbox\" id=\"editmode\"><span class=\"switch\"><\/span><\/label>\n<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5de6\u304b\u3089\u300c\u7121\u52a0\u5de5\u306a\u30c1\u30a7\u30c3\u30af\u30dc\u30c3\u30af\u30b9\u300d\u300c:has()\u3092\u4f7f\u3063\u305f\u30c8\u30b0\u30eb\u30dc\u30bf\u30f3\u300d\u300chas\u304c\u4f7f\u3048\u306a\u3044\u306e\u3067\u3068\u308a\u3042\u3048\u305a\u540c\u3058HTML\u3067\u30aa\u30f3\u30aa\u30d5\u5207\u308a\u66ff\u3048\u308c\u308b\u3088\u3046\u306b\u3060\u3051\u3057\u305f\u3082\u306e\u300d\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u8ffd\u4f38<\/strong><br>firefox\u30822023\u5e7412\u670819\u65e5\u4ee5\u964d\u300c:has()\u300d\u304c\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u3082\u3088\u3046\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30c8\u30b0\u30eb\u30dc\u30bf\u30f3\u304c\u5fc5\u8981\u3060\u3063\u305f\u306e\u3067\u3001checkbox\u3092\u4f7f\u3063\u3066\u3054\u306b\u3087\u3054\u306b\u3087\u3059\u308b\u306e\u306b\u304b\u306a\u308a\u8907\u96d1\u306b\u7d44\u307e\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u306e\u3067\u30a4\u30e4\u3060\u306a\u3068\u601d\u3063\u3066\u305d\u3046\u3044\u3048\u3070\u7d50\u69cb\u524d\u306b\u5642\u306b\u306a\u3063\u3066\u305f:has\u3063\u3066\u4f7f\u3048\u308b\u3093\u3058\u3083\u7121\u3044\u304b\uff1f\u3068\u3084\u3063\u3066\u307f\u305f\u3051\u3069\u5168\u7136\u52d5\u304b\u306a\u3044\u3001\u30b5\u30f3<\/p>\n","protected":false},"author":2,"featured_media":2721,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[205],"tags":[35],"class_list":["post-2715","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-creatorsdiary","tag-css"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u30c8\u30b0\u30eb\u30dc\u30bf\u30f3\u304c\u5fc5\u8981\u3060\u3063\u305f\u306e\u3067\u3001checkbox\u3092\u4f7f\u3063\u3066\u3054\u306b\u3087\u3054\u306b\u3087\u3059\u308b\u306e\u306b\u304b\u306a\u308a\u8907\u96d1\u306b\u7d44\u307e\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u306e\u3067\u30a4\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"uda2\"\/>\n\t<meta name=\"keywords\" content=\"css\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/uda2.com\/blog\/css_has\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\n\t\t<!-- Global site tag (gtag.js) - Google Analytics -->\n<script async src=\"https:\/\/www.googletagmanager.com\/gtag\/js?id=G-PEC0Y4Y4KL\"><\/script>\n<script>\n  window.dataLayer = window.dataLayer || [];\n  function gtag(){dataLayer.push(arguments);}\n  gtag('js', new Date());\n\n  gtag('config', 'G-PEC0Y4Y4KL');\n<\/script>\n\t\t<meta property=\"og:locale\" content=\"ja_JP\" \/>\n\t\t<meta property=\"og:site_name\" content=\"\u30a6\u30c02Blog\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"CSS\u306e:has()\u7591\u4f3c\u30af\u30e9\u30b9\u3063\u3066\u307e\u3060\u306a\u3093\uff1f | \u30a6\u30c02Blog\" \/>\n\t\t<meta property=\"og:description\" content=\"\u30c8\u30b0\u30eb\u30dc\u30bf\u30f3\u304c\u5fc5\u8981\u3060\u3063\u305f\u306e\u3067\u3001checkbox\u3092\u4f7f\u3063\u3066\u3054\u306b\u3087\u3054\u306b\u3087\u3059\u308b\u306e\u306b\u304b\u306a\u308a\u8907\u96d1\u306b\u7d44\u307e\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u306e\u3067\u30a4\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/uda2.com\/blog\/css_has\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/uda2.com\/blog\/wp-content\/uploads\/css_has.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/uda2.com\/blog\/wp-content\/uploads\/css_has.png\" \/>\n\t\t<meta property=\"og:image:width\" content=\"784\" \/>\n\t\t<meta property=\"og:image:height\" content=\"313\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2023-09-16T06:08:45+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2024-01-18T00:12:48+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"CSS\u306e:has()\u7591\u4f3c\u30af\u30e9\u30b9\u3063\u3066\u307e\u3060\u306a\u3093\uff1f | \u30a6\u30c02Blog\" \/>\n\t\t<meta name=\"twitter:description\" content=\"\u30c8\u30b0\u30eb\u30dc\u30bf\u30f3\u304c\u5fc5\u8981\u3060\u3063\u305f\u306e\u3067\u3001checkbox\u3092\u4f7f\u3063\u3066\u3054\u306b\u3087\u3054\u306b\u3087\u3059\u308b\u306e\u306b\u304b\u306a\u308a\u8907\u96d1\u306b\u7d44\u307e\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u306e\u3067\u30a4\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/uda2.com\/blog\/wp-content\/uploads\/css_has.png\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/uda2.com\\\/blog\\\/css_has\\\/#article\",\"name\":\"CSS\\u306e:has()\\u7591\\u4f3c\\u30af\\u30e9\\u30b9\\u3063\\u3066\\u307e\\u3060\\u306a\\u3093\\uff1f | \\u30a6\\u30c02Blog\",\"headline\":\"CSS\\u306e:has()\\u7591\\u4f3c\\u30af\\u30e9\\u30b9\\u3063\\u3066\\u307e\\u3060\\u306a\\u3093\\uff1f\",\"author\":{\"@id\":\"https:\\\/\\\/uda2.com\\\/blog\\\/author\\\/uda2\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/uda2.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/uda2.com\\\/blog\\\/wp-content\\\/uploads\\\/css_has.png\",\"width\":784,\"height\":313},\"datePublished\":\"2023-09-16T15:08:45+09:00\",\"dateModified\":\"2024-01-18T09:12:48+09:00\",\"inLanguage\":\"ja\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/uda2.com\\\/blog\\\/css_has\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/uda2.com\\\/blog\\\/css_has\\\/#webpage\"},\"articleSection\":\"\\u5236\\u4f5c\\u65e5\\u8a18, CSS\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/uda2.com\\\/blog\\\/css_has\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/uda2.com\\\/blog#listItem\",\"position\":1,\"name\":\"\\u30db\\u30fc\\u30e0\",\"item\":\"https:\\\/\\\/uda2.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/uda2.com\\\/blog\\\/category\\\/creatorsdiary\\\/#listItem\",\"name\":\"\\u5236\\u4f5c\\u65e5\\u8a18\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/uda2.com\\\/blog\\\/category\\\/creatorsdiary\\\/#listItem\",\"position\":2,\"name\":\"\\u5236\\u4f5c\\u65e5\\u8a18\",\"item\":\"https:\\\/\\\/uda2.com\\\/blog\\\/category\\\/creatorsdiary\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/uda2.com\\\/blog\\\/css_has\\\/#listItem\",\"name\":\"CSS\\u306e:has()\\u7591\\u4f3c\\u30af\\u30e9\\u30b9\\u3063\\u3066\\u307e\\u3060\\u306a\\u3093\\uff1f\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/uda2.com\\\/blog#listItem\",\"name\":\"\\u30db\\u30fc\\u30e0\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/uda2.com\\\/blog\\\/css_has\\\/#listItem\",\"position\":3,\"name\":\"CSS\\u306e:has()\\u7591\\u4f3c\\u30af\\u30e9\\u30b9\\u3063\\u3066\\u307e\\u3060\\u306a\\u3093\\uff1f\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/uda2.com\\\/blog\\\/category\\\/creatorsdiary\\\/#listItem\",\"name\":\"\\u5236\\u4f5c\\u65e5\\u8a18\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/uda2.com\\\/blog\\\/#organization\",\"name\":\"\\u30a6\\u30c02Blog\",\"description\":\"\\u5927\\u962a\\u3067\\u30d5\\u30ea\\u30fc\\u30e9\\u30f3\\u30b9\\u3068\\u3057\\u3066WEB\\u5236\\u4f5c\\u3057\\u3066\\u3044\\u308b\\u7ba1\\u7406\\u4eba\\u304c\\u6c17\\u306b\\u306a\\u3063\\u305f\\u6280\\u8853\\u3092\\u30e1\\u30e2\\u3063\\u305f\\u308a\\u3001\\u4f5c\\u3063\\u305f\\u30c4\\u30fc\\u30eb\\u306e\\u7d39\\u4ecb\\u306a\\u3069\\u3092\\u7db4\\u3063\\u3066\\u3044\\u308b\\u30d6\\u30ed\\u30b0\\u3067\\u3059\\u3002\",\"url\":\"https:\\\/\\\/uda2.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/uda2.com\\\/blog\\\/author\\\/uda2\\\/#author\",\"url\":\"https:\\\/\\\/uda2.com\\\/blog\\\/author\\\/uda2\\\/\",\"name\":\"uda2\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/uda2.com\\\/blog\\\/css_has\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e71f43b9e5830ff1e243e7edc1de9530ebe46766d3add1ef213a72c35c0a7c98?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"uda2\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/uda2.com\\\/blog\\\/css_has\\\/#webpage\",\"url\":\"https:\\\/\\\/uda2.com\\\/blog\\\/css_has\\\/\",\"name\":\"CSS\\u306e:has()\\u7591\\u4f3c\\u30af\\u30e9\\u30b9\\u3063\\u3066\\u307e\\u3060\\u306a\\u3093\\uff1f | \\u30a6\\u30c02Blog\",\"description\":\"\\u30c8\\u30b0\\u30eb\\u30dc\\u30bf\\u30f3\\u304c\\u5fc5\\u8981\\u3060\\u3063\\u305f\\u306e\\u3067\\u3001checkbox\\u3092\\u4f7f\\u3063\\u3066\\u3054\\u306b\\u3087\\u3054\\u306b\\u3087\\u3059\\u308b\\u306e\\u306b\\u304b\\u306a\\u308a\\u8907\\u96d1\\u306b\\u7d44\\u307e\\u306a\\u3044\\u3068\\u3044\\u3051\\u306a\\u3044\\u306e\\u3067\\u30a4\",\"inLanguage\":\"ja\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/uda2.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/uda2.com\\\/blog\\\/css_has\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/uda2.com\\\/blog\\\/author\\\/uda2\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/uda2.com\\\/blog\\\/author\\\/uda2\\\/#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/uda2.com\\\/blog\\\/wp-content\\\/uploads\\\/css_has.png\",\"@id\":\"https:\\\/\\\/uda2.com\\\/blog\\\/css_has\\\/#mainImage\",\"width\":784,\"height\":313},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/uda2.com\\\/blog\\\/css_has\\\/#mainImage\"},\"datePublished\":\"2023-09-16T15:08:45+09:00\",\"dateModified\":\"2024-01-18T09:12:48+09:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/uda2.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/uda2.com\\\/blog\\\/\",\"name\":\"\\u30a6\\u30c02Blog\",\"description\":\"\\u5927\\u962a\\u3067\\u30d5\\u30ea\\u30fc\\u30e9\\u30f3\\u30b9\\u3068\\u3057\\u3066WEB\\u5236\\u4f5c\\u3057\\u3066\\u3044\\u308b\\u7ba1\\u7406\\u4eba\\u304c\\u6c17\\u306b\\u306a\\u3063\\u305f\\u6280\\u8853\\u3092\\u30e1\\u30e2\\u3063\\u305f\\u308a\\u3001\\u4f5c\\u3063\\u305f\\u30c4\\u30fc\\u30eb\\u306e\\u7d39\\u4ecb\\u306a\\u3069\\u3092\\u7db4\\u3063\\u3066\\u3044\\u308b\\u30d6\\u30ed\\u30b0\\u3067\\u3059\\u3002\",\"inLanguage\":\"ja\",\"publisher\":{\"@id\":\"https:\\\/\\\/uda2.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"CSS\u306e:has()\u7591\u4f3c\u30af\u30e9\u30b9\u3063\u3066\u307e\u3060\u306a\u3093\uff1f | \u30a6\u30c02Blog","description":"\u30c8\u30b0\u30eb\u30dc\u30bf\u30f3\u304c\u5fc5\u8981\u3060\u3063\u305f\u306e\u3067\u3001checkbox\u3092\u4f7f\u3063\u3066\u3054\u306b\u3087\u3054\u306b\u3087\u3059\u308b\u306e\u306b\u304b\u306a\u308a\u8907\u96d1\u306b\u7d44\u307e\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u306e\u3067\u30a4","canonical_url":"https:\/\/uda2.com\/blog\/css_has\/","robots":"max-image-preview:large","keywords":"css","webmasterTools":{"miscellaneous":"&lt;!-- Global site tag (gtag.js) - Google Analytics --&gt;\n&lt;script async src=\"https:\/\/www.googletagmanager.com\/gtag\/js?id=G-PEC0Y4Y4KL\"&gt;&lt;\/script&gt;\n&lt;script&gt;\n&nbsp; window.dataLayer = window.dataLayer || [];\n&nbsp; function gtag(){dataLayer.push(arguments);}\n&nbsp; gtag('js', new Date());\n\n&nbsp; gtag('config', 'G-PEC0Y4Y4KL');\n&lt;\/script&gt;"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/uda2.com\/blog\/css_has\/#article","name":"CSS\u306e:has()\u7591\u4f3c\u30af\u30e9\u30b9\u3063\u3066\u307e\u3060\u306a\u3093\uff1f | \u30a6\u30c02Blog","headline":"CSS\u306e:has()\u7591\u4f3c\u30af\u30e9\u30b9\u3063\u3066\u307e\u3060\u306a\u3093\uff1f","author":{"@id":"https:\/\/uda2.com\/blog\/author\/uda2\/#author"},"publisher":{"@id":"https:\/\/uda2.com\/blog\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/uda2.com\/blog\/wp-content\/uploads\/css_has.png","width":784,"height":313},"datePublished":"2023-09-16T15:08:45+09:00","dateModified":"2024-01-18T09:12:48+09:00","inLanguage":"ja","mainEntityOfPage":{"@id":"https:\/\/uda2.com\/blog\/css_has\/#webpage"},"isPartOf":{"@id":"https:\/\/uda2.com\/blog\/css_has\/#webpage"},"articleSection":"\u5236\u4f5c\u65e5\u8a18, CSS"},{"@type":"BreadcrumbList","@id":"https:\/\/uda2.com\/blog\/css_has\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/uda2.com\/blog#listItem","position":1,"name":"\u30db\u30fc\u30e0","item":"https:\/\/uda2.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/uda2.com\/blog\/category\/creatorsdiary\/#listItem","name":"\u5236\u4f5c\u65e5\u8a18"}},{"@type":"ListItem","@id":"https:\/\/uda2.com\/blog\/category\/creatorsdiary\/#listItem","position":2,"name":"\u5236\u4f5c\u65e5\u8a18","item":"https:\/\/uda2.com\/blog\/category\/creatorsdiary\/","nextItem":{"@type":"ListItem","@id":"https:\/\/uda2.com\/blog\/css_has\/#listItem","name":"CSS\u306e:has()\u7591\u4f3c\u30af\u30e9\u30b9\u3063\u3066\u307e\u3060\u306a\u3093\uff1f"},"previousItem":{"@type":"ListItem","@id":"https:\/\/uda2.com\/blog#listItem","name":"\u30db\u30fc\u30e0"}},{"@type":"ListItem","@id":"https:\/\/uda2.com\/blog\/css_has\/#listItem","position":3,"name":"CSS\u306e:has()\u7591\u4f3c\u30af\u30e9\u30b9\u3063\u3066\u307e\u3060\u306a\u3093\uff1f","previousItem":{"@type":"ListItem","@id":"https:\/\/uda2.com\/blog\/category\/creatorsdiary\/#listItem","name":"\u5236\u4f5c\u65e5\u8a18"}}]},{"@type":"Organization","@id":"https:\/\/uda2.com\/blog\/#organization","name":"\u30a6\u30c02Blog","description":"\u5927\u962a\u3067\u30d5\u30ea\u30fc\u30e9\u30f3\u30b9\u3068\u3057\u3066WEB\u5236\u4f5c\u3057\u3066\u3044\u308b\u7ba1\u7406\u4eba\u304c\u6c17\u306b\u306a\u3063\u305f\u6280\u8853\u3092\u30e1\u30e2\u3063\u305f\u308a\u3001\u4f5c\u3063\u305f\u30c4\u30fc\u30eb\u306e\u7d39\u4ecb\u306a\u3069\u3092\u7db4\u3063\u3066\u3044\u308b\u30d6\u30ed\u30b0\u3067\u3059\u3002","url":"https:\/\/uda2.com\/blog\/"},{"@type":"Person","@id":"https:\/\/uda2.com\/blog\/author\/uda2\/#author","url":"https:\/\/uda2.com\/blog\/author\/uda2\/","name":"uda2","image":{"@type":"ImageObject","@id":"https:\/\/uda2.com\/blog\/css_has\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/e71f43b9e5830ff1e243e7edc1de9530ebe46766d3add1ef213a72c35c0a7c98?s=96&d=mm&r=g","width":96,"height":96,"caption":"uda2"}},{"@type":"WebPage","@id":"https:\/\/uda2.com\/blog\/css_has\/#webpage","url":"https:\/\/uda2.com\/blog\/css_has\/","name":"CSS\u306e:has()\u7591\u4f3c\u30af\u30e9\u30b9\u3063\u3066\u307e\u3060\u306a\u3093\uff1f | \u30a6\u30c02Blog","description":"\u30c8\u30b0\u30eb\u30dc\u30bf\u30f3\u304c\u5fc5\u8981\u3060\u3063\u305f\u306e\u3067\u3001checkbox\u3092\u4f7f\u3063\u3066\u3054\u306b\u3087\u3054\u306b\u3087\u3059\u308b\u306e\u306b\u304b\u306a\u308a\u8907\u96d1\u306b\u7d44\u307e\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u306e\u3067\u30a4","inLanguage":"ja","isPartOf":{"@id":"https:\/\/uda2.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/uda2.com\/blog\/css_has\/#breadcrumblist"},"author":{"@id":"https:\/\/uda2.com\/blog\/author\/uda2\/#author"},"creator":{"@id":"https:\/\/uda2.com\/blog\/author\/uda2\/#author"},"image":{"@type":"ImageObject","url":"https:\/\/uda2.com\/blog\/wp-content\/uploads\/css_has.png","@id":"https:\/\/uda2.com\/blog\/css_has\/#mainImage","width":784,"height":313},"primaryImageOfPage":{"@id":"https:\/\/uda2.com\/blog\/css_has\/#mainImage"},"datePublished":"2023-09-16T15:08:45+09:00","dateModified":"2024-01-18T09:12:48+09:00"},{"@type":"WebSite","@id":"https:\/\/uda2.com\/blog\/#website","url":"https:\/\/uda2.com\/blog\/","name":"\u30a6\u30c02Blog","description":"\u5927\u962a\u3067\u30d5\u30ea\u30fc\u30e9\u30f3\u30b9\u3068\u3057\u3066WEB\u5236\u4f5c\u3057\u3066\u3044\u308b\u7ba1\u7406\u4eba\u304c\u6c17\u306b\u306a\u3063\u305f\u6280\u8853\u3092\u30e1\u30e2\u3063\u305f\u308a\u3001\u4f5c\u3063\u305f\u30c4\u30fc\u30eb\u306e\u7d39\u4ecb\u306a\u3069\u3092\u7db4\u3063\u3066\u3044\u308b\u30d6\u30ed\u30b0\u3067\u3059\u3002","inLanguage":"ja","publisher":{"@id":"https:\/\/uda2.com\/blog\/#organization"}}]},"og:locale":"ja_JP","og:site_name":"\u30a6\u30c02Blog","og:type":"article","og:title":"CSS\u306e:has()\u7591\u4f3c\u30af\u30e9\u30b9\u3063\u3066\u307e\u3060\u306a\u3093\uff1f | \u30a6\u30c02Blog","og:description":"\u30c8\u30b0\u30eb\u30dc\u30bf\u30f3\u304c\u5fc5\u8981\u3060\u3063\u305f\u306e\u3067\u3001checkbox\u3092\u4f7f\u3063\u3066\u3054\u306b\u3087\u3054\u306b\u3087\u3059\u308b\u306e\u306b\u304b\u306a\u308a\u8907\u96d1\u306b\u7d44\u307e\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u306e\u3067\u30a4","og:url":"https:\/\/uda2.com\/blog\/css_has\/","og:image":"https:\/\/uda2.com\/blog\/wp-content\/uploads\/css_has.png","og:image:secure_url":"https:\/\/uda2.com\/blog\/wp-content\/uploads\/css_has.png","og:image:width":784,"og:image:height":313,"article:published_time":"2023-09-16T06:08:45+00:00","article:modified_time":"2024-01-18T00:12:48+00:00","twitter:card":"summary","twitter:title":"CSS\u306e:has()\u7591\u4f3c\u30af\u30e9\u30b9\u3063\u3066\u307e\u3060\u306a\u3093\uff1f | \u30a6\u30c02Blog","twitter:description":"\u30c8\u30b0\u30eb\u30dc\u30bf\u30f3\u304c\u5fc5\u8981\u3060\u3063\u305f\u306e\u3067\u3001checkbox\u3092\u4f7f\u3063\u3066\u3054\u306b\u3087\u3054\u306b\u3087\u3059\u308b\u306e\u306b\u304b\u306a\u308a\u8907\u96d1\u306b\u7d44\u307e\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u306e\u3067\u30a4","twitter:image":"https:\/\/uda2.com\/blog\/wp-content\/uploads\/css_has.png"},"aioseo_meta_data":{"post_id":"2715","title":null,"description":null,"keywords":[],"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":[],"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2023-09-16 04:35:40","updated":"2024-01-18 00:12:48","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/uda2.com\/blog\" title=\"\u30db\u30fc\u30e0\">\u30db\u30fc\u30e0<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/uda2.com\/blog\/category\/creatorsdiary\/\" title=\"\u5236\u4f5c\u65e5\u8a18\">\u5236\u4f5c\u65e5\u8a18<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tCSS\u306e:has()\u7591\u4f3c\u30af\u30e9\u30b9\u3063\u3066\u307e\u3060\u306a\u3093\uff1f\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"\u30db\u30fc\u30e0","link":"https:\/\/uda2.com\/blog"},{"label":"\u5236\u4f5c\u65e5\u8a18","link":"https:\/\/uda2.com\/blog\/category\/creatorsdiary\/"},{"label":"CSS\u306e:has()\u7591\u4f3c\u30af\u30e9\u30b9\u3063\u3066\u307e\u3060\u306a\u3093\uff1f","link":"https:\/\/uda2.com\/blog\/css_has\/"}],"_links":{"self":[{"href":"https:\/\/uda2.com\/blog\/wp-json\/wp\/v2\/posts\/2715","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/uda2.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/uda2.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/uda2.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/uda2.com\/blog\/wp-json\/wp\/v2\/comments?post=2715"}],"version-history":[{"count":6,"href":"https:\/\/uda2.com\/blog\/wp-json\/wp\/v2\/posts\/2715\/revisions"}],"predecessor-version":[{"id":2750,"href":"https:\/\/uda2.com\/blog\/wp-json\/wp\/v2\/posts\/2715\/revisions\/2750"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/uda2.com\/blog\/wp-json\/wp\/v2\/media\/2721"}],"wp:attachment":[{"href":"https:\/\/uda2.com\/blog\/wp-json\/wp\/v2\/media?parent=2715"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/uda2.com\/blog\/wp-json\/wp\/v2\/categories?post=2715"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/uda2.com\/blog\/wp-json\/wp\/v2\/tags?post=2715"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}