å¹ ãã£ã±ãã®è¦ç´ ããå·¦å³ã®ãã¼ã¸ã³ãå¼ãããã¨ãã«ãããããCSSã使ç¨ããã¨æãã¾ããwidth: calc(100% - 48px); 便å©ãªCSSã§ããããã¼ã¸ã³ãè¨ç®ããå¿ è¦ãããããã¶ã¤ã³ã®å¤æ´ããã£ãéã¯CSSãå¤æ´ããå¿ è¦ãããã¾ãã ããã§stretchãã¼ã¯ã¼ãã使ç¨ããã¨ã便å©ã§ããè¦ç´ ã¯ãªã¼ãã¼ããã¼ããã«ä½¿ç¨å¯è½ãªã¹ãã¼ã¹ãã£ã±ãã«è¡¨ç¤ºããããã¼ã¸ã³ã®è¨ç®ãå¿ è¦ãªããªãã¾ãã The stretch keyword: a better alternative to width: 100% in CSS? by Ollie Williams ä¸è¨ã¯åãã¤ã³ããæ訳ãããã®ã§ãã â»å½ããã°ã§ã®ç¿»è¨³è¨äºã¯ãå ãµã¤ãæ§ã«ã©ã¤ã»ã³ã¹ãå¾ã¦ç¿»è¨³ãã¦ãã¾ãã ã¯ããã« width: 100%;ã便å©ãªä¾ width: stretch;ã®ä½¿ãæ¹ stretchã®ãµãã¼ããã©ã¦ã¶
{{#tags}}- {{label}}
{{/tags}}