CSSã§ID使ãã®è¯ããªãâ¦â¦ã©ããããID使ãã®ã¯ã´ãã¯ãºã«ã¹ã¿ãããªé¢¨æ½®ã§è¾ãããã®æ ¹æ ã¯ããã¤ãããããããã¯CSSã ãããã ãã®ã¾ã¾æ¸ãå ´åã«ã¯ç´å¾åºæ¥ãªããã¨ããªãããªã¼ã¨æãã®ã§ä½è¨ã«è¾ããç¹ã«OOCSSã®ãããªã¢ããã¼ãã§ã¯IDã¯æ··ãããªå±éºãã ããã¨ãã£ã¦IDã使ããªãã®ããã¹ãã»ãã©ã¯ãã£ã¹ãªãããããªãã CSS Lintã®å©ç¨ãåºã¾ãããããID使ããªã£ã¦æãã®ãåå ã®ä¸ç«¯ãªæ°ããããDisallow IDs in selectorsã§ã¯IDã®åé¡ç¹ã¨ãã¦ä»¥ä¸ã®ãããªãã®ãåãä¸ãã¦ããã However, IDs have a downside: they are completely unique and therefore cannot be reused. ã¤ã¾ãã¦ãã¼ã¯ãªããåå©ç¨ã§ããªãã¨ãããã¤ãã¹ã®é¢ããããã¨ã確ãã«åå©ç¨ã§ããªããã§ãããã¯ãã¤ãã¹
{{#tags}}- {{label}}
{{/tags}}