Create better wireframes with an app fine-tunedfor wireframing Essential tools made simpler and smarter. Nothing to distract or slow you down. Achieve the right level of detail faster.
Translation of: Getting Started with Sass - A List Apart CSSã®æã¤ãã®ç°¡æãã¯æ¬ ãããªãç¹å¾´ã®ä¸ã¤ã§ãããã¯æãæè¿ããã¦ããç¹ã§ãããCSSã«ããã¹ã¿ã¤ã«ã·ã¼ãã¯ãã»ã¬ã¯ã¿ã¼ã¨ããã¤ãã®é©ç¨ãããã¹ã¿ã¤ã«æ å ±ãå«ãã«ã¼ã«ãç¾ åãããã®ã«éãã¾ãããããããWebãµã¤ããWebã¢ããªã±ã¼ã·ã§ã³ã巨大ã«ãããã¦è¤éã«ãªããæ§ã ãªããã¤ã¹ãç»é¢ãµã¤ãºã«å¯¾å¿ããããå¾ãªããªã£ãç¾å¨ããã®ç°¡æãã¨ããç¹å¾´âfontã¿ã°ããã¼ãã«ã»ã¬ã¤ã¢ã¦ãã®æ·æ±°ã«å¤§ãã«å½¹ã«ãã£ããã®âã大ããªè¶³ããã«ãªã£ã¦ãã¾ãã ç°¡åãªè¨ç®æ©è½ãå¤æ°ã追å ãããªã©ã¨ãã£ãCSSã®ä¿®æ£æ¡ãéå»ã«æ示ããã¾ããããã©ãããã©ã¦ã¶ã¼ã»ãã³ãã¼ã«ã¯æ¡ç¨ããã¾ããã§ãããä»®ã«ãããã£ãæ°ããç´ æ´ãããæ¡å¼µãããCSSããããã©ã¦ã¶ã¼ã«å®è£ ãããã¨ãã¦ãããããå®ç¨ã«èããç¨åº¦ã«
åãè¨è¿°ã®ç¹°ãè¿ããé²ãã¡ã³ããã³ã¹æ§ãæè»æ§ãåä¸ W3Cã«ãã£ã¦çå®ãããä»æ§ã®1ã¤ã§ãHTMLï¼XMLã®è¦ç´ ã®è¡¨ç¤ºãã³ã³ããã¼ã«ããããã«çã¾ããã®ããCSSãï¼â Cascading Style Sheetsï¼ã§ããHTMLã¨ãã®CSSãçµã¿åããããã¨ã«ãã£ã¦ãææ¸æ§é ï¼HTMLï¼ã¨è¦ãç®ã®è¡¨ç¾ï¼CSSï¼ãåãé¢ããã¨ãå¯è½ã«ãªãã»ããHTMLã ãã§ã¯å®ç¾ã§ããªããã¶ã¤ã³ãã¬ã¤ã¢ã¦ããå¯è½ã«ãªãã¨ãã£ã大ããªã¡ãªããããããã¨ãããWebãµã¤ãã®æ§ç¯ãWebã¢ããªã±ã¼ã·ã§ã³ã®éçºã«ããã¦æ¬ ãããªãæè¡ã¨ãªã£ã¦ãã¾ãã ãã®CSSã§ç¾å¨æ³¨ç®ãéãã¤ã¤ããã®ãããªãã¸ã§ã¯ãæåCSSãããScalable and Modular Architecture for CSSãï¼â æ¡å¼µæ§ã®ããã¢ã¸ã¥ã¼ã«ã¢ããã¼ãï¼ã¨ãã£ãèãæ¹ã§ãããããã¯ãCSSã§è¨è¿°ããå 容ããã³ã³ãã¼ãã³ãåãããã
â»ä¸è¨ã®ååä»ãã¯ä¸è¬çãªãã®ã§ã¯ãªããä»åã®è§£èª¬ç¨ã«å®ç¾©ããååã§ããï¼Displayã¯ã©ã¹ã®ãµã¤ãºã¨ããã°ã©ãããã£ã¹ãã¬ã¤ãµã¤ãºã¨ãããã¨ã«ãªãããããããããããåªå ãã¦å³ç¤ºãã¾ãã) ç¹ã«ã¹ãã¼ã¿ã¹ãã¼ã¨ããã²ã¼ã·ã§ã³ãã¼ã¯ç«¯æ«ãã¨ã«ã¹ã¿ãã¤ãºããã¦ããå¯è½æ§ããããããåçã«åå¾ããã®ãæã¾ããé ç®ã¨è¨ããã§ããããããããªãããç´æ¥ãã®2ã¤ã®é«ãæ å ±ãåå¾ããAPIã¯åå¨ãã¦ãã¾ãããè¸ã¿è¾¼ãã§è§£èª¬ãããªãã°ããããã¯ã¢ããªã±ã¼ã·ã§ã³ã®é åå¤ã§ããã¢ããªãæ°ã«ããå¿ è¦ã¯ãªããæ°ã«ããªãã§ãããããã¶ã¤ã³ãã¬ã¤ã¢ã¦ããæ¤è¨ãã¹ãã§ãããã¨ããè¨è¨ææ³ãããããã¾ããè¨è¨ææ³ãå°éãããªãã°ããã®ãã¨è§£èª¬ããAPIããªãã¹ã使ããªãã§ããããã«å·¥å¤«ã§ããã¨æ©ç¨®ä¾åã®è¦æ©ãã解æ¾ãããã§ãããã åå¾ããæ¹æ³ã¯ç¶ããã ããã²ã¼ã·ã§ã³ãã¼ãé¤ãããã£ã¹ãã¬ã¤ãµã¤ãºãåå¾ãã ãã£ã¹
HTML5ã§iPhoneãAndroidåãã®ãã¤ããªããã¢ããªãä½ãã®ãæè¿ã®æµè¡ãã¿ããã§ãããã¤ããªããã¢ããªã¨ã¯ãå¤é¢ã¯æ®éã®ã¢ããªã¨ãã¦AppStoreãGoogle play marketã§ã¤ã³ã¹ãã¼ã«ã§ãããã®ã®ããã®ä¸èº«ãä¸é¨ãHTML5ã§è¨è¿°ããã¦ããã¢ããªã§ãã æè¿ã®æåãªä¾ã ã¨ãCookpadãLinkedInãã¯ã¦ãªã¹ãã¼ã¹ãå°ãåã«ãã¤ãã£ãã«ç§»è¡ãã¦ãã¾ãã¾ãããfacebookã®ã¢ãã¤ã«ã¢ããªãHTML5ã使ã£ã¦è¨è¿°ããã¦ãã¾ãããGREEçéã§è¨ããã¦ãããããã¬ã¯ãã¤ãã£ãã£ã¦ããè¨èããã¤ããªããã¢ããªãæãã¾ããã¡ãã£ã¨ã°ã°ã£ã¦ã¿ãã¨ã2016å¹´ã«ã¯ä¼æ¥åãã®ã¢ããªã®50%ããã¤ããªããã¢ããªã«ãªãã¨ããäºæ¸¬ãããã¾ãã ãã¤ããªããã¢ããªã®ä½ããããã¨ããã¨ãObjective-Cã¨ãJavaã¨ããããããªãã¦ãã¦ã§ãç³»æè¡è ã§ããã°Android
Android端æ«ã®devicePixelRatio WebKitç³»ã®ãã©ã¦ã¶ã§ã¯devicePixelRatioã¨ããããããã£ãå®ç¾©ããã¦ãã¾ããããã¯ç»å1pxãå®éã®ããã¤ã¹ä¸ã§ä½pxã¨ãã¦ã¬ã³ããªã³ã°ãè¡ããã¨ãããã®ã CSSã§devicePixelRatioãç¹å®ã§ãã -webkit-min-device-pixel-ratioãªã©ã¯ iPhone4ã®Retina Display対å¿ãªã©ã§ä¸ææ注ç®ããã¾ãããã ãWebã¢ããªãiPhone4 ã§ç»åããããã«è¡¨ç¤ºããè²ã ãªæ¹æ³ã試è¡é¯èª¤ç·¨ã | KAYAC DESIGNER'S BLOG JavaScriptã§ã¯æ¬¡ã®ããã«åå¾ã§ãã¾ãã window.devicePixelRatio ããã§ãAndroid端æ«ã®devicePixelRatioãã©ããªã£ã¦ããTwitterã§è²ã ãªæ¹ã«ååããã ã調ã¹ã¦ã¿ã¾ããã
ããããã°ãFirefox 16ã¨Opera 12.10ããã¡ãã£ã¢ã¯ã¨ãªã¼ã®resolutionã¨dppxã使ããã®ãæãåºããã ãããã使ãã¨ãRetina displayã¯ããé«å¯åº¦ãªãã£ã¹ãã¬ã¤ã«å¯¾å¿ããã³ã¼ãããã£ããçããªãã ããã¾ã§ã¯ãããªæãã @media (-webkit-min-device-pixel-ratio: 2), (min--moz-device-pixel-ratio: 2), (-o-min-device-pixel-ratio: 2/1) { .foo { background-image: url(image-2x.png); } } } device-pixel-ratioã¯ãã¨ãã¨WebKitã®æ¡å¼µã ã£ããã®ããããMozillaã¨Operaãåãå ¥ããã®ã ãã©ããã³ãã¼æ¥é è¾ã®é¢åãã«å ãã¦min-/max-ã®ã¤ãæ¹ãå¤ã®æ¸ãæ¹ãã°ãã°ã
iPhone4 ãã¤ãã«å±ãã¦è奮æ°å³ã®gunjiã§ãã 2é±éå¾ ã¡ã§ããï¼ å¾ ã£ã¦ãéã«ãiPhone4ã対象ã¨ããWEBã¢ããªï¼ãã¤ãã£ãã¢ããªã®web view ãå«ãï¼ ã®ã³ã¼ãã£ã³ã°ã§æ°ãã¤ãããã¨ã«ã¤ãã¦ãããããã¦ããã¨ããã Retinaãã£ã¹ãã¬ã¤ã«ç»åãæé©åãããã®ã£ã¦æå¤ã¨ããã©ãããï¼ ã¨ããç¾å®ã«æã¡ã®ããããã®ã§ãã¾ã¨ãã¦ã¿ã¾ãã ããããRetinaãã£ã¹ãã¬ã¤ã£ã¦ãªãã§ããã£ãï¼ ã¯ãã¯ããiPhone4ã®ç®çã®ã²ã¨ã¤ã§ãä»ã¾ã§ã®2åã®è§£å度㧠ç»é¢ãã¨ã£ã¦ããã¬ã¤ã«è¦ãããã§ãããï¼ æ¡å¤§ããªãã¦ãå°ããªæåãèªãããªãã¦ãµã¤ã³ã¼ï¼ ã¨ããããä»ã¾ã§iPhoneåãã«ä½ã£ããµã¤ãããã®iPhone4ã§è¦ãã¨ã¡ãã£ã¨ ä¸æè°ãªç¶æ ã«ãªã£ã¦ããã¨ãããã®ã§ãã iPhone4ã§è¦ãããªããç»åãã«ããã§ãããã«è¦ããã»ã»ã»ï¼ï¼ ããããã¤ã¡ã¼ã¸ã§ãã ããã
ã¹ãã¼ããã©ã³ã«ã¯ãç»å1pxãå®éã®ããã¤ã¹ä¸ã§ä½pxã¨ãã¦ã¬ã³ããªã³ã°ããããã示ã devicePixelRatioã¨ããå¤ãããã¾ãã ããã®å¤ã¯webkitç³»ã§ããã°ãwindow.devicePixelRatioã«å ¥ã£ã¦ãã¾ãã javascriptã§åºåããå ´åã document.write(window.devicePixelRatio); ã§åºåå¯è½ã§ãã ã¾ããcssã§ã¯-webkit-min-device-pixel-ratioã§æå®åºæ¥ã¾ãã 調ã¹ãã¨ããiPhone4ã§ã¯ãã®å¤ã2ã«ãªã£ã¦ãã¦ã ä»ã¾ã§éãã«ç»åã表示ãããã¨èªåçã«æ¡å¤§ããã¦ç»åããã±ã¦è¡¨ç¤ºããã¾ãã ãåé¿çããã®ï¼ ãããé¿ããã«ã¯ãå®éã«è¡¨ç¤ºãããããµã¤ãºã®2åã®ãã¯ã»ã«ãµã¤ãºã®ãã®ãç¨æãã¦ã 縦横ã1/2ã«ããcssåã¯HTMLçã§æå®ãè¡ã 表示ãããã¨ç»åã®1ãã¯ã»ã«ã¨ããã¤ã¹ã®
Androidã®ç»é¢ãµã¤ãº iPhoneã¨éããæ©ç¨®ãã¨ã«ç»é¢ãµã¤ãºãéããããã¤ãç»é¢ãµã¤ãºãåå¨ãã¾ãããä½ãæ¹ã¨ãã¦ã¯ãä½è§£å度ãä¸è§£å度ãé«è§£å度ã®3種é¡ã®ãµã¤ãºãç¨æãã¾ãããã ãä½è§£å度ã®æ©ç¨®ã¯ãèªå調æ´ããã¦ããããã®ãããã®ã§ãä¸è§£å度ãé«è§£å度ã ãã«çµã£ã¦ãããããããã¾ããã 解å度ã®åãæ¹ã¯ä»¥ä¸ã®3ã¿ã¤ãã§ãã ä½è§£å度ï¼X-Peria miniãªã©ï¼ ä¸è§£å度ï¼HT-03AãHTC Heroãªã©ï¼ é«è§£å度ï¼X-PeriaãHTC desireãNexus oneãªã©ï¼ QVGAï¼240x320ï¼ WQVGA400ï¼240x400ï¼ WQVGA432ï¼240x432)
Overview Nodefront is a node.js-powered command-line utility that speeds up front-end development. Installation Installation is simple with npm: It is not recommended to use npm update nodefront due to a known bug that prevents it from adding new dependencies correctly. Introductory Screencast Before diving into the documentation, you may view a screencast that introduces some of nodefront's key f
Androidããã°ã©ãã³ã°ã®TOP㸠HTMLãJavaScriptçã®Webæè¡ã使ã£ã¦ï¼AndroidãiPhoneãªã©ã¢ãã¤ã«ç°å¢ã®ãã¤ãã£ãã»ã¢ããªãä½æããäºãã§ããã ããããã¢ããªã®äºããã¤ããªããã»ã¢ããªã¨å¼ã¶ã Androidã¨iOSã§ã¯ï¼ãã¤ããªããã»ã¢ããªãå®ç¾ããããã®ã¢ã¤ãã¢ã¯ï¼é常ã«ä¼¼ã¦ããã ä¸è¨ã®å³ãè¦ãã°ï¼ä»çµã¿ãé ·ä¼¼ãã¦ããäºãåããã¯ãã ã ãªãWindows Phoneã®å ´åãï¼ã ãããä¼¼ããããªããã¼ã 以ä¸ã§ã¯ï¼åãã©ãããã©ã¼ã ãã¨ã®è©³ç´°ãªäºæ ãã¡ã¢ããã ã¾ãï¼è¤æ°ãã©ãããã©ã¼ã éã§ã®ç§»æ¤æ§ãåä¸ãããããã«ï¼HTMLå´ã§ã©ã®ããã«å¯¾å¦ãããè¯ããï¼ã¨ãã課é¡ã«ã¤ãã¦ãè¿°ã¹ãã ï¼ï¼ï¼Androidã®å ´å Androidã§ãã¤ããªããã»ã¢ããªãå®ç¾ããããã®ä»çµã¿ã¯ï¼ä¸è¨ã®ã¨ã³ããªã«è¨è¿°ããã ãã£ãï¼ãã¡ã¤ã«ã§ï¼HTMLï¼JS製ã®ãã¤ã
Androidããã°ã©ãã³ã°ã®TOP㸠éè¦ãªãç¥ããï¼ ãã®è¨äºã§å ¬éããæ å ±ã¯ï¼Androidã®MVCãã¬ã¼ã ã¯ã¼ã¯ãAndroid-MVCãã®æ©è½ã®ä¸é¨ã¨ãã¦åãè¾¼ã¾ãã¾ããã ããæ£ç¢ºãªè¨è¨æ å ±ãï¼åä½å¯è½ãªå ¨ã½ã¼ã¹ã³ã¼ããé²è¦§ãããå ´åï¼ãAndroid-MVCãã®å ¬å¼ãã¼ã¸ããæè¡æ å ±ãåç §ãã¦ãã ããã Androidã®MVCãã¬ã¼ã ã¯ã¼ã¯ - ãAndroid-MVCã http://code.google.com/p/android-mvc-... jQuery Mobileã¯ï¼ ã¹ããåãã®åçUIãï¼JavaScriptãæ¸ããã«ä½æã§ãããã¼ã«ã HTML5ãæ¸ãã ãã§ï¼åãã®ããç»é¢ãã³ã¼ãã£ã³ã°ã§ããã 極ãã¦æãã¹ãUIæ§ç¯è½åãæã£ã¦ããã®ã§ï¼ãUIã®ããã®DSLï¼ãã¡ã¤ã³ç¹åè¨èªï¼ãã¨å¼ãã§ããããããã ã ãã®ã©ã¤ãã©ãªã¯ï¼Webãµã¤ãã®ç»é¢ã ãã§ãªãï¼
Android SDKã®JavaDocã®èª¬æã¯ããªãç°¡ç´ ãªãã ãã©ãWebViewã®addJavascriptInterfaceã®èª¬æã¯çãã説æãå¤ãã 端çã«æ訳ããã¨ããaddJavascriptInterfaceã使ãã¨ãããã®ã¢ããªã±ã¼ã·ã§ã³ãJavaScriptããæä½ã§ããããã«ãªãããã¨ã¦ã便å©ãªä¾¿å©ã ãã©ãå±éºãªã»ãã¥ãªãã£ã®åé¡ããããããããæ¸ããHTML以å¤ã§ã¯ä½¿ããªãã§ãããã¨ããæãã ããªãã¸ã§ã¯ããå ¬éãããè¡çºãå±éºã ã¨ããã®ã¯ãæè¡è ã¯ç´æçã«ãããã¨æããã©ããããã©ããããå±éºãªã®ãå®éã«è©¦ãã¦ã¿ãã ã¾ãã次ã®ãããªAndroidã¢ããªã±ã¼ã·ã§ã³ãä½ã£ãã ãandroid.permission.INTERNETãããã¼ããã·ã§ã³ã«æå®ãã¦ãWebViewãç»é¢ã«è¨å®ããå¾è¿°ããHTMLãéãããã«ããã WebViewClientã®èª¬æã¯å²æã
åºç¤ç¥è Androidã¢ããªã±ã¼ã·ã§ã³ã§åãè¾¼ã¿ãã©ã¦ã¶ã®ãããªãã®ãå®ç¾ããããã®Viewã³ã³ãã¼ãã³ãã§ããandroid.webkit.WebViewã«ã¯æ¬¡ã®ãããªã·ã°ããã£ã§addJavascriptIntefaceã¨ããã¡ã½ãããçãã¦ãã¾ãã http://developer.android.com/reference/android/webkit/WebView.html#addJavascriptInterface(java.lang.Object,%20java.lang.String) ããã¯ãç°¡åã«è¨ãã¨Javaã®ãªãã¸ã§ã¯ããWebViewå ã§ãã¼ããããJavaScriptããå©ããããã«ãªããã¨ãããã®ã§ããä¾ãã° class JSInterface { private Context context; public JSInterface(Context c
UIWebView 2012å¹´06æ29æ¥ iPhoneã®ãã¤ãã£ãæ©è½ãWebViewããå¼ã³åºãæ¹æ³ï¼ï¼ï¼ ã»ã¯ããã« ãªã¯ã¼ãåºåã®ãReward Plusãã®æ å½ã¨ã³ã¸ãã¢ããã£ã¦ãã¾ããæ³¢åã§ãã æè¿ãiPhoneåãã®æ°ãµã¼ãã¹ãç«ã¡ä¸ãããç§èªèº«ãiPhoneã¢ããªéçºã«å ¥éããã°ãããªã®ã§ãiPhoneç³»ã®éçºã®è©±é¡ãæä¾ã§ããã°ã¨æãã¾ãã ã»ãã¤ãã£ãã¨Webã®é£æº ãHTML5ã®æ®åã§ãæ¨ä»ãã¤ãã£ãæ©è½ã§ããå®ç¾ã§ããªããã¨ã¯ãã ãã¶æ¸ã£ã¦ãã¾ããã Webã®æ¹ãæè»æ§ããããããããã¤ãã£ãã®éçºãããå°ãªãå´åã§éçºãããã¨ãã§ããã®ã§ãWebãå©ç¨ã§ããå ´é¢ã§ã¯ç©æ¥µçã«æ´»ç¨ãã¦ãããããã®ã§ãã ä¸æ¹ã§ãã¢ããªå 課éãããã¤ã¹æ©è½ã¸ã®ã¢ã¯ã»ã¹ãããã·ã¥éç¥çã¨ãã£ãiPhoneã®ç¹æ§ãçããããµã¼ãã¹ãã¤ããããã«ã¯ããã¤ãã£ãæ©è½ã¸ã®ã¢ã¯ã»ã¹ã¯ãã¾ã ã¾ã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}