2010幎7æã«ãSmashingãã¬ãžã³ã®èšäºãCSS3ã¡ãã£ã¢ã¯ãšãªã䜿çšããŠãµã€ãã®ã¢ãã€ã«ããŒãžã§ã³ãäœæããæ¹æ³ããå·çããŸãã ã ã»ãŒ8幎åŸããã®èšäºã¯ãŸã éåžžã«äººæ°ããããŸãã FlexboxãCSSã°ãªãããªã©ã®ã¬ã€ã¢ãŠãã¡ãœãããããããããã®ãããã¯ã«æ»ãããšã«ããŸããã ãã®èšäºã§ã¯ãã¬ã¹ãã³ã·ããã¶ã€ã³ã§ã¡ãã£ã¢ã¯ãšãªã䜿çšããææ°ã®æ¹æ³ãšãä»åŸäœãèµ·ãããã«ã€ããŠèª¬æããŸãã
ã¡ãã£ã¢ã¯ãšãªã¯ãŸã£ããå¿ èŠã§ããïŒ
2018幎ã«ã¡ãã£ã¢ã¯ãšãªãäœæããåã«æåã«è¡ãããšã¯ãããã䜿çšãããã©ãããèªåããããšã§ãã ãããŒãã䜿çšããŠã°ãªãããæ§ç¯ããå ŽåãããŒã»ã³ããŒãžã䜿çšããŠåã®ãµã€ãºãèšç®ããããšã«ãããæè»ãªã°ãªãããäœæããŸãã ãããã®å²åã¯ã Fluid Gridsã®èšäºã§èª¬æãããŠããEthan Marcotteã®æ¹æ³ã§èšç®ãããŸãã ãã®æ¹æ³ã¯ãçŸåšãã¬ã¹ãã³ã·ããã¶ã€ã³ããšããŠç¥ãããŠããæè¡ã®åºç€ã圢æããŸããã åã®ãµã€ãºãŸãã¯æ¯çãå€æŽããã«ã¯ãã¡ãã£ã¢ã¯ãšãªã䜿çšããŠãã¬ãŒã¯ãã€ã³ããè¿œå ããããããåå®çŸ©ããå¿ èŠããããŸãã ããŒã»ã³ããŒãžãæäœããããšã«ã¯ä»ã®å¯èœæ§ã¯ãããŸãããåã¯ãå¹ ã®åºãã³ã³ããã§ããããšçãã³ã³ããã§ããããšãåžžã«ããããé 眮ãããŠããã³ã³ããã®ããŒã»ã³ããŒãžã«çãããªããŸãã
FlexboxãCSS Gridãããã³Multi-columnã¬ã€ã¢ãŠãã¯ãã¬ã¹ãã³ã·ããã¶ã€ã³ãšã¯ãã¹ããã€ã¹ãã¶ã€ã³ãçŸå®ãšãªã£ãäžçã§ä»æ§ãèšè¿°ãããŠãããããããã©ã«ãã§é©å¿åã§ãã ããã¯ãã¢ãããã£ãã°ãªããã®äœæã容æã«ããå€ãã®æ©èœãæ¢ã«å«ãŸããŠããããšãæå³ããŸãã
ãã®CodePenã¯ãè€æ°åãFlexboxãããã³ã°ãªããã䜿çšå¯èœãªã¹ããŒã¹ã«åãããŠãµã€ãºãšäœçœ®ãå€æŽããæ¹æ³ã®äŸã瀺ããŸãã ã¡ãã£ã¢ã¯ãšãªã¯ãªããCSSã¯ã»ãšãã©ãããŸããã
ãããã®ã¬ã€ã¢ãŠãæ¹æ³ã®æè»æ§ã䜿çšããŠãã¡ãã£ã¢ã¯ãšãªã䜿çšããã«å©çšå¯èœãªç»é¢ã¹ããŒã¹ã«å¿ããŠç°ãªãæ¹æ³ã§é 眮ãããæè»ãªãããã¯ãäœæã§ããŸãã ããšãã°ãã¹ããŒã¹ãéãããŠããå Žåã¯åãšããŠè¡šç€ºããååãªã¹ããŒã¹ãããå Žåã¯æååãšããŠè¡šç€ºããã¡ãã£ã¢ãªããžã§ã¯ãã ããã¯ãã»ãã®æ°è¡ã®CSSã§å®çŸã§ããŸãã
èŠçŽ ã®ãã¬ãã¯ã¹ããŒã¹ã250pxã§ãããšããŸãã 2ã€ã®250pxåã®ã¹ããŒã¹ããªãå Žåãåã¯äžåã«äžŠã³ãæ£ã®flex-growãèšå®ãããšãå©çšå¯èœãªãã¹ãŠã®ã¹ããŒã¹ãåããŸãã
.media { display: flex; flex-wrap: wrap; } .media > * { flex: 1 1 250px; }
2åã衚瀺ããã®ã«ååãªã¹ããŒã¹ãããå Žå
åäžåã³ã³ãã³ã
Flexboxã䜿çšããæ©èœã®1ã€ã¯ããããã¯ã«äœ¿çšã§ããã¹ããŒã¹ããç»é¢ãµã€ãºãŸãã¯äœ¿çšå¯èœãªã¹ããŒã¹ãå°ãªãã³ã³ãããŒã«ãã£ãŠå¶éãããããšã§ãã ã¡ãã£ã¢ã¯ãšãªã¯ãç»é¢å šäœã®äœ¿çšå¯èœãªãµã€ãºã®ã¿ã調ã¹ãããããã®åé¡ã解決ã§ããŸããã ãããã£ãŠãã³ã³ãã³ããäœæããæ°ããæ¹æ³ã«ãããã¡ãã£ã¢ã¯ãšãªã§ã¯äžå¯èœãªããšãå®çŸã§ããŸãã
次ã®äŸã¯ããã¥ãŒããŒãïŒæè»æ§ã確èªããããã«ãŠã£ã³ããŠã®ãµã€ãºãå€æŽããïŒãšã³ã³ããã«ãã£ãŠã³ã³ãã³ããå¶éããæ¹æ³ã瀺ããŠããŸãã
ã°ãªããã®ãã®åäœãååã§ãªãå Žåã«ã®ã¿ãã¡ãã£ã¢ã¯ãšãªã®äœ¿çšãæ€èšãã䟡å€ããããŸãã å€æ°ã®ã¡ãã£ã¢ã¯ãšãªãšCSSã°ãªããã§ãã°ãªãããå®å šã«ãªãŒããŒã©ã€ãã§ããŸãã ã¡ãã£ã¢ã¯ãšãªãšCSSã°ãªããã¯äºãã«å®å šã«è£å®ããŸãã CSSã1è¡äœ¿çšããã ãã§ãã¬ã€ã¢ãŠããå€æŽããããšãªããã°ãªããå ã®èŠçŽ ã®é 眮æ¹æ³ãšå Žæãåå®çŸ©ã§ããŸãã çãå¹ ã®åäžåã¡ãã·ã¥ããå§ããŸãããã
grid { display: grid; grid-gap: 1em; grid-template-columns: 1fr; }
ããåºãã°ãªããã®å Žåãã¡ãã£ã¢ã¯ãšãªã䜿çšããŠåã®æ°ããªãŒããŒã©ã€ãããäžéšã®ãããã¯ãè€æ°ã®é£æ¥ã»ã«ã«ãŸãããããã«ããããã£ãèšå®ããŸãã
@media (min-width: 40em) { .grid { grid-template-columns: 2fr 1fr; } header, footer { grid-column: 1 / 3; } }
é©åã«é©çšãããã¡ãã£ã¢ã¯ãšãªãšæ°ããã¬ã€ã¢ãŠãã¡ãœããã®çµã¿åããã«ãããããããããã€ã¹ã§æé«ã®UXãå®çŸããå€ãã®æ©äŒãåŸãããŸãã ãã®CodePenã§ã¯ãäžèšã®ã°ãªãããšå°ãåã«äœæããã¡ãã£ã¢ãªããžã§ã¯ããçµã¿åãããŸããã ã芧ã®ãšããããã¹ã¯ãããã«ã¯ã³ã³ãã³ãçšã®ååãªã¹ããŒã¹ããããŸãããå©çšå¯èœãªã³ã³ãã³ãé åãçããããšãã¡ãã£ã¢ã¯ãšãªã«ãã£ãŠã°ãªãããå€æãããã¡ãã£ã¢ã¯ãšãªãªãã§ãããã¯ã1ã€ã®åã«åãŸããŸãã
ã¡ãã£ã¢ã«é¢ãããåãåãã-ãã¹ããã©ã¯ãã£ã¹
ã¡ãã£ã¢ã¯ãšãªãå¿ èŠã§ããããšã«å šå¡ãåæãããšæããŸããããããã®äœ¿çšæ¹æ³ã¯æããã«å€åããŠããŸãã 以äžã¯ã2018幎ã«ã¡ãã£ã¢ã¯ãšãªãæ倧éã«äœ¿çšããæ¹æ³ã«é¢ãããã³ãã§ãã
ãããã¯ãŒã¯ã®åæ§ç¯ãå¿ èŠã§ãããšå€æããå Žåãããã€ã¹äžã§ç¯å²ãåºãããã³ã³ãããŒã«ãã€ã³ããè¿œå ããŸã
æåã«ã¡ãã£ã¢ã¯ãšãªã䜿çšãå§ãããšããå¿é ããããã€ã¹ã¯ã»ãšãã©ãããŸããã§ããã ã»ãšãã©ã®äººã¯iPhoneãå¿é ããŠããŸããã ãã ããæ°ãæã®éã«ãããã€ã¹åžå Žãšãã®ããŸããŸãªãµã€ãºãæ¥éã«æ¡å€§ããŸããã åã ã®ããã€ã¹ã«çŠç¹ãåãããã®ã¯æå³ããããŸããã 代ããã«ãã°ãªãããåæ§ç¯ããå¿ èŠãããã³ã³ãããŒã«ãã€ã³ããè¿œå ããŸãã ã¢ãã€ã«ãã¶ã€ã³ã§ãã©ãŠã¶ãŠã£ã³ããŠãæ¡å€§ãããšãããã¹ãã®è¡ãé·ããªããããŸãã èªãã®ãäžå¿«ã«ãªã£ãããšã«æ°ä»ããŸãããïŒ ãã®æç¹ã§ããã®å¹ ã§ãã¡ãã£ã¢ã¯ãšãªãè¿œå ããããã€ãã®è¿œå ã®CSSããããã£ãèšè¿°ã§ããŸãã
ãããã£ãŠãç»é¢ãµã€ãºããã®ã³ã³ãããŒã«ãã€ã³ããããå°ããããã€ã¹ã¯ãã¢ãã€ã«ããã€ã¹çšã®ã°ãªãããåãåãã倧ããããã€ã¹ã¯ãå©çšå¯èœãªãã¹ãŠã®æ°Žå¹³ãŠã£ã³ããŠã¹ããŒã¹ã䜿çšããã°ãªããã«ãªããŸãã ããã€ã¹ãiPhoneãSamsungã¹ããŒããã©ã³ããŸãã¯ãã©ãŠã¶ãŠã£ã³ããŠã§éã¶Webãã¶ã€ããŒã§ãããã©ããã¯é¢ä¿ãããŸããã
ãã¯ã»ã«ã®ã¿ãååšããªã
ã³ã³ãããŒã«ãã€ã³ããäœæãããšãã¯ããã¯ã»ã«ããã®åãæ¿ããæ€èšããŠãã ããã ããã¹ãã®è¡ãé·ãããããšããä»ã®ãšãããã¬ãŒã¯ãã€ã³ããèšå®ããäž»ãªå åã§ãã ãã¯ã»ã«ã®ä»£ããã«emã䜿çšããããšããå§ãããŸããããã«ããããŠãŒã¶ãŒã®ãã©ã³ããµã€ãºãäºæ³ããã倧ããå Žåãé²ãããšãã§ããŸãã
ç¹ã«æ³šæããŠããã¬ãã¯ã¹ãšCSSã°ãªããèŠçŽ ã®é åºãå€æŽããŠãã ãã
CSSã°ãªããã®é£æ¬²ããããæ©èœããããŠããã»ã©ã§ã¯ãªããFlexboxã¯ãç°ãªããã¬ãŒã¯ãã€ã³ãã§ã¢ã€ãã ã䞊ã¹æ¿ããæ©èœã§ãã ãã®æ©èœã¯ãããŒããŒããšããŠã¹ã®ãŠãŒã¶ãŒã«åªããUXãæäŸã§ããŸãã ããããæã䜿ã£ãŠå¶åŸ¡ãããŠãŒã¶ãŒã«ãšã£ãŠãããã¯å€§ããªäžäŸ¿ãããããå¯èœæ§ããããŸãã ç¹ã«ããããã¯åŒ±èŠã®ãŠãŒã¶ãŒã§ãã 圌ãã¯ã¹ã¯ãªãŒã³ãªãŒããŒã䜿çšããŠããŸããã圌ãã¯ãŸã ç»é¢äžã«ãããã®ã®å€ããèŠãããšãã§ããŸãã ããã¯ãããŒããŒããŸãã¯ããŠã¹ãæ以å€ã®ããã€ã¹ã䜿çšããŠç»é¢äžã移åãããŠãŒã¶ãŒã«ãé©çšãããŸãã
ãããã®ãŠãŒã¶ãŒã¯ããªã³ã¯ãããªã³ã¯ãžãšé ããé ãžãšç§»åããããã€ã¹ã¯ç»é¢ã«è¡šç€ºãããé åºã§ã¯ãªããææžãœãŒã¹ã«ãªã¹ããããŠããèŠçŽ ã®é åºã«åŸããŸãã ç°ãªãã³ã³ãããŒã«ãã€ã³ãã§ã³ã³ãã³ãã®é åºãå€æŽããå Žåã¯ãããŒããŒãã䜿çšããŠãµã€ããããã²ãŒãããã®ãããã«äŸ¿å©ããå確èªããŠãã ããã
ã泚æ 詳现ã«ã€ããŠã¯ãèšäºãFlexboxãšããŒããŒãããã²ãŒã·ã§ã³ã®åæããåç §ããŠãã ããã
åçŽã¡ãã£ã¢ãªã¯ãšã¹ããå¿ããªãã§ãã ãã
ã»ãšãã©ã®éçºè ã¯ãã¡ãã£ã¢ã¯ãšãªãããã€ã¹ã®å¹ ã«é¢é£ä»ããŸãã äž»ãªããšã¯ãã³ã³ãã³ãã®ããã€ãã®åã衚瀺ããã®ã«ååãªæ°Žå¹³ã¹ããŒã¹ãæäŸããããšã§ãã ãã ããã¡ãã£ã¢ã¯ãšãªã䜿çšããŠãå©çšå¯èœãªé«ãã確èªããããšãã§ããŸãã
åçŽã¡ãã£ã¢ã¯ãšãªã¯ãããšãã°ãç»é¢ãäžäžã«ã¹ã¯ããŒã«ããã«è€æ°ã®åã®ã³ã³ãã³ãã䞊ã¹ãŠè¡šç€ºããã³è¡šç€ºããã®ã«ååãªé«ãã§ããããšã確èªããå¿ èŠãããå Žåã«åœ¹ç«ã¡ãŸãã 以äžã®CSSã§ã¯ãè€æ°åã®ã°ãªããã¯ã2ã€ã®15emåã«ååãªã¹ããŒã¹ãããå Žåã«ã®ã¿åæ§ç¯ãããŸãã åã®æ§ç¯ãéå§ããã®ã«ååãªé«ããããå Žåã«ãã§ãã¯ããããã«ã min-heightã䜿çšããã¡ãã£ã¢ã¯ãšãªãè¿œå ããŸããã ããã暪åãã¢ãŒãã®å°ããªç»é¢ã®å ŽåããŠãŒã¶ãŒãäžã«ã¹ã¯ããŒã«ããŠèªãããšãã§ããããã«ã1ã€ã®åã®ã¿ã衚瀺ãããŸãã
@media (min-height: 500px) { section { column-width: 15em; } }
ã¡ãã£ã¢ã¯ãšãªã¬ãã«4ïŒäœãæåŸ ããŸããïŒ
ã¬ã¹ãã³ã·ããã¶ã€ã³ã®äœæã«äœ¿çšããã¡ãã£ã¢ã¯ãšãªã¯ã CSSã¬ãã«3ä»æ§ããããããããŸããã æ°ããã¬ãã«4ã¡ãã£ã¢ã¯ãšãªä»æ§ã¯ãCSSã¯ãŒãã³ã°ã°ã«ãŒãã«ãã£ãŠéçºãããŠããŸãã ãã®ä»æ§ã¯æ°ããæ©èœãè¿œå ããããã€ãã®æ§æã®å€æŽãçºçããŸãã ãã¹ãŠãå®è£ ãããŠããããã§ã¯ãªããææ°ã®ãã©ãŠã¶ã§ããã¹ãŠãæ©èœããããã§ã¯ãããŸããããæ°ããä»æ§ã«æ³šæãæããè¿ãå°æ¥ã«äœãèµ·ããããç 究ããå¿ èŠããããŸãã ããã«ãããããŸããŸãªããã€ã¹ãããŸããŸãªåºå圢åŒã§é©åã«æ©èœãããŠãŒã¶ãŒã€ã³ã¿ãŒãã§ã€ã¹ãäœæããæºåãæŽããŸãã
ç»é¢ãµã€ãºã§ã¯ãªãå ¥åããã€ã¹ãå®çŸ©ãã
ç»é¢ãµã€ãºã¯ããŠãŒã¶ãŒã䜿çšããŠããããã€ã¹ãšãã®æäœæ¹æ³ãå€æããããªãç²éãªæ¹æ³ã§ãã ææ°ã®ç»é¢ããã€ã¹ã¯ãéåžžã«åŒ·åãªããã³ã³ãã¥ãŒã¿ãŒã§ãã ãŠãŒã¶ãŒã¯ãç»é¢ãµã€ãºãå°ããå Žåã§ããå€éšããŒããŒããšããŠã¹ã䜿çšããŠé»è©±ã§äœæ¥ã§ããŸãã å°ããªã€ã³ã¿ãŒãã§ãŒã¹èŠçŽ ãã¯ãªãã¯ããããšãã§ããŸãã ããããããã¯å€§ããªç»é¢ãåãã倧ããªã¿ãã¬ããã«ãªãå¯èœæ§ããããŸã-ã¢ãã€ã«çã¯åœŒã«é©ããŠããªãã§ãããã ãã ãããã®ãããªã¿ãã¬ããã®ææè ã¯æããã€ã³ãã£ã³ã°ããã€ã¹ãšããŠäœ¿çšãããããéåžžã®ãã€ã³ãã£ã³ã°ãè¡ãæ¹æ³ããªããæã¯ããŠã¹ãã€ã³ã¿ãŒã»ã©æ£ç¢ºã§ã¯ãããŸããã
以åã¯ããŠãŒã¶ãŒã®ç»é¢ãµã€ãºãç¥ãããšããã§ããŸããã§ããããçŸåšã¯ç¶æ³ãå€å°ç°ãªããŸãã ããã§ããŠãŒã¶ãŒãèŠçŽ ã®äžã«ããŠã¹ã移åã§ãããã©ãããããã³ãã€ã³ã¿ãŒã®ã¿ã€ãïŒæãããŠã¹ãïŒã決å®ã§ããŸãã ãã€ã³ã¿ãŒãšãããŒã®ããããã£ã¯ãããŸããŸãªã¿ã€ãã®ãŠãŒã¶ãŒã®UXãæ¹åããããæ£ç¢ºãªçµ±èšãåéããã®ã«åœ¹ç«ã¡ãŸãã 以äžã®äŸã¯ãChromeãSafariãããã³Edgeã®çŸåšã®ããŒãžã§ã³ã§åäœããŸãã ãã©ãŠã¶ã®ãµããŒãã®å®å šãªãªã¹ãã«ã€ããŠã¯ã 䜿çšã§ããŸãã確èªã§ããŸã ã
以äžã®CodePenã¯ãã¢ãã€ã«ãã©ãŠã¶ãããã¹ãã§ããŸãã contentããããã£ã¯ã䜿çšããŠãããã€ã³ã¿ãŒã®ã¿ã€ãããã§ãã¯ããçµæã衚瀺ããŸãã
@media (pointer:coarse) { .which-pointer::after { content: "You have a coarse pointer, are you on a touchscreen device?"; } } @media (pointer:fine) { .which-pointer::after { content: "You have a fine pointer, are you using a mouse or trackpad?"; } }
ãããŒã§ãããã©ããã確èªããã«ã¯ããããŒæ©èœã®å¯çšæ§ã確èªããŸãã
@media (hover) { .can-i-hover::after { content: "You look like you can hover."; } } @media (hover:none) { .can-i-hover::after { content: "I don't think you can hover."; } }
iPhoneã§ã®ã«ãŒãœã«ãµããŒããšãããŒã¹ããŒã¿ã¹ã®ãã¹ã
CodePenã§ãã¹ãããŠãã ããã
ãŸããã¿ãã¬ãããšã¹ããŒããã©ã³ã§äœ¿çšå¯èœãªãã¹ãŠã®æ©èœã®ãã€ã³ã¿ãŒãšãã³ãããã§ãã¯ããã ä»»æã®ãã€ã³ã¿ãŒãšä»»æã®ãããŒããããã£ããããŸãã ãŠãŒã¶ãŒããã©ã€ããªãã€ã³ãã£ã³ã°ããã€ã¹ããåãæ¿ãããšãUXãäœäžããå¯èœæ§ãããããããããã®ããããã£ã䜿çšããå Žåã¯ååã«æ³šæããå¿ èŠããããŸãã ä»æ§ã¯æ¬¡ã®ãšããã§ãã
ãä»»æã®ãããŒãšä»»æã®ãã€ã³ã¿ãŒã«åºã¥ããŠããŒãžãèšèšãããšãUXãäœäžããå¯èœæ§ããããŸããããã¯ãããããã£ã䜿çšå¯èœãªå ¥åã¡ã«ããºã ã®æåŸã®ã¿ã瀺ããŠããããã§ãã ãã ããäœæè ã¯ãããã®ããããã£ã䜿çšããŠããŠãŒã¶ãŒã䜿çšã§ããè¿œå ã®ãã€ã³ãã£ã³ã°ããã€ã¹ã«åºã¥ããŠãæäŸããæ©èœã決å®ã§ããŸãã
Firefox-ãã©ãŠã¶ã¯ãã®æ©èœã®å®è£ ã«é ãããšã£ãŠããŸãã ãã¡ãããã®ãã°ãžã®ãªã³ã¯ã§ãã ããã«å®å šãªãµããŒãã衚瀺ãããããšãé¡ã£ãŠããŸãã
ã³ã³ãã³ãã®ãªãŒããŒãããŒãšè¡šç€ºå質ã®ã¡ãã£ã¢æ©èœ
Display Quality Media Featuresã®äžéšã§ããããŸã å®è£ ãããŠããªãoverflow-blockããããã£ã䜿çšãããšãã³ã³ãã³ãããªãŒããŒãããŒãããšãã®ãããã¯ã®åäœã確èªã§ããŸãã
ã³ã³ãã³ãããªãŒããŒãããŒãããšãã¡ãã£ã¢ãªã¯ãšã¹ãã¯ç°ãªãã¯ãã§ãã ã¿ãã¬ãããšãã¹ã¯ãããã®ãã®åé¡ã解決ããæšæºçãªæ¹æ³ã¯ãã¹ã¯ããŒã«ãè¿œå ããããšã§ãã ãã ããé»åçæ¿ãªã©ã®äžéšã®ããã€ã¹ã¯ãªãŒããŒãããŒã§ããŸããã ã³ã³ãã³ããå°å·ããå Žåã¯ãPaged MediaããããŸãã
ã³ã³ãã³ãã衚瀺ãããããã€ã¹ã決å®ããã®ã«åœ¹ç«ã€å¥ã®äŸ¿å©ãªããããã£ããããŸã-overflowïŒblock ã ããšãã°ãPaged Mediaã«ã³ã³ãã³ãããããã©ããã確èªããŸãã
@media (overflow-block: paged) { }
æ§æã®å€æŽ
ã¡ãã£ã¢ã¯ãšãª-ç§ãã¡ãç¥ã£ãŠããããã«ãæžé¢ã§ã¯éåžžã«èšå€§ã§ãã ã¡ãã£ã¢ã¯ãšãªã¬ãã«4ã®æ§æãå€æŽãããšãããã«åœ¹ç«ã¡ãŸãã å€ãã®å Žåãããšãã°40emã59emã®ç¯å²ã䜿çšããŸãã
@media (min-width: 40em) and (max-width: 59em) { }
ãã®åœ¢åŒã§ç¯å²ãšããŠæžãããšãã§ããŸãïŒ
@media (40em <= width <= 59em ) { }
2çªç®ã®ã³ãŒãäŸã§ã¯ãå¹ ã40em以äžã§ã59em以äžã§ãããšããæ¡ä»¶ãèšå®ããŸãã ããã¯ãæåã®äŸã®æå°å¹ ãšæå€§å¹ ã®ãã¬ãã£ãã¯ã¹ãããã¯ããã«åçŽã§çãã§ãã å€ãæ§æãåŒãç¶ã䜿çšã§ããŸãã ãã ãããã®ãããªããªã¥ãŒã ã®å°ãªã代æ¿æ¡ã¯éåžžã«äŸ¿å©ãªããã§ãã
ã¡ãã£ã¢ã¯ãšãªã¯ãã¢ãããã£ãã°ãªãããäœæããããã®æŠåšãšããŠäŸç¶ãšããŠæçšãªããŒã«ã§ãã ããã€ãã®ã¡ãã£ã¢ã¯ãšãªã®äœ¿çšãåé¿ããããã«ãCSS Gridã䜿çšããŠã¹ãã³ããã¯ããŒã«ãã人ã ãèŠãŸããããããããåé¿ããçç±ã¯ãããŸããã ç§ãæãããã«ãããå€ãã®ãŠãŒã¶ãŒã®ããã«ãŠãŒã¶ãŒã€ã³ã¿ãŒãã§ã€ã¹ãæ¹åããã®ã«åœ¹ç«ã€æ°ãã䟿å©ãªæ©èœãããããšãå®èšŒããŸããã ãã®è³æã®è©³çŽ°ã«ã€ããŠã¯ãè¿œå ã®ãªã³ã¯ãèšäºããã¬ãŒã³ããŒã·ã§ã³ãã芧ãã ããã ãã®èšäºã®æºåã§ãããã®ããã€ãã䜿çšããŸããããä»ã®èšäºã¯ããã«èªãã®ã«åœ¹ç«ã¡ãŸãã
- éåžžã«å¹æçãªã¡ãã£ã¢ã¯ãšãªã®7ã€ã®ç¿æ £ ãBrad Frost
- åçŽã¡ãã£ã¢ã¯ãšãªãšã¯ã€ããµã€ã ããã¬ã³ããŠã©ã«ãã³
- Media Queries 4 ãFlorian RivoalãdotCSS 2017ïŒãããªïŒ
- ãã€ã³ã¿ã©ã¯ã·ã§ã³ã¡ãã£ã¢ã®æ©èœãšãã®å¯èœæ§ïŒèª€ã£ãä»®å®ïŒã ããããªãã¯H.ã©ãŠã±ãDev.Opera