ç³ã訳ãããã¾ããã åªä»ã¡ã³ããã³ã¹ä¸ã§ãã
ga-ratio.js �L��rU // Create the test var pixelRatio = (window.devicePixelRatio >= 1.5) ? "high" : "normal"; .. // Pass it along through GA var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-xxxxxxxx-x']); // --- IMPORTANT LINE! // params: event method, custom variable slot, variable name, variable value, scope level // more info: https://developers.google.com/analytics/devguides/collection/gajs
ã¯ããã« ã¿ãªããããã«ã¡ã¯ãé«éåãSCSSã®è¨äºãæ¸ãã¦ããéä¸ã§ãã åããåç·¨ï¼ãã©ã³ãä½æãã¢ã¤ã³ã³ãWebãã©ã³ãåãã¦ãªã¯ã¨ã¹ãæ°ã®åæ¸ã¨Retina Displayã«ä¸çºå¯¾å¿ãã¯ãã¤ã³ã¯ã©ãããã¿ã§ãã©ã³ãã®ä½æã«ã¤ãã¦ç´¹ä»ãã¾ããã ä»åã¯ãä½æãããã©ã³ããWebãã©ã³ãåãã¦èªã¿è¾¼ãã§ã¿ããã¨æãã¾ãã ååä½æããå é¡ãã©ã³ãã¯ãã¡ã Creeperãã©ã³ãããã¦ã³ãã¼ã 1ï¼Webãã©ã³ãã«ã¤ã㦠å°ãå¤ãã§ãã詳ãã解説ã¯ãã¡ãã®è¨äºãWebãã©ã³ãã«ã¤ãã¦èª¿ã¹ã¦ã¿ãããã©ããã ä¸é¨æãåºãã¦ç´¹ä»ãã¾ãã 1.1ï¼Webãã©ã³ãã¨ã¯ CSS2.1æ代ãWebãµã¤ãä¸ã§å©ç¨ã§ãããã©ã³ãã¯ã¦ã¼ã¶ã¼ã®ãã¼ã«ã«ç°å¢ã«ã¤ã³ã¹ãã¼ã«ããã¦ãããã©ã³ãã«éããã¦ãã¾ãããMacãWindows PCå ±éã®ãã©ã³ãã¯ç¡ããããã¶ã¤ã³ã«ã大ããªå¶ç´ãããã¾ããããã¶ã¤ã³ãã©ã³
æ¬ä¼¼è¦ç´ 㨠content ããããã£ãå©ç¨ããç»åç½®æãã¯ããã¯ã® NIR (Nash Image replacement) ã¨ããããã Retina ãã£ã¹ãã¬ã¤åãã®é«è§£å度ç»å (sprit[email protected] ã¿ãããªãã¤) ãçµã¿åãããæ¹æ³ã«ã¤ãã¦ãã¾ã㯠NIR ã«ã¤ãã¦ãããã: .nir { overflow: hidden; width: 160px; height: 50px; *background: url(sprites.png) no-repeat 0 -25px; *text-indent: -9999px; } .nir:before { content: url(sprites.png); display: inline-block; font-size: 0; line-height: 0; margin-left: 0; margin-top: -
When building an app for iOS, you have to provide the normal-sized and double-sized images for each graphic. This is where the strongest Adobe Fireworks feature comes in. In this article, Ivo Mynttinen describes how to design an iOS app with Adobe Fireworks for the iPhone and shows a few techniques which allow you to design faster, achieving the best possible results. Since the release of iPhone 4
ã¢ããã¼ãæ¹æ³ã¯éããã®ã®ããã®dipã¨å ç¨ã®ããã¤ã¹ãã¯ã»ã«æ¯ã¯ã»ã¼åãç®çãæã£ãæ©è½ã§ãã åèï¼Androidã¬ã¤ã¢ã¦ãã®åä½ â dpã«ã¤ãã¦æãä¸ãã â ã¢ã³ããç«ã¦ã¦ viewport ä»®æ³çãªã¦ã¤ã³ãã¦ãµã¤ãºã§ãã viewportããªãã¨ä»®å®ããå ´åãããã¤ã¹å¹ 320pxã®iPhoneã§ã¤ã³ã¿ã¼ãããã«ã¢ã¯ã»ã¹ããæã®ã¦ã¤ã³ãã¦ãµã¤ãºã¯320ãã¯ã»ã«ã¨ãªããé常ã®ãµã¤ããé²è¦§ããã«ã¯ä¸ä¾¿ã§ãã ããã§ä»®æ³çã«å¤§ããã¦ã¤ã³ãã¦ãµã¤ãºã¨ãããã¨ã§ãé常ã®ãµã¤ãã§ãã²ã¨ç®ã§æ å ±ãè¦ããé²è¦§æ§ãæä½æ§ãé«ã¾ãã¾ãã viewportã®ããã©ã«ãå¤ã¯980ãã¯ã»ã«ã§ãã ï¼â»iPhoneã¯980ãã¯ã»ã«ã§ééããªãã®ã§ããå ¨ã¦ã®ã¹ããã§980ãã¯ã»ã«ã§ããããï¼ æ å ±ãè¦ã¤ãããªãã£ãã®ã§ç¥ã£ã¦ãæ¹ã¯æãã¦ãã ããï¼ ã¾ããviewportã®æ°å¤ã¯ãµã¤ãå´ã§æå®ã§ãã¾ãã ã¹ãã
I am a designer who loves to make things, build teams, and support others in doing so. You will find me often making photographs, having conversations with creatives and technologists on Full Stack Whatever, and work on side projects like Shoebox, and a Darkroom Presets directory. When I am not behind a computer, I enjoy the California sun, various other creative pursuits, and advise others on the
ã¢ããªã®ãµãã¼ããµã¤ããä½ã£ã¦ãRetina対å¿ãæ°ã«ãªã£ãã®ã§èª¿ã¹ã¾ããã ä»åä½ã£ããµã¤ãã¯ãããªæã hiranodept apps 以åã¯CSSã§åãæ¿ãããã£ã¦ããã®ã§ãããJSã®æ¹ã楽ã§ããã imgè¦ç´ ãã¨ã£ã¦ãã¦ãRetinaã®å ´åã¯ãã¬ãã£ãã¯ã¹(@2x)ãä»ããã®ãç°¡åããªã¨æãã¾ããã 以ä¸ãå ãã¿ã§ãã Retinaãã£ã¹ãã¬ã¤æã«èªã¿è¾¼ãç»åãåãæ¿ããjQueryãã®2 <img src="images/grey.png" data-original="images/logo.png" alt="" width="50" height="50" /> srcã«ã¯ããã¼ç»åã®ãã¹ãå ¥ãã¦ããã¾ãã data-originalã«ç»åã®ãã¹ãå ¥ãã¦ããã¾ãã ãããããã¨ã§ãç¡é§ãªç»åãèªã¿è¾¼ã¾ãªãã¦æ¸ãããã§ãã $(function(){ $('img').eac
å æ¥å ¬éããRetinaãµãã¼ãWebã¸ã®ç¬¬ä¸æ©ã¯Macãå®éå®å£Blogã§ãæ¡ãä¸ãã¦ããã ãããããéè¨ããã°ããã® Blog ã«ã¯ãã£ãããªãã»ã©ã®é²è¦§æ°ã¨ãªã£ããæè¬ï¼ ååã®ã¨ã³ããªã¼ã§ã¯<img>è¦ç´ ã®ç»åãç½®ãæããæ¹æ³ã説æãããæ稿ã¨ã³ããªã¼ã®ç»åãç½®ãæãã¦ããã«ã¯ãã®æ¹æ³ãé©ãã¦ããã¨æãããä»åã¯ããã¯ã°ã©ã¦ã³ãç»åã Web ãµã¤ãã§ä½åº¦ãç»å ´ããåºå®ç»åããã¹ã¿ã¤ã«ã·ã¼ããç¨ãã¦å¤æ´ããæ¹æ³ã説æããã ä»æ¥ãããã®ããã°ã®ã¡ãã¥ã¼ã¯ Retina 対å¿ã®ãã¯ã¹ãã£ã¼ãèæ¯ç»åã¨ãã¦ç»é²ãã¦ãããRetina 対å¿ã§ãªãç°å¢ã§è¦ãã¨ãã ã®ã°ã©ãã¼ã·ã§ã³ã表示ããããã Retina ãã£ã¹ãã¬ã¤ã§è¦ãã¨ç´°ããªã¡ãã·ã¥ãã¿ã¼ã³ãã¡ãã¥ã¼ã®èæ¯ç»åã¨ãã¦ç¾ããããããããããã£ã¦ä¸¦ã¹ãã¨æç¶ã¨ãããã [retina normal=âhttp://blog.taiy
Retina Images serves different images based on the device being used by the viewer, all you have to do is create a high-res version of each image.Automatically serve high-res images, to those who'll appreciate them. View project on GitHub Download Retina Images (v1.0) Mouse-over to see the effect of Retina Images This demo actually replicates what happens on retina devices Back to top About Retin
iPhone 4ããã¯ãã¾ãæ°ããiPadãã¨iPad 3rdãããã¦ãã¯ã確å®çã¨ãæããã次æMacBook Proã®Retinaåãç¾ç¶ã§ã¦ã§ããµã¤ããRetinaåããå¹ççãªæ¹æ³ãèããã¨ã âRetina Imagesâ ã使ãã®ãæé©è§£ãªæ°ããã¦ããã Retinaç»åã対å¿ç«¯æ«ã«è¡¨ç¤ºãããå ´åã imgã¿ã°ã«ããè¨ç½® <img src="[email protected]" width="100" height="100" alt="bar"> background-imageã«ããè¨ç½®æ¹æ³ <style> #foo { width: 100px; height: 100px; background: url(bar.png) no-repeat; } @media only screen and (-webkit-min-device-pixel-ratio: 1.5) { #foo
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}