å
æ¥ã®è¨äºããã©ã³ããµã¤ãºã®æå®æ¹æ³ï¼ç¿»è¨³çï¼ãã§ãCSSã®æ¯è¼çæ°ããåä½ããã¥ã¼ãã¼ãã®åä½(Viewport Units)ãã«ã¤ãã¦è§¦ãã¾ããããã®åä½ãvw, vh, vmin, vmaxãã¯ãã©ã¦ã¶ã®ãã¥ã¼ãã¼ãã®ãµã¤ãºã«åºã¥ããã®ã§ããããã®åä½ã§æå®ããå®éã®å¤§ããã¯ãã¥ã¼ãã¼ãã®å¤§ããã«ãã£ã¦å¤åãããããã¬ã¹ãã³ã·ããã¶ã¤ã³ã«ãã£ãåä½ã¨è¨ããã§ãããã ãããã®åä½ã使ããã¨ã¯ããã©ã³ããµã¤ãºã®æå®æ¹æ³ãã§ãã©ã³ããµã¤ãºã«ä½¿ããã¨ãå対ãã¾ããããã¬ã¤ã¢ã¦ãã§ã¯é常ã«å½¹ç«ã¤åä½ã§ãã Viewport vs. Percentage Units ä¸è¨ã¯åãã¤ã³ããæ訳ãããã®ã§ãã â»å½ããã°ã§ã®ç¿»è¨³è¨äºã¯ãå
ãµã¤ãæ§ã«è¨±å¯ãå¾ã¦ç¿»è¨³ãã¦ãã¾ãã ãã¥ã¼ãã¼ãã®åä½(Viewport Units)ã¨ã¯ è¦ç´ ãå¹
ãã£ã±ãã«æå® (% > vw) è¦ç´ ãé«ããã£ã±ãã«æå® (
{{#tags}}- {{label}}
{{/tags}}