CSSã®:has()çä¼¼ã¯ã©ã¹ã主è¦ãã©ã¦ã¶ã§ãµãã¼ããããåãã§ãã人ãå¤ãã¨æãã¾ããä»ã¾ã§ã¯JavaScriptã使ç¨ããªããã°ã§ããªãã£ããã¨ãã:has()çä¼¼ã¯ã©ã¹ã使ç¨ããã¨ãã¾ãã¾ãªã»ã¬ã¯ã¿ãæ¡ä»¶å¼ã®ããã«è¨è¿°ã§ãã¾ãã ãã¨ãã°ãåã«ç»åãããå ´åã¨ãªãå ´åãåã®æ°ãå¥æ°ã®å ´åã¨å¶æ°ã®å ´åãã»ã¬ã¯ã¿ã追å ãããå¤æ´ãããã¨ãªãæå®ã§ãã¾ããã¾ããã³ã³ãã³ãããã©ã¼ã ãªã©ã«ã便å©ãªä½¿ãæ¹ãããããããã¾ãã :has(): the family selector by Jhey Tompkins ä¸è¨ã¯åãã¤ã³ããæ訳ãããã®ã§ãã â»å ãµã¤ãæ§ã®ã©ã¤ã»ã³ã¹ã«åºã¥ãã¦ç¿»è¨³ãã¦ãã¾ããåºã¥ãã¦ã¨ããã®ã¯ãè²¢ç®é¨åã«é¢ãã¦åã©ã¤ã»ã³ã¹ãå«ã¿ã¾ãã å æ¥ãªãªã¼ã¹ãããChrome 105, Edge 105ã§:has()çä¼¼ã¯ã©ã¹ã¯ãµãã¼ããããã³ã³ããã¯ã¨ãªï¼@containe
{{#tags}}- {{label}}
{{/tags}}