ãã¥ã¼ãã¼ãã使ã£ãåä½ï¼vw, vhãªã©ï¼ã¯ãç¹ã«ã¹ããã®åãã©ã¦ã¶ã«ããã¦è¤éã§ããä¾ãã°ãvwã®ã¹ã¯ãã¼ã«ãã¼ãèæ ®ããå¿ è¦ãããã¾ããï¼ ãµã¤ãã®ããã²ã¼ã·ã§ã³ããã¼ã¸ã³ã³ããã¼ã«ã¯ã©ãã§ããããï¼ ãããã¯è¨ç®ã«å«ã¾ãã¾ããï¼ ã¹ããã§è¦ç´ ããã¥ã¼ãã¼ãã®é«ããã£ã±ãã«è¡¨ç¤ºãããã®ã«ãæå¾ éãã«è¡¨ç¤ºãããªãæã®è§£æ±ºæ¹æ³ãç´¹ä»ãã¾ãã The trick to viewport units on mobile ä¸è¨ã¯åãã¤ã³ããæ訳ãããã®ã§ãã â»å½ããã°ã§ã®ç¿»è¨³è¨äºã¯ãå ãµã¤ãæ§ã«ã©ã¤ã»ã³ã¹ãå¾ã¦ç¿»è¨³ãã¦ãã¾ãã ãã¥ã¼ãã¼ãã®é«ãï¼vhï¼ã®ä»æ§ é«ããã£ã±ãã®è¦ç´ ã表示ããæ¹æ³ ãã¥ã¼ãã¼ãã®ãªãµã¤ãºã«ã対å¿ãã ãã¥ã¼ãã¼ãã®é«ãï¼vhï¼ã®ä»æ§ W3Cã®ä»æ§ã§ã¯ããã¥ã¼ãã¼ãã®åä½ãã©ã®ããã«è¨ç®ãããã¯æ¼ ç¶ã¨ãã¦ãã¾ããã¹ããã§ã¯é«ããéè¦ã«ãªããã¨ãå¤ãã®ã§ããã¥ã¼ãã¼
![[CSS]ã¹ããã§è¦ç´ ãé«ããã£ã±ãã«è¡¨ç¤ºãããã®ã«ãæå¾
éãã«è¡¨ç¤ºãããªãæã®è§£æ±ºæ¹æ³](https://cdn-ak-scissors.b.st-hatena.com/image/square/8a5cf0a3bb9540d4d9f77cfb193ce39e28e90836/height=288;version=1;width=512/https%3A%2F%2Fcoliss.com%2Fwp-content%2Fuploads-201803%2F2018080401-02.png)
{{#tags}}- {{label}}
{{/tags}}