å æ¥ãã®ããã°ããªãã¥ã¼ã¢ã«ããã¦é ããæ¨ããå ±åããã¦é ãã¾ããããä»åã®ãªãã¥ã¼ã¢ã«ã®ä¸»ç®çã ã£ãã¬ã¹ãã³ã·ããã¶ã¤ã³åã«ã¤ãã¦ãã¨ã«ããå¹çåªå ã§ä½æ¥ããã¦é ããæã®ãªã½ã¼ã¹é¢é£ãæ å ±ãä¸åº¦åèªèº«ã®å¿åé²ã¨ãã¦æç²ãã¦ã¾ã¨ãããã¦é ããã¨æãã¾ãï¼ä»¥åå¥ã®ããã°ãä½ã£ãæãããã§ãããåºæ¬åã¯ã¨ã«ããå¹çéè¦æ´¾ã§ããç´°é¨ã«æ¸¡ãç¾ãããã¶ã¤ã³ããã¬ãªã¬ãªã®ããã°ã©ãã³ã°ãæ¨æºã«æ³ã£ãã³ã¼ãã£ã³ã°ã¨ãã¯ãã®éã®ã¹ãã·ã£ãªã¹ãã仲éå ã«å± ãã®ã§ãä»åãåã¯å¹çåã«ç¦ç¹ãå½ã¦ã¦ãã¾ãï¼
ãç´¹ä»ããã¦é ãã®ã¯ä¸»ã«FacebookãTwitterå¨ãã§å ±æããã¦é ãã¦ãããªã½ã¼ã¹ã°ããã§ãããå®éã«ä½¿ã£ã¦ã¿ãã¨è¦ãã¦ãã注æç¹ããæ¸æã£ãé¨åãå¨ãã®ãã¶ã¤ãã¼ã«ãç¥ã£ã¦ããã¦æ¬²ããé¨åçãè¦ãé ããã¦ããã®ã§ãã¾ãã¯ãã®è¾ºããä¸å¿ã«ãä½æ¥ã¹ãããæ¯ã«ç°¡åã«ã説æããã¦é ããã¨æãã¾ãã
åã¨åãã¹ããããè¸ãå¿ è¦ãªããå ¨ããªãã¨æãã¾ãããä½ãã®åèã¬ãã«ã«ãªã£ã¦ãããã®ã§ããã°å¬ããéãã§ãï¼
â»ãã¤ãéãã¯ã¤ã¤ã¼ãã¬ã¼ã ã¯åºæ¥ã¦ä¸ãã£ã¦ãåæã§è¡ãã¾ãï¼
ã¾ãã¯ã°ãªããã·ã¹ãã ãé¸å®
ã¾ãããããªãã°ãªããèããã®ããã£ã¦å£°ãããããã§ãããã¹ãã¼ãã¨å¹çåãéè¦ãããªãåãã®æ®µéã§èãã¦ãããæ¹ã絶対è¯ãã¨å人çã«ã¯æã£ã¦ãã¾ãã
åã¯ããã¾ã§ãå¹ åºå®ã®ãã¶ã¤ã³ã®å ´åã¯960 Grid Systemããã£ã¨ä½¿ããã¦ããã ãã¦ããã®ã§ãããä»åä½ãããã®ã¯ã¬ã¹ãã³ã·ããã¶ã¤ã³ãã¬ã¹ãã³ã·ããã¶ã¤ã³ã«ç¹åããGrid Systemã¯è²ã åºã¦ãã¦ããã®ã¯ç¥ã£ã¦ããã®ã§ãã¾ãã¯ããã¾ã§ç¥ã£ããªã½ã¼ã¹ãè¦ç´ãã¦ã©ã®ã¬ã¹ãã³ã·ããã¶ã¤ã³ãèµ·ç¨ãããããã¼ã¹ã«èãããã¨ã«ãã¦ã¿ã¾ããã
ã§ãæçµçã«åè£ã«ä¸ãã£ãã®ã¯ä¸è¨ã®ï¼ã¤ã
Responsive Grid System
å人çã«ã¯24ã«ã©ã ã®Grid Systemãåã£ããã¨ãé常ã«ãããããã£ãã§ãããå ã 24ã«ã©ã ä¸ã®1ã«ã©ã åãä½ç½ã¨ãã¦ç©ºããçã¨ãããå人çãªå¥½ã¿ããã£ãã®ã¨ã1800ãªã¼ãã¼ã®è¨å®ãããã©ã«ãã§åå¨ãããã¨ãä»åã®ãªãã¥ã¼ã¢ã«ã®è¶£æ¨ã¨åã£ã¦ããã®ã§ãä»åã®ãªãã¥ã¼ã¢ã«ã¯ãã¡ããæ¡ç¨ããã¦é ãã¾ããã
åã®ããã°ã¯1920ãµã¤ãºã®ã¢ãã¿ã§è¦ã人ã大åãªã®ã§ãã¯ã¤ãã¢ãã¿ã¼å¯¾å¿ã®Responsive Grid Systemãæ¢ãã¦ã¾ããã£ãã
Gumby 960 Grid Responsive CSS Framework
ãã©ã¦ã¶ã縮å°ããæã®ãã´ã®æ¡å¤§ç¸®å°ããã£ããï¼ã£ã¦æã£ãã®ã¨ãã¬ã¹ãã³ã·ããã¶ã¤ã³ã®Grid Systemã«ã¯çããGridã¬ã¤ã¢ã¦ãç¨ã®PSDãã¡ã¤ã«ãå ¥ã£ã¦ããããããPCç¨ã¨Mobileç¨ã®äºã¤ã«åããã¦ããã®ã¯åãå°è±¡ããã£ãã®ã§ã®ãªã®ãªã¾ã§ãã使ãäºå®ã ã£ãã®ã§ãããPSDã¯ä»ã¾ã§ä½¿ã£ã¦ãã960 Grid Systemã§ããããã£ã¦ã®ã¨ãMobileç¨ã£ã¦åºæ¬1ã«ã©ã ãããï¼ã£ã¦çç±ã§ä»åã¯è¦éãã¾ããã
Responsive Web Design just got Easier with the Responsive Grid System
å¨ãã§ä½¿ã£ã¦ã人ãä½äººãããã®ã§ã使ããããã«ãªã£ã¦ãããªããããªã®ããªãã£ã¦çç±ã ãã§è¦ã¦ãGrid Systemãçµå±24ã«ã©ã ãç¡ãã£ãäºã¨ããã¬ã¼ã ã¯ã¼ã¯å ã®CSSãã¡ã¤ã«ã沢山åã£ãã®ãå人çã«åããä»åã¯è¦éãããã¦é ãã¾ããã
ãã®ä»ã®Responsive Grid Systemé
- Columnal | A responsive CSS grid system helping desktop and mobile browsers play nicely together.
- SimpleGrid
ãã¶ã¤ã³ä½æ¥ï¼ãªã½ã¼ã¹é¢é£
960 Grid System
ä»åã®ãã¶ã¤ã³ã§ä½¿ç¨ããGrid System PSDãã³ãã¬ã¼ãã¯ãã¤ãã©ãã960 Grid Systemï¼24ã«ã©ã ãã©ããã¦ãå人çã«å¿ é ã ã£ãã®ã¨ã使ãæ £ããæããæ¡ç¨ï¼
CSS Sprite Generator | Project Fondue
CSSã¹ãã©ã¤ãã¯ä»¥åãããã£ã¨æ´»ç¨ãã¦ããä¸è¨ã¸ã§ãã¬ã¼ã¿ã¼ã使ç¨ï¼Fireworks CS6ããCSSã¹ãã©ã¤ãç»åãä½ãæ©è½ãã¤ããããããã©ã£ã¡ã«ãããé常ã«è¿·ã£ãã¨ããã§ãããä»åã¯æ £ããéè¦ãã¦ã¸ã§ãã¬ã¼ã¿ã¼ã使ç¨ãããã¨ã§Go on!
ã¨ããããã°ãªãããã¶ã¤ã³ã§ãã¶ã¤ã³ããçµæ
ã¨ããããããã¤ãã®ããã«ã°ãªãããã¶ã¤ã³ã«æ²¿ã£ã¦ãã¶ã¤ã³ããã ãä»åã¯ã¬ã¹ãã³ã·ããã¶ã¤ã³ã«ããåæãªã®ã§ãããã¤ã注æãããã¨ãããã¾ãã
pxæå®ã§ã¯ãªã%æå®ã§å¯å¤ããã¨ãããã¨
æèããã¨ããããåãã£ã¦ãªããã°æããªããã¨ããªã¨ããã¶ã¤ã³æã«å¸¸ã«èãã¦ããã®ã¯ãããµã¤ãºãå¯å¤ããªããã°æããªãé¨åãã®ãã¨ãé常ã®ã°ãªããã¬ã¤ã¢ã¦ãã§ãã¶ã¤ã³ããæã¯åºå®å¹ ãªã®ã§ãããä»åã¯åãªãã¸ã§ã¯ãã®ãµã¤ãºãå½¢ç¶ãå¤åããããªãããåããªããã°æããªãé¨åã®åæ¹ãèããå¿ è¦ããããããã¡ãã£ã¨é常ã®ãã¶ã¤ã³æã¨ã¯æ°é£ããã¤ã³ããå¤ãã£ã¦ãã¾ããã
ããã ãããå½ç¶ãªãããã¬ã¤ã¢ã¦ããªã®ã§ãmedia-queriesã使ãPCã¢ãã¿ã®æã¯å ¨ä½å²ãcontainerã®å¹ ãåºå®å¤ã«ãã¦ãæãã§ããã
âãã¶ã¤ã³æã表示ç¯å²ã«ãã£ã¦å¤§ããï¼or å½¢ç¶ï¼ãå¤ããã§ãããé¨åãç¹ã«æå³ããã¨ããã
ã¾ããä»åã¯ä¸ã¤ã®PSDã§ä½ã£ããã¶ã¤ã³ãå¯å¤ã«å¯¾å¿ããæ³å®ã§ä½æ¥ãã¾ããããåè¨æ¡ä»¶ã®å ´åã¯æ³å®ããã³ã³ãã³ãå¹ æ¯ã®ãã¶ã¤ã³ãæ示ãããã¨ãå½ç¶ããã¾ãï¼ã¹ããã©ç¨ãã¶ã¤ã³ãPCç¨ãã¶ã¤ã³ãåã¢ãã¿ãµã¤ãºæ¯ãã¶ã¤ã³ã¿ãããªï¼ãããããä»åã¯å¹çåªå ã§åãã¶ã¤ã³ã®èª¿æ´ã¯HTMLä½ææã«èãããã¨ã«ãã¾ããï¼ï¼ãå人ããã°ã ããã£ããã¼ã¨ããã¯ã¹ã«ã¼ã
Responsive Grid Systemã§HTMLã³ã¼ãã£ã³ã°
Grid Systemã§ã³ã¼ãã£ã³ã°ãããã¨ããªã人ãåã®ç¥ãåãã«ããã®ã§ãä¸åº¦è¶ ç°¡ç´ ã«èª¬æãã¦ãããã¨æãã¾ãã
ãããããµã¤ãã®ãã¶ã¤ã³ã®å¤§åã¯ã°ãªããã§ã§ãã¦ã¾ãããï¼ï¼2ã«ã©ã ã¨ã3ã«ã©ã ã¨ãï¼ãã®åã°ãªãããã«ã©ã ã§å¿ è¦ãªCSSãæåããè¨å®ãã¦ããã¦ããã®ãGrid Systemãä¾ãã°ä»åã®Responsive Grid Systemã®å ´åã ã¨ããã
ããããCSSã®ã¯ã©ã¹ãç¨æãããããã§ãã
ãããResponsive Grid Systemã«ãªãã£ã¦è¶ ç°¡ç´ ãªHTMLã§æ¸ãã¨ããã
[html]<div id="wrap" class="span_24"> <div id="header" class="span_24 row"> <div class="span_12 col"> ããã«ãã´ãå ¥ãï¼ </div><!– logo area –> <div class="span_12 col"> ããã«ãããã¼ã®ãããå ¥ãï¼ </div> </div><!– header –> <div id="contents_wrap" class="span_24 row"> <div class="span_16 col"> ããã«ããã°ã®è¨äºãå ¥ãï¼ </div><!– contents –> <div class="span_7 float_right"> ããã«ãµã¤ããã¼ãå ¥ãï¼ </div><!– sidebar –> </div><!– contents_wrap –> </div><!– wrap –>[/html]
ãã¼ããªæãã«ãªãã¯ãã§ãï¼ï¼ãªããééã£ã¦ããããã¾ããï¼ï¼ï¼
ããã§æ¸ããã¦ããcolã¨ããã®ã¯æ¨ªã«ä¸¦ã¶ã«ã©ã ã®ãã¨ãrowã¨ããã®ã¯ç¸¦ã«ä¸¦ã¶ã«ã©ã ã®ãã¨ãResponsive Gird Systemã«ã¯ãã®åã«ã©ã æ°æ¯ã®Widthæå®ãæ¢ã«ããã¦ããã®ã§ãéæ»ã§ãããã£ãGridãã¶ã¤ã³ãå¯è½ã§ã£ãã¨ããä»æ§ï¼
å½ç¶ããããå¯å¤ãããªãåºå®ã§ä½ããªã960 Grid Systemã¨ããã®è¾ºã使ããã¨ã«ãªãã¾ãï¼ã°ãªãããã¶ã¤ã³ã§ä½ãå ´åã¯ã¨ã«ãã便å©ã§æ©ããã¨ï¼ä½¿ããªãæã¯ç¡ãï¼
ãã®ãµã¤ãã§ä½¿ããã¦é ãã¦ããResponsive Grid Systemã®CSSãè¦ã¦ã¿ãã¨ãåããã¯ã¹æ¯ã®CSSãè¨å®ããã¦ããã®ããããã¨æãã¾ãã
ç»åã¯ãCSS Spliteç»åãã¨ãé常表示ããªããã°æããªãç»åããåããå½¢ã§å¯¾å¦
åã¯ç¸å¤ãããCSS Spliteã使ãç»åã表示ããããã«ãã¦ããã®ã§ãããä»åã¯ã¬ã¹ãã³ã·ããã¶ã¤ã³ãªã®ã§ç»åã®ä¼¸ç¸®ãå¿ è¦ãªç®æãããã¤ãããã¾ããã
ãã´ç»åãªããã¯ãã¢ãã¿ãµã¤ãºã«ãã£ã¦ç´°ãã大ãããå¤åããããã®ã§ãèæ¯ç»åã§å表示é åç¨ã®ç»åãç¨æãã¦ãããããããæ®éã«imgã§ç»å表示ãã¦å¤§ãããå¯å¤ãã¦ãããæ¹ã楽ã ã£ãããã§ãã
伸縮ãå¿ è¦ç¡ãç»åã«ã¤ãã¦ã¯CSS Splite
ããããã«ä¼¸ç¸®ãå¿ è¦ãªç©ã¯é常ã©ãã<img>ã¿ã°ã§è¡¨ç¤º
ãããã£ãå½¢ã§ç»åã®è¡¨ç¤ºæ¹æ³ãå¤ããã®ããæããã¦æ£è§£ãã¯ãã£ã±ãåããã¾ãããã¨ããããåã¯ãããã£ãæ¹æ³ã§å¯¾å¿ããã®ã§ãããä½ãä»ã«è¯ãæ¡ãããã°ãã²æãã¦é ããã¨å¹¸ãã§ãï¼
ã¬ã¹ãã³ã·ãåã¯Media-Queriesã§å¯¾å¿
ãã¡ãã¯ä»å使ç¨ãã¦ããCSS3 Media Queriesç¨ã®CSSãã¡ãã£ã¨ã ãè¦ãã¦è¦ãã¨ãããããããã¾ããããæ¢ã«ãã¡ãã®CSSã«ã¯ã¹ããã©ç¨ãiPadãªã©ã®ã¿ãã¬ããç¨ãããã¦ãã®Grid Systemã§æ°ã«å ¥ã£ãè¨å®é ç®ã®ä¸ã¤ã¨ãã¦åPCã¢ãã¿ãµã¤ãºæ¯ï¼SXGAãUXGAããã«HDï¼ã®media-queryãç¨æããã¦ãã¾ãã®ã§ãå表示æ¯ã«è©²å½ããã表示æ¹æ³ãå¤ãã¦ä¸ããã°ããã ãã§ããã
ãã¨ãã°ããã®ãµã¤ãã§ä½¿ç¨ãã¦ããä¸é±é以å ã®è¨äºã§ãããã¨ã示ãNewã¢ã¤ã³ã³ãããã¾ãããããã¯ç»é¢ããã¯ã¿åºã¦ãã®ã§1024px以ä¸ï¼ã£ã¦ãã¿ãã¬ããã¨ãï¼ã«ãªã£ãå ´åã«ã¯è¡¨ç¤ºæ¹æ³ãå¤ãããã£ããã§ããã
âã1024pxãªã¼ãã¼ã®ã¢ãã¿ã§è¦ãæã®ã¢ã¤ã³ã³
âããã以ä¸ã®ã¢ãã¿ã§è¦ãæã®ã¢ã¤ã³ã³
é常ã¯ãã¯ã¿åºã¦ããNewã¢ã¤ã³ã³ã§æ®éã«CSSãè¨å®ãã¦ããã¦ãmedia-queriesã使ãã°ä»¥ä¸ã®ãããªè¨è¿°ã§1024以ä¸ã®è¡¨ç¤ºåã«å¯¾ãè¨å®ãå¯è½ã§ãã
[css] @media only screen and (min-device-width: 481px) and (max-device-width: 1024px), only screen and (min-width: 481px) and (max-width: 1024px) { â»ããã«1024px以ä¸ã®Newã¢ã¤ã³ã³ã®è¨å®ãè¨è¼ ï¼è¡¨ç¤ºé å481pxã1024pxã®æã®CSSãè¨è¼ï¼ } [/css]
ãããã£ãå½¢ã§æ§ã ãªmedia-queriesã®è¨å®å 容ã«åããã¦è¦æ ããå¤æ´ãã¦è¡ãã¾ãã
ã§ãä»åã®Grid System使ç¨æã«æå¤ã¨èã«ãªãã®ã¯ã¹ãã¼ããã©ã³å¯¾å¿ã®ä»¥ä¸ã®è¨è¿°ããªã¨ã
[css] only screen and (min-device-width: 240px) and (max-device-width: 480px), only screen and (min-width: 240px) and (max-width: 480px) { .span_1, .span_2, .span_3, .span_4, .span_5, .span_6, .span_7, .span_8, .span_9, .span_10, .span_11, .span_12, .span_13, .span_14, .span_15, .span_16, .span_17, .span_18, .span_19, .span_20, .span_21, .span_22, .span_23 { width: 100%; } .col { margin: 0; width: 100%; clear: both; } } [/css]
è¦ãã¾ã¾ã§ãããå ¨ã¦ã®ã«ã©ã ã«å¯¾ãã¦widthã100%表示ã«ãã¦ãã¾ãããªããªãã°ãªãããã¶ã¤ã³ã§ã«ã©ã ãåããç©ã®ã»ã¨ãã©ã£ã¦ãã¹ããã©ã¬ãã«ã«ã¾ã§å¹ ãçã¾ãã¨å ¨ã¦1ã«ã©ã ã«ãªã£ã¦ããããã§ãï¼ãã®Responsive Grid Sysytemãé常ã¯åã«ã©ã ã«æ¨ªå¹ ã®é©åãªæå®ãå ¥ã£ã¦ãã¾ããããã®ã«ã©ã ãµã¤ãºãå ¨ã¦100%ã«ãããã¨ã§ãç¡çãããã¹ã¦ã®ã«ã©ã ã縦置ãã«å¤æãã¦ä¸ãã¦ãããã§ããã
ããã¼ãããããããããã£ã¦ç¡é§ã«ç´å¾ã£ãã¦ãã¾ã£ãã¨ããã§ããã®ã§ãå ±æããã¦é ãã¾ãï¼
ãããã£ãåããã¤ã¹ãµã¤ãºã«åãããMedia-queriesã使ã£ã¦ãCSSãæé©åãã¦ãããã®ãã¬ã¹ãã³ã·ããã¶ã¤ã³ã«ã¯å¿ è¦ãªã®ã§é¢åããã§ãããé å¼µã£ã¦å®è£ âæ¤è¨¼ãç¹°ãè¿ãã¾ãããï¼
æ¤è¨¼ç°å¢
Responsive Design Testing
æ¤è¨¼ç°å¢ã¨ãã¦åããã¤ã¹ãç¨æãããã£ãã¨ããã§ããããããªãéç¡ãã®ã§ãã¡ãã®ãµã¤ãã§å表示ãµã¤ãºæ¯ã®æ¤è¨¼ãè¡ãã¾ããï¼ããã¤ã¹ã«ãã£ã¦ãã©ã³ããè¦æ ãã¯å®å ¨ã«ä¸è´ããããã¨ã¯é£ããã§ãããããç¨åº¦ã¯ãã¡ãã®ãµã¤ãã§åããã¦å®éã«ã¯ã¡ããã¨å人çµç±ã§æ§ã ãªã¹ããã©ãã¿ãã¬ããçãåãã¦è¡¨ç¤ºç¢ºèªããã¦é ãã¾ããï¼ï¼ç¬ï¼
WordPresså°å ¥
ãã¦ãã次ã¯Wordpressã«å°å ¥ãã¾ãããä»åã¯ç¹ã«ãã®ãã©ã°ã¤ã³å ¥ãã¾ããï¼ã¨ããã話ã¯æãã«ããã¬ã¹ãã³ã·ããã¶ã¤ã³ã«å¿ è¦ã ã£ãè¨å®ç³»ã«ãã©ã¼ã«ã¹å½ã¦ã¦æ¸ããã¦é ããããªã¨æãã¾ãï¼
ç»åæ¿å ¥æã®ãµã¤ãºæå®ãåé¤
Getting WordPress to play nice with responsive images | Tutorial | .net magazine
ãã¡ãã«æ¸ããã¦ããéãã§ãããWordpressã¯ããã©ã«ãã§ç»åæ¿å ¥æã«widthã¨heightã®è¨å®ããã¦ãã¾ãã¾ããmedia-queryã¯widthã®è¨å®ã¯CSSã§å¤æ´ãããã¨ãåºæ¥ã¾ãããHeightã¯åºå®å¤ãä¿ã¤ã¨ããç¾è±¡ãåãèµ·ãã£ã¦ãã¾ã£ã¦ããã®ã§ãããã¤ã¯ã¨ã«ããå¿ é è¨å®ããªã¨æã£ãã®ã§ãç´¹ä»ããã¦é ãã¾ããã
FacebookãTwitterãã¯ã¦ããåã¦ã£ã¸ã§ããã®ã¬ã¹ãã³ã·ãCSSè¨å®
æå¤ã¨å¤§å¤ã ã£ãã®ããåã¦ã£ã¸ã§ããé¢é£ã®ã¬ã¹ãã³ã·ãåãã¨ããããwidthã100%ã«ããæ¹æ³ãä¸å¿ã®ä»åã®è¨å®ã§ä½¿ç¨ããCSSããç´¹ä»ããã¦é ãã¾ãã
Facebook Likebox
[css] .fbcomments,.fb_iframe_widget,.fb_iframe_widget[style],.fb_iframe_widget iframe[style],.fbcomments iframe[style],.fb_iframe_widget span { width: 100%! important; } [/css]
â»åèï¼Make Facebook Comments responsive | TheHacked.com
Hatenaããã¯ãã¼ã¯ã¦ã£ã¸ã§ãã
[css] .hatena-bookmark{ width:100% !important; } [/css]
Twitterã¦ã£ã¸ã§ãã
[css] .twtr-doc{ width: 100% !important; } [/css]
Facebook Comments
[html] </p> <div class="fb-comments" data-href="<?php the_permalink() ?>" data-num-posts="4" data-width="320"> &amp;nbsp; </div> <p> [/html]
PCã¢ãã¿ã¯å ¨ãåé¡ç¡ããã©ãFacebookã³ã¡ã³ãã ãã¯ãªããã¹ãã¼ããã©ã³ã§ã®Widthæå®ãå¹ããªãã£ãâ¦ãªã®ã§ã¨ããããè²¼ãä»ããæã«æ®éã«data-widthãã¹ããã©ã®æå°å¤ã«è¨å®ãã¦å¯¾å¿ãä»å¾ãè¦æ¤è¨¼ãå¿ è¦ã£ãã
課é¡ï¼Retinaå¨ã
Retinaãã£ã¹ãã¬ã¤ã«é¢ããWEBæ¥çã®åå¿ã¯è²ã ãªè°è«ãçãã§ãã¾ããã
ãã®è¾ºãã§ã¾ã¨ã¾ã£ã¦ãããããªå¯¾å¿çã¯è²ã ããã¨æãã¾ãããResponsive Grid Systemä¸ã§ã¯ãCSSä¸ã®-webkit-min-device-pixel-ratioã§æå®ã§ããããæ¢ã«æ ã ãã¯ç¨æããã¦ãã¾ããã
[css] @media only screen and (-webkit-min-device-pixel-ratio : 1.5), only screen and (min-device-pixel-ratio : 1.5) { /* Styles */ } [/css]
ããä»åã®ãªãã¥ã¼ã¢ã«ã§ã¯ç¹ã«ã¾ã 対å¿ã§ãã¦ããããããªãã®ã§ãä»å¾ã¢ã¯ã»ã¹è§£æãå ã«ãããã¾ããã£ã¦ç¶æ³ã«ãªã£ããã³ãã³ã対å¿ãã¦ãããããªã¨æãã¾ãã
ç¾æç¹ã§ã®åã®å¯¾å¿çã¨ãã¦ã¯ãã¹ããã©æã®è¡¨ç¤ºã ãã¯èæ ®ã«å ¥ããªããã°æããªãã£ãã®ã§ãåãæ¥ãè¦åºãé¨åã¯CSS3ã使ã£ã¦è£ 飾ç¨åº¦ã«æ¼ããã¦ãã¾ãã
以ä¸ããããã§ããã§ããããï¼
ãã£ã¤ãä½æ¥ãã¦ã ãããï¼æ¥ãDropboxã§åæããä½æ¥ãã¡ã¤ã«ã®éå»æ´ãè¦ãéãã§ããã°å¤§ä½35æéãããã§ä½æ¥ã§ããã£ã½ãã§ãããã¾ãããã°ã§ãã£ããã¨ã¨ãå½ç¶èªåã®ãµã¤ãã§ãã£ããã¨ã¯å¤§ããªè¦å ã«ã¯ãªã£ã¦ããã¨æãã¾ãã
ä»åãç´¹ä»ããã¦é ããé ç®æå¤ã«ãè²ã 注æããç¹çãããã¾ãããã¾ãã¯ä»åç¹ã«å¹çãæèããéã«ãä¸è©±ã«ãªã£ããªã½ã¼ã¹ãè¨å®ãæ å ±é¢é£ã®é¨åããç´¹ä»ããã¦é ãã¾ããï¼æ¬å½ã¯ä½æ¥ç°å¢ã®ãã¨ãæ¸ããã¨æã£ãã®ã§ãããã¡ãã£ã¨ããªã¥ã¼ã ãªã¼ãã¼ã«ãªãããã ã£ãã®ã§ä»åã¯æ§ãããã¦ããã ãã¾ã£ãï¼
主ã«ä»åã¯ã¢ã¯ã»ã¹è§£æãå ã«è¡¨ç¤ºç¯å²ãæå³ãããªãã¥ã¼ã¢ã«ã ã£ãã®ã§ãããããããä¸è¬éè¦ããã¯ã¡ãã£ã¨é¢ãã¦ãã¾ãã®ããããã¾ããããä»åã®ä¸é£ã®ä½æ¥ã®ä¸ããä½ãåèã«ãã¦ããã ããããªé¨åãã²ã¨ã¤ã§ãããã°å¬ããéãã§ãï¼
ã¾ã ã¾ã ãã£ã¤ãåå¼·ä¸ãªã¬ã¹ãã³ã·ããã¶ã¤ã³ã§ãããã¨ããããä»åã¯ç¾æç¹ã§åãä½æ¥ãã¦ããä¸ã§ãæã確å®ã§æãæ©ãã¬ã¹ãã³ã·ã対å¿ã«ãããã¢ã¬ã³ã¬ããç´¹ä»ããã¦é ãã¾ããï¼
Retina対å¿å«ããä»å¾ãã¬ã¹ãã³ã·ããã¶ã¤ã³ã«é¢ããæ å ±ã¯ãã£ã¤ãéãã¾ããã¾ãã®ã§ãã¾ãä½ãçºè¦ãæ å ±ãããã°çæ§ã¨ã·ã§ã¢ããã¦é ããã°ã¨æãã¾ãï¼
ã§ã¯ã§ã¯ãçæ§è¯ãã¬ã¹ãã³ã·ããã¶ã¤ã³ã©ã¤ããã¼ï¼
PS:36æéã«å«ã¾ããä½æ¥
ä½ä»¶ããåãåããé ãã¾ããã®ã§è¿½è¨ããã¦é ãã¾ãããå ¨ä½ä½æ¥ã§36æéãããã ã£ãã®ã§å¤§ä½ã®æè¦å¤ã§ãï¼ã¡ããã¨æ¸¬ã£ã¦ãªãã¦ããã¾ããï¼
- ã¬ã¤ã¢ã¦ãæ¤è¨ï¼2h
- æ°è¦ãã¶ã¤ã³ï¼PSDï¼ï¼ã¹ãã©ã¤ãåï¼14h
- HTMLã»CSSçµãï¼ã¬ã¹ãã³ã·ãåï¼ï¼10h
- WordPresså ¥ãã¦ï¼6h
- åä½ç¢ºèªã¨æ¶ã ã¨ä¿®æ£ããæéï¼4h
大ä½ãããªæãã§ãããããããæã®ãµã¤ãã¯ã¾ã æ®ã£ã¦ãã®ã§ï¼ããããæ¶ãã¾ããã»ã»ã»ï¼ãããããä»ã®ç¶æ ã«ããã¾ã§ã£ã¦æãã£ãã¼ï¼