Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?
ããã«ã¡ã¯ï¼ãLIGãã£ãªãã³æ¯ç¤¾ä»£è¡¨ã®ããã¨(@seito_horiguchi)ã§ãã å æLIGããã°ããªãã¥ã¼ã¢ã«ããã¾ãããåã¯ã¡ã¤ã³ã§ã³ã¼ãã£ã³ã°ãæ å½ãã¦ããã®ã§ããããã¤ãã®ããã«ã¹ããã§ã®ä¸å ·åã«ã¯æ©ã¾ããã¾ããã ã¨ãã«ä»åç¦ã£ãã®ã¯ãç´åã§iOS8ããªãªã¼ã¹ããããã¨ã§ãããã¾ã æ å ±ããªãä¸ã§ãããã¤ã§èµ·ããä¸å ·åã解æããã®ã«ã¯æãããã¾ããï¼âã¼âï¼ ããã§ä»åã¯ãã¹ããã®ã³ã¼ãã£ã³ã°ã§åãè©°ã¾ã£ããã¤ã³ãã¨ãã®è§£æ±ºæ¹æ³ã«ã¤ãã¦ãå®ä¾ãè¸ã¾ããªããç´¹ä»ãã¦ããããã¨æãã¾ãï¼ 1. iOS8ã§z-indexã使ã£ã¦ããè¦ç´ ãJSã§æä½ããã¨ãéãªãé ããããããªã ãã¡ãã®ãã¼ã¸ï¼SPï¼ã§ã¯ã社å¡ã®åçè¦ç´ ãã¹ã¯ã¤ãããã¨ç»åãå転ãããã¨ããåããå®è£ ãã¦ãã¾ãã position:absoluteã§è¡¨ã®åçãè£ã®åçãéããz-indexã§éãªãé ãè¨å®ãã¦ãã
iPhone Safari ã«ã¦ HTML ä¸ã§é»è©±çªå·ãè¨è¼ããã¨èªåçã«çºä¿¡ãªã³ã¯ã追å ããã Safari å´ã§èªåçã« <a href="tel:{é»è©±çªå·}">{é»è©±çªå·}</a> ã®ããã«ã¢ã³ã«ã¼ã¿ã°ã追å ããããã¨ãããã <p>090-4444-4444</p> â <p><a href="tel:090-4444-4444">090-4444-4444</a></p> ãã¡ãããã®ãããªãªã³ã¯ã¯ã¯ã©ã¤ã¢ã³ãå´ã® iPhone ã HTML å´ã§è§£é¤ããã®ã¯å¯è½ã ããä¸è¬ã® iPhone ã¦ã¼ã¶ã®æ¹ã ã¯è§£é¤ãã¦ãªãã±ã¼ã¹ãå¤ãã¨æãããã ã¡ãªãHTML å´ã§ <a href="tel:090-4444-4444"> ã®èªåãªã³ã¯ã解é¤ããã«ã¯ä»¥ä¸ã®ã¿ã°ã <head> ã¿ã°å ã«å ¥åããã <meta name="format-detection" content="tel
PCãµã¤ãã«é»è©±çªå·ãè¨è¼ããå ´åã¯ãããã¹ããç»åã§é»è©±çªå·ã表示ãã ã¹ãããµã¤ããªããé»è©±çªå·ã«telãªã³ã¯ãè²¼ã£ã¦ãã¹ãããã ç´æ¥é»è©±ããããããããã«ããã¨æãã¾ãã PCã»ã¹ããã»ã¿ãã¬ããã¨ããã¾ãã¾ãªããã¤ã¹ã«ã¯ã³ã½ã¼ã¹ã§å¯¾å¿ãã¦ãã ã¬ã¹ãã³ã·ãã®ãµã¤ãã®å ´åã¯ã©ãã§ããããã ã½ã¼ã¹ã«ãããããtelãªã³ã¯ãè¨å®ãã¦ããã¨ãPCã§è¦ãéã« ããããã³ã«ãä¸æããéãã¾ãããã¨ããã¡ãã»ã¼ã¸ãè¿ã£ã¦ãã¦ãã¾ãã¾ãã ï¼ãã¨ãã¨telãªã³ã¯ã¯ãã¬ã©ã±ã¼ãã¹ããåãã®æ©è½ãªã®ã§ãå½ç¶ã¨è¨ãã°å½ç¶ã§ãï¼ telãªã³ã¯ãè¨å®ããªããã°åé¡ãªãã®ã§ãããããããã¨ãã¹ããã§è¦ãã¨ãã«ã é»è©±çªå·ãã¿ãããã¦é»è©±ãããããã¨ãã§ãã¾ããã é»è©±ããããæ©è½ãããã®ã«ç´æ¥é»è©±ã§ããªãã®ã¯ãã¡ãã£ã¨ä¸è¦ªåã§ãã ããããæã¯ãJSã»jQueryã使ã£ã¦ãã¹ããã®æã ãé»è©±çªå·ã«telãª
調ã¹ã¦ã¯å¿ããæ¯åç¹°ãè¿ãã®ããªãã ããªã¼ã¨æã£ãã®ã§ãã¾ã¨ãã¦ããã¾ãã ã¡ãªã¿ã«ãiOS/Androidã®ãã¨ããæ¸ãã¾ããã iOSã¯5以ä¸ãAndroidã¯4以ä¸ã®OSãã¼ã¸ã§ã³ã対象ã¨ãã¦ã¾ãã Operaã¨ãMetroã¨ãFireFoxã¨ãã¯ç¥ãã¾ããï¼ãã£ã¨é å¼µã£ã¦ãã ããï¼ ããã¾ã§ãã®è¨äºãæ稿ããæç¹ã§ã®ãã®ã§ãï¼ å ¨è¬ æ¡å¼µåã¯png åæã«è§ä¸¸ã«ãªãã®ã§åè§ã®ã¾ã¾æ¸ãåºãã¦OK Safari(iOS) ãã¡ããå ¬å¼ã®ããã¥ã¡ã³ãã¯ãã¡ãã Configuring Web Applications ã§ãå®ã¯æå®æ¹æ³ã2ã¤ããã¾ãã¦ã HTMLã§æå®ããæ¹æ³(ããããä¸è¬ç) ããã¥ã¡ã³ãã«ã¼ãã«ç»åãé ç½®ããæ¹æ³ 以ä¸ããããã HTMLã§æå®ããå ´å <link rel="apple-touch-icon" href="/path/to/icon.png"> ã£ã¦r
å ¬éï¼2015å¹´1æ28æ¥ apple touch iconã¯çµå±ã©ãè¨å®ããã°ããã®ï¼ ãããèããããã«ãå®éã«ã©ã®ããã«è¡¨ç¤ºããããææããã¤ã¹ã§ç¢ºèªãã¾ããã çµæã®ã¿ã¯ããã®ãã¼ã¸æå¾ã®apple touch icon è¨å®ã¾ã¨ããã©ããã apple touch iconã¯ãã¹ãã¼ããã©ã³ã»ã¿ãã¬ããã使ã£ã¦ãã¦ã§ããµã¤ããããã¼ã ç»é¢ã«è¿½å ãããã¨ãã«ä½¿ãããã¢ã¤ã³ã³ã apple touch iconãè¨å®ãã¦ããªãã¨ãããããã¼ã¸ã®ãµã ãã¤ã«ï¼ç¸®å°çï¼ã表示ãããã åããã¤ã¹ã§ä½¿ç¨ããããµã¤ãºãç¢ºèª ã¢ã¤ã³ã³çæãµã¤ãã®iconifier.netã§ã大ããªãµã¤ãºã®PNGç»åï¼ã¤ãããapple touch iconã®ãµã¤ãºéãï¼å㨠faviconãä½æãå apple touch iconã¯ãã©ã®ãµã¤ãºã®ãã®ã使ããã¦ããã確èªããããã«ããµã¤ãºãè¨å ¥ãã¦åä¿åããã
ã¬ã¹ãã³ã·ãã¬ã¤ã¢ã¦ãã§ãCSSã§Media Queriesãè¨å®ããããHTMLã§viewportãæå®ããªããã°æå³ãªããä½ãèµ·ãããªããã§ããããMedia Queries使ããªãviewportã¯å¿ é ã ã¨ããã§ãviewportã®ããããã£ãå¤ã¯ãããããããã©ãã©ãã使ãã®ãæé©ãªãã ããï¼ ãwidthãã¨ãinitial-scaleãã¯åæã«æå®ããªãã»ããè¯ãã£ã¦ãã³ãï¼ï¼â¦éã£ã¦ã¾ããï¼ ãªã©ã®çåãä»åãããã調ã¹ã¦ã¿ãã ãã®ã»ããã¬ã¹ãã³ã·ãã¬ã¤ã¢ã¦ãã§ã®ç»åãµã¤ãºã -webkit-text-size-adjustï¼æåãµã¤ãºèªå調æ´ï¼ã«ã¤ãã¦ãã¡ã¢ï¼ æ¬æ¥ã®INDEXãviewportã®æå®ã«ã¤ã㦠viewportã®ãwidthãã¨ãinitial-scaleã viewport ã®ä½¿ãæ¹ãã¿ã¼ã³2㤠ã¡ãã£ã¢ã¯ã¨ãªç¡ããªã viewport ä¸è¦ ã¡ãã£ã¢
à¹à¸§à¹à¸à¸ªà¸¥à¹à¸à¸à¹à¸£à¸¡à¹à¸² joker123 à¹à¸à¹à¸à¸à¸²à¸à¹à¸¥à¸·à¸à¸à¸à¸µà¹à¸à¹à¸²à¹à¸à¸·à¹à¸à¸à¸·à¸à¸ªà¸³à¸«à¸£à¸±à¸à¸à¸¹à¹à¹à¸¥à¹à¸à¸à¸µà¹à¸à¹à¸à¸à¸à¸²à¸£à¸à¸§à¸²à¸¡à¸¡à¸±à¹à¸à¹à¸à¹à¸à¸à¸²à¸£à¹à¸à¸´à¸¡à¸à¸±à¸à¸à¸à¸à¹à¸¥à¸à¹ à¸à¹à¸§à¸¢à¸£à¸°à¸à¸à¸à¸§à¸²à¸¡à¸à¸¥à¸à¸à¸ ัยระà¸à¸±à¸à¸ªà¸¹à¸à¹à¸¥à¸°à¸à¸²à¸£à¸à¸£à¸§à¸à¸ªà¸à¸à¸à¸¢à¹à¸²à¸à¹à¸à¹à¸¡à¸à¸§à¸ à¸à¸¸à¸à¸ªà¸²à¸¡à¸²à¸£à¸à¸§à¸²à¸à¹à¸à¹à¸à¹à¸§à¹à¸²à¸à¸¸à¸à¸à¸²à¸£à¹à¸¥à¹à¸à¸à¸à¸à¸à¸¸à¸à¸à¸°à¹à¸à¹à¸à¹à¸à¸à¸¢à¹à¸²à¸à¸¢à¸¸à¸à¸´à¸à¸£à¸£à¸¡à¹à¸¥à¸°à¹à¸à¸£à¹à¸à¹à¸ª à¹à¸§à¹à¸à¹à¸à¸à¹à¸à¸µà¹à¹à¸à¹à¸£à¸±à¸à¸à¸²à¸£à¸£à¸±à¸à¸£à¸à¸à¸à¸²à¸à¸«à¸à¹à¸§à¸¢à¸à¸²à¸à¸à¸µà¹à¹à¸à¸µà¹à¸¢à¸§à¸à¹à¸à¸ à¸à¸³à¹à¸«à¹à¸à¸¸à¸à¸«à¸¡à¸à¸à¸±à¸à¸§à¸¥à¹à¸£à¸·à¹à¸à¸à¸à¸²à¸£à¹à¸à¸à¹à¸à¹à¸à¸¢à¹à¸²à¸à¸ªà¸´à¹à¸à¹à¸à¸´à¸ à¹à¸§à¹à¸à¸ªà¸¥à¹à¸à¸à¹à¸£à¸¡à¹à¸² joker123 สลà¹à¸à¸à¹à¸£à¸¡à¹à¸² à¸à¸à¸à¸à¸²à¸à¸à¸µà¹ à¸à¸µà¸¡à¸à¸²à¸à¸¡à¸·à¸à¸à¸²à¸à¸µà¸à¸à¸£à¹à¸à¸¡à¹à¸«à¹à¸à¸£à¸´à¸à¸²à¸£à¸à¸¥à¸à¸ 24
ã¨åªæã®ããã«æ¸ãã¦ããããããå æ¸ã¡ããã¨æ´çãã¦ç解ãããã ãããã調æ»ããçµæã以ä¸ã®èãæ¹ã§ç解ã§ããã¨æãã ã¾ããå®éã®æ¶²æ¶ã®è§£å度ã¯ä¸æ¦å¿ããã <meta name="viewport" content="width=480">ã¨æå®ããã¨ããã ããã¨ããã«å¹ 480pxã®ä»®æ³çãªã¦ã¤ã³ãã¦ãä½ããããå¹ 480pxã®æ¶²æ¶ã¢ãã¿ã¼ããããã¨ãã¤ã¡ã¼ã¸ãã¦æ¬²ããããããviewportã¨å¼ã¶ã ãã©ã¦ã¶ã¯viewportã«ã¬ã³ããªã³ã°ãããviewportã®ä¸ã§ã¯ãããããæ¬å½ã«480pxã®ã¢ãã¿ã¼ã使ã£ã¦ãããã®ãããªç°å¢ã«ãªã£ã¦ããããªã®ã§ãJSã®document.documentElement.clientWidthãªããã480ãè¿ãããmedia queryã®æ¡ä»¶å¤å®ã§ã480pxã®ç»é¢å¹ ã使ãããã 次ã«viewportãå®éã®æ¶²æ¶ç»é¢ã«è¡¨ç¤ºããããã®æãview
ç»é¢ãµã¤ãºå¥ã«CSSãã¡ãã£ã¢ã¯ã¨ãªã§åãæ¿ããæ¹æ³ç»é¢ãµã¤ãºå¥ã«CSSãã¡ãã£ã¢ã¯ã¨ãªã§åãæ¿ããæ¹æ³ã解説ãã¡ãã£ã¢ã¯ã¨ãªã¨ã¯ãç»é¢ãµã¤ãºãªã©ã®é²è¦§ç°å¢ã«å¿ãã¦é©ç¨ã¹ã¿ã¤ã«ãåãæ¿ããCSSã®æ©è½ã§ããã¬ã¹ãã³ã·ãWebãã¶ã¤ã³ãä½ãéã«ã使ããHTMLã®mediaå±æ§å¤ãCSSã®@mediaè¦åã§æ¡ä»¶ãæå®ãã¾ããã¹ããå°ç¨ã¹ã¿ã¤ã«ããPCçã®åºãç»é¢å¹ åãã¹ã¿ã¤ã«ãªã©ãä½æãã¦ãããç°¡åã«åãæ¿ãããã¾ãã ã¡ãã£ã¢ã¯ã¨ãªï¼Media Queriesï¼ã¨ã¯ãç»é¢ãµã¤ãºãç»é¢è§£å度ãªã©ã®é²è¦§ç°å¢ã«å¿ãã¦é©ç¨ã¹ã¿ã¤ã«ãåãæ¿ããããCSSã®æ©è½ã§ãCSS3ãã追å ããã¾ãããå¾æ¥ããCSSã®ä»æ§ã«ãã£ããããã¤ã¹ã®ç¨®é¡ã«å¿ãã¦é©ç¨ã¹ã¿ã¤ã«ãåãæ¿ããããã¡ãã£ã¢ã¿ã¤ãï¼Media Typeï¼ãæ¡å¼µãã¦ä½ãããä»æ§ã§ãã ã¡ãã£ã¢ã¯ã¨ãªã使ããã¨ã§ãWebãã¼ã¸ã®é²è¦§è ãå©ç¨ãã¦ãããã
webãã¶ã¤ã³ã®å¤§ããªåé¡ã®1ã¤ã¯ãã¹ãããã¥ã¼ã«ããã縦é·ç»åãä»åã¯ã縦æ¹åã®ã¬ã¹ãã³ã·ãããç´¹ä»ãã¾ããæãä»ãã§å®è£ ãã¦ã¿ãã®ã§ãããé©ãã»ã©ã¹ãããã¥ã¼ãæ¹åã§ããã®ã§ããã®Javascriptã®ã³ã¼ããç´¹ä»ãã¾ãã ãã¢ãè¦ã 1ã縦æ¹åã®ã¬ã¹ãã³ã·ããã£ã¦ä½ï¼ç¸¦é·ç»åãã¹ããã§è¦ããµã³ãã«ä»åã®åé¡ã¯ã縦é·ç»åã®ã¹ãããã¥ã¼ã§ããiPhoneãAndroidã®è§£èª¬è¨äºãªã©ã§ã¹ã¯ãªã¼ã³ã·ã§ãããè¼ããå ´åã縦ã«é·ãç»åãå©ç¨ãã¾ãããï¼ããã¨ã¹ãããã¥ã¼ã§ã¯ãµã³ãã«å³ã®ããã«ãç»åãç»é¢å ¨ä½ãå é ãã¦ãã¾ããã¨ãå°ãªãããã¾ããã max-width:100%ãè¨å®ãããã¨ã§ã横æ¹åãã«ã¯æé©åãã¦ãã¦ããã縦æ¹åãã«ã¯æé©åã§ãã¦ããªãä¾ã§ããç»åã¯ãã£ã±ãæåã¨ä¸ç·ã«è¦ããã§ãããâ¦ãmax-height:...%ã¯ãç»é¢ã®é«ããã§ã¯ãªããã³ã³ãã³ãã®é«ãããåºæºã«ãªãã®ã§
Googleãå æ¥çºè¡¨ããAndroid Lã§ä½¿ãããæ°ããUXãMaterial Designãã§æ¡ç¨ããã¦ãããããªã¿ããããã¨æ³¢ç´ã®ããã«åãåºããã¨ãã§ã¯ããå®è£ ãããã¯ããã¯ãç´¹ä»ãã¾ãã ã¿ãããã¯ãªãã¯ã§ããè¦ãããã®ã¯ãæ¼ããæãã«ã¸ããã¨ãã§ã¯ãã§ãããããã®æ³¢ç´ã¯ãã©ããã«ãã£ã¦ã¦ãªããªãããã¨ãã§ã¯ãã§ããã Material Design æ³¢ç´ç¶ã®ã¨ãã§ã¯ãã®ã³ã¼ãã¯ãä¸è¨ã®ããã«ãªãã¾ãã HTML divè¦ç´ ã§ç©å½¢ã®ãã¿ã³ãä½æãã¾ããã©ãã«ã¯ã¹ã¿ã¤ã«ã·ã¼ãã®contentå±æ§ã§é ç½®ãã¦ãã¾ãã <div id="button" class="android-btn"></div> <div id="button2" class="android-btn ink"></div> CSS ã¨ãã§ã¯ãã®ã¢ãã¡ã¼ã·ã§ã³ããã¿ã³ã®ãµã¤ãºãæ³¢ç´ã®å¤§ããã¯ãã¹ã¿ã¤ã«ã·ã¼ãã§
photo by Scolirk å°æ¹ã§ããã«ãããã¤ã¹å¯¾å¿ãæ±ãããããã¨ãå¤ããªã£ã¦ãã¾ããã å¾ã ã«å¯¾å¿ãã¦ããã¨ãããå¢ãã¦ããããã ã¨æãã¾ãã ç§ãæ¨å¹´ããã¬ã¹ãã³ã·ãWEBãã¶ã¤ã³ã«ã¤ãã¦ã 対å¿ããå¿ è¦ãããã¾ããã®ã§ã調ã¹ããã®ãã¾ã¨ãã¦ã¿ã¾ããã ããã ã¬ã¹ãã³ã·ãWebãã¶ã¤ã³ã¨ã¯ï¼ ã®ã£ã©ãªã¼ãµã¤ã ã¬ã¹ãã³ã·ãWebãã¶ã¤ã³ã®ä½ãæ¹ ç»åã®åãæ¿ãã»æé©å ã¬ã¹ãã³ã·ã対å¿ã®ãã¬ã¼ã ã¯ã¼ã¯ ã¬ã¹ãã³ã·ã対å¿ã®ã©ã¤ãã©ãª ãµã¤ãã®é«éå ã¬ã¹ãã³ã·ãWebãã¶ã¤ã³ã¨ã¯ï¼ 2å¹´ç¨åããæµè¡ãå§ããã¬ã¹ãã³ã·ãWebãã¶ã¤ã³ã åºæ¬çãªèãæ¹ãã¡ãªããã»ãã¡ãªãããç解ãã¦ãããªãã¨ãã©ãã«ã®å ã«ãªãã¾ãã ã¬ã¹ãã³ã·ãWebãã¶ã¤ã³ã®åºæ¬ ã¬ã¹ãã³ã·ãWebãã¶ã¤ã³ã®åºç¤ å¿ èªï¼5åã§ãããæµè¡ã®ã¬ã¹ãã³ã·ãWebãã¶ã¤ã³ã¾ã¨ã | æ ªå¼ä¼ç¤¾LIG 5åã§åããã¬ã¹
ä»åãã®ããã° - Webãã¶ã¤ã³ã¬ã·ãããiPhone ãªã©ã§ãè¦ããããã«ãªãã¶ã¤ã³ãã¾ããã使ç¨ããã®ã¯ CSS3 ã® Media Queriesï¼ã¡ãã£ã¢ã¯ã¨ãªï¼ãã¡ãã£ã¢ã¯ã¨ãªã®ä½¿ãæ¹ãææ³ãæ°ãã¤ããã注ææ¸ããã¾ã¨ãã¦ã¿ã¾ããï¼ é ãã°ããªãããã®ããã° â Webãã¶ã¤ã³ã¬ã·ãããã¹ãã¼ããã©ã³ã§ãè¦ããããã«æ¹ä¿®ãã¾ããããã®ããã°ã¯ WordPress ã§æ¸ãã¦ããã®ã§ãã¹ãã¼ããã©ã³ã iPad ã¸ã®å¯¾å¿æ¹æ³ã¯ããã¤ãããã®ã§ãããä»å㯠CSS3 ã® Media Queriesï¼ã¡ãã£ã¢ã¯ã¨ãªï¼ã使ã£ã¦ãiPadãiPhone ãªã©ãããããªããã¤ã¹ã«å¯¾å¿ï¼å¯¾å¿ã¨ããããä¸å¿è¦ããç¨åº¦ï¼ã«ãã¦ã¿ã¾ããã ãªã®ã§ Media Queries ã使ã£ãã¹ãã¼ããã©ã³å¯¾å¿ã¨ããªãã¶ã¤ã³ããªããæã£ããã¨ãªã©ãã¾ã¨ãã¦ã¿ã¾ããã CSS3 Media Queries ç®æ¬¡
photo credit: ak_tokyo via photopin cc ã¬ã¹ãã³ã·ããµã¤ããæ§ç¯ããéãæå¤ã¨å¼ã£ãããã®ããã°ãã¼ãã«ããã ãã¼ã¸ã®æ¨ªå¹ ï¼ãã£ã³ãã¹ï¼ãã£ã±ãã«è¡¨ç¤ºããããã¨ãå¤ãé¢ä¿ä¸ããã£ã³ãã¹å¹ ãä¸å®ã§ãªããªãã¬ã¹ãã³ã·ãWebãã¶ã¤ã³ã§ã¯ä¸çç¸ã§ã¯ããã¾ããã æ £ããªãå ã¯èããã®ãé¢åã§ãã¹ããå°ç¨ã®ããã²ã¼ã·ã§ã³ãå¥éç¨æããããããã°ãã¼ãã«ãããã¾ããã¨é表示ã«ãã¦ãã¾ããã¨ãããã¨ããããæ¹ã®å°ãªããªãã®ã§ã¯ãªããã¨æãã¾ãã ä»åã¯ãã¬ã¹ãã³ã·ãWebãã¶ã¤ã³ã§ä½¿ããã°ãã¼ãã«ããããã¾ã¨ãã¾ããã ï¼ï¼ãCSSãTable-cellã§ï¼è¡è¡¨ç¤º ãã°ãã¼ãã«ããã¯çµ¶å¯¾ã«ï¼ååºå®ããã以å¤ã¯èªããªããã¨ããæ¹åãã®æ¹æ³ã ããã使ãã¨ééããªãï¼åã®ã°ãã¼ãã«ãããä½ãã¾ãã åçã¯ç°¡åã§ãï¼åã ãã®tableãä½ãã¨ããã ãã®ãã¨ã§ãã CSS
ãã¼ã«ã»ã³ã12æ19æ¥çºè¡¨ãããPCã¨ã¹ãã¼ããã©ã³ããããã®ããããµã¼ãã¹å©ç¨ååã®åæçµæã«ããã¨ãã¹ãã¼ããã©ã³ããã®å©ç¨ãå¤ãã£ãã®ã¯ãSNSã天æ°äºå ±ãªã©ä¸è¬çã«ç¸æ§ãããã¨è¨ããã¦ãããµã¼ãã¹ã®ã»ãããé£åãæçããæ飾ãç¾å®¹ããªã©ã ã£ãã 調æ»ååã¢ãã¿ã¼ã®å®éã®ã¢ã¯ã»ã¹ãã°ããã¨ã«ãPCï¼ã¹ãã¼ããã©ã³ããããã®å©ç¨ååãææ¡ãããããè¦è´ç調æ»ã§ç®åºã10æã«ãããã¹ãã¼ããã©ã³ããã®ã¤ã³ã¿ã¼ãããå©ç¨è ã¯3500ä¸äººã§ãPCå©ç¨è ï¼5380ä¸äººï¼ã®65ï¼ ã®è¦æ¨¡ã«ãªã£ãã ã«ãã´ãªå¥ã«è¦ãã¨ãã¹ãã¼ããã©ã³ããã®å©ç¨ãå¤ãã£ãã®ã¯ãã³ãã¥ãã±ã¼ã·ã§ã³ããå°å³ãä¸è¬æ è¡æ å ±ãã天æ°ããªã©ä¸è¬çã«ç¸æ§ãè¯ãã¨ããã¦ãããã®ã®ã»ãããé£åãæçããæ飾ãç¾å®¹ããªã©ãéã«ãããã¼ã¿ã«ãã³ãã¥ããã£ãããªã³ã©ã¤ã³ã¢ã¼ã«ãããããªã¨æ ç»ããèªåè»æ å ±ããªã©ã¯PCããã®é²è¦§ãå¤ãã£ã
ã¹ããã³ã¼ãã£ã³ã°ãã ãã¾ã¬ã·ã¬ã·ä¸ã®@cappeeã§ãã ä»åã¯ãæå¤ã¨ç¥ããªããã¨ããããã便å©ã ãã©ãªããªã使ããªãCSSãããããã¾ãããã ä»åã¯ãdisplay:table-cell ããç´¹ä»ãã¾ãã ãªããªã使ããªãã¨è¨ã£ãçç±ã¯IE8以éããã®å¯¾å¿ã«ãªãããã§ãã ãã ããdisplay:table-cell ã¯ã¹ãã¼ããã©ã³ãµã¤ãã®å¶ä½ã«ããªã便å©ãªã®ã§è¦ãã¦ãããã¨ã¯å¿ é ã§ããã display:table-cell ã§è¦ç´ ãç°¡åã«æ¨ªä¸¦ã³ display:table-cell ã¨ã¯ãè¦ç´ ããã¼ãã«ã®ããã«è¡¨ç¾ãããã¨ãã§ããããããã£ã§ãã 親ã®è¦ç´ ã«Â display:table ãæå®ãããã¨ã§ãã¼ãã«ã¨åããããªæ§é ã§æå®ãããã¨ãã§ãã¾ãã display:table-cell ãæå®ããè¦ç´ ã¯ãã¼ãã«ã®ããã«é«ããåãã«ãªãã¾ãã ã¾ããfloatã使ã£ã¦ããª
ã¬ã¹ãã³ã·ããã¶ã¤ã³ ããã¤ã¹ãæ¤ç¥ããã¬ã¤ã¢ã¦ãã調æ´ããã¬ã¹ãã³ã·ããã¶ã¤ã³ã¯ãä¸è½åã®æ¦ç¥ã§ãããããã¤ã¹ã®ã¿ã¤ãã«é¢ããããURLã¯ä¸ã¤ã§ãããã¬ã¤ã¢ã¦ãã®èª¿æ´ã¯èªåçã«è¡ããããããã¯ãã¹ãã¼ããã©ã³ãã¿ãã¬ãããã©ããããããããã¦ã巨大ãªã¢ãã¿ã¼ã®å ¨ã¦ã«æå¹ã§ããã ã¯ãã¼ã«ã¯å¹çããè¡ãããã¦ã¼ã¶ã¼ã¯ããªãã¤ã¬ã¯ããããããé ããçµé¨ãããã¨ã¯ãªããããã¦ãæ¤ç´¢ã¨ã³ã¸ã³ã¯ãä¸ã¤ã®ãã¼ã¸ãã¤ã³ããã¯ã¹ãã¦ãã©ã³ã¯ä»ããè¡ããã¨ãåºæ¥ãã ã¦ã¼ã¶ã¼ã«ã¨ã£ã¦ããã°ã¼ã°ã«ã«ã¨ã£ã¦ããå®ç¨çã§ããã誰ããå¾ãããã ã°ã¼ã°ã«ã¯ãCSSãJavaScriptçã®ãªã½ã¼ã¹ã®ã¯ãã¼ã«ããããã¯ããææ³ãè¦ãã¦ããªãããªããªããã°ã¼ã°ã«ã¯ãã¬ã¹ãã³ã·ããªãã¼ã¸ã®è¦ç´ ãæ§ç¯ããå¿ è¦ãããããã ï¼ãã®ãããªãªã½ã¼ã¹ããããã¯ããªãæ¹ãè¯ãã¨ã°ã¼ã°ã«ã¯è¦ãã¦ããï¼ã å¯ä¸åé¡è¦ãããã®ã¯ããã¼ã¸ã®
Demo: åç´åã®ã¿ã ã¿ãã¬ããããã¹ã¯ããããªã©ã®åºãã¹ã¯ãªã¼ã³ã§ã¯åç´åã§å³å´ã«ã³ã³ãã³ãã表示ãããå°ããã¹ã¯ãªã¼ã³ã§ã¯æ°´å¹³åã«è¡¨ç¤ºããã¾ãã Tabbyã®ä½¿ãæ¹ ã¹ãããã¯2ã¤ã§ãã Step 1: å¤é¨ãã¡ã¤ã« å½ã¹ã¿ã¤ã«ã·ã¼ããheadå ã«ãã¹ã¯ãªããã¨jQueryãbodyã®ä¸ãããã«è¨è¿°ãã¾ãã <head> ... <link rel="stylesheet" href="tabby.css" type="text/css"> </head> <body> ... <script src="http://code.jquery.com/jquery-1.9.0.min.js"></script> <script src="tabby.js"></script> </body> Step 2: HTML HTMLã¯ãã¢ããã¼ã¹ã«ç´¹ä»ãã¾ãã Demo: ãã¼ã·ãã¯ã¿ã¤ã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}