11. $baseColor: #AD253A; å¤æ°ãä»£å ¥ body { background-color: $baseColor; å¤æ°ãåºå } #globalHeader { #gNav { color: $baseColor; å¤æ°ãåºå } } #main #featureList { a { h3 { color: $baseColor; å¤æ°ãåºå } } }
11. $baseColor: #AD253A; å¤æ°ãä»£å ¥ body { background-color: $baseColor; å¤æ°ãåºå } #globalHeader { #gNav { color: $baseColor; å¤æ°ãåºå } } #main #featureList { a { h3 { color: $baseColor; å¤æ°ãåºå } } }
ããã©ããåã§ãã ãã³ãæ代ã®æµãã®éããã²ãã²ãã¨æããä»æ¥ãã®é ã§ãã ååã®è¨äºã§sasså°å ¥ã«ã¤ãã¦æ¸ããã¦é ããã®ã§ããã CSSã©ã¤ãã©ãªåï¼ Sass(scss)ã®ã¤ã³ã¹ãã¼ã« 使ç¨æ¹æ³ mac ãããªäºããªãã¦ããããã«ç°¡åsassãã³ã³ãã¤ã«åºæ¥ããï¼çãªGUIãã¼ã«ãSCOUTãã®ãç´¹ä»ã§ãã ã¿ã¼ããã«çãæ±ããªãã¦ããã®ã§ãsasså°å ¥ã®æ·å± ãä¸ãã£ãã®ã§ãªãã®ã§ããï¼ï¼ ããã§ããã¼ã ã§ã¯ã ã¤ã³ã¹ãã¼ã« SCOUT http://mhs.github.com/scout-app/ ãã¡ãã®å ¬å¼ãã¼ã¸ãã ADOBE AIRã§ä½æãããã¢ããªãã¤ã³ã¹ãã¼ã«ãã¾ãã 赤ãç·ã§å²ãã é¨åãã¯ãªãã¯ï¼ï¼å½æ¹ã®ç°å¢ã¯macãªçºãmacç°å¢åæã§è©±ãé²ãããã¦é ãã¾ããwinãå¤ãããªãã¨æãã¾ããï¼ ãã¦ã³ãã¼ãå¾ dmgãã¡ã¤ã«ãããã«ã¯ãªãã¯ã Install S
Sassã«ã¤ãã¦è©±ãã¦ããããã¾ãåããªããªã©ã®ååããããã ãã¾ãã ã¤ã³ã¹ãã¼ã«ã¯ãã£ã±ãå®å ¨åãã¦ã ã¨é£ãããã§ããããã®åçãè¾¼ãã¦ãWindowsã§ã®ã¤ã³ã¹ãã¼ã«æ¹æ³ã説æãããã¨ã«ãã¾ãã æå ã«Windows XPãããªãã®ã§ãWindows XPã§ã®æä½èª¬æã«ãªãã¾ãããäºæ¿ãã ãã... é©å½ã«èªã¿æ¿ãã¦é²ãã¦ãã ããã RubyInstaller for Windowsã®ãã¦ã³ãã¼ã Sassã®å ¬å¼ãµã¤ãã«ããªã³ã¯ãããã¾ããã以ä¸ã®ãµã¤ãããRubyInstallerããã¦ã³ãã¼ãã§ãã¾ãã RubyInstaller for Windows ããã®ãã¦ã³ãã¼ããã¼ã¸ã«ç§»åããããRubyInstallersã¨ããé ç®ãããã®ã§ã Ruby1.8.xããã¦ã³ãã¼ããã¾ããRuby1.9.xããã¦ã³ãã¼ããã¾ãã Rubyã¯1.9ç³»ã¨1.8ç³»ããã£ã¦ãä»ã¯1.9ç³»ã¸ã®ç§»
HTMLãCSSãJavascriptããã¶ã¤ã³ãçµµãæãããã
ãã®ææ¸ã¯å¤ãSassã¦ã§ããµã¤ãã«è¼ã£ã¦ãããã¥ã¼ããªã¢ã«ã®è¨³ã§ã2013å¹´12æç¾å¨ããæ°ããã¦ã§ããµã¤ãã«ã¯åå¨ãã¾ãããæ°ããã¦ã§ããµã¤ãã§ã®ãã¥ã¼ããªã¢ã«ã«ãããSassã®åºæ¬ã®æ¥æ¬èªè¨³ãåç §ãã¦ãã ããã Translation of: Sass - Tutorial Ruby 㨠Sass ã®ã¤ã³ã¹ãã¼ã« ã¾ããSass ãã¡ããã¨åä½ããããã«ãã¾ããOS X ã使ç¨ãã¦ããã®ãªããæ¢ã« Ruby ãã¤ã³ã¹ãã¼ã«ããã¦ããã§ããããWindows ã¦ã¼ã¶ã¼ãªãã° Ruby ã®Windows ã¤ã³ã¹ãã¼ã©ã¼ã§ãLinux ã¦ã¼ã¶ã¼ãªãããã±ã¼ã¸ã»ããã¼ã¸ã£ã¼ã§ãããã Ruby ãã¤ã³ã¹ãã¼ã«ãããã¨ãåºæ¥ã¾ãã Ruby ã®ã¤ã³ã¹ãã¼ã«ãå®äºãããã以ä¸ã®ããã«ã㦠Sass ã®ã¤ã³ã¹ãã¼ã«ãè¡ãã¾ã: gem install sass æåã® Sass ã¹ã¿ã¤ã«ã·ã¼ã é
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}