This domain may be for sale!
This domain may be for sale!
åå¹´ã»ã©åããè¯ã話é¡ã«ãªãSassã¨ãLessã¨ãã£ã¦ãªãã ãããªã¼ã£ã¦æãã¤ã¤ããã©ããããã ãããã®æã®è¨äºã¯åé¿ãã¦ãã¾ããã ã§ããããã¤ãã®ããã«Twitterã§ã¤ã¶ããã¦ãããSassããªãè¯ããã£ã¦è¨ãã㦠ãã¸ã¼ãããªãã ããã¨èå³ãæã¡å§ã㦠å°ããã¤ã§ããè¨äºãèªã¿ããããªããSassã£ã¦ããããæããªãã ã¼ã£ã¦ããã®ãæ´ã¿ããã¦ããã®ã§è¨äºã«ãããã¨æãã¾ãã Coda2ã§æ¤ç´¢ãã¦æ¥ãæ¹ã¸ ãã®è¨äºã§ã¯Coda2ã®äºã«ã¤ãã¦ãã¾ã触ãã¦ãã¾ãããã§ããããã¡ãã®è¨äºã§ãã£ã¤ãcoda2ã®é åãèªã£ã¦ãã¾ãã®ã§æ¯éã覧ã«ãªã£ã¦ä¸ããã åèè¨äºï¼Coda2ã®ä½¿ãæ¹ããã¹ã¿ã¼åºæ¥ããã¥ã¼ããªã¢ã«[å®å ¨ç] Sassã£ã¦ãªã¼ã«? CSSãæ¡å¼µããã!ã£ã¦ããæãã®ã¡ã¿è¨èªãããã§ã!ãµã¹ã£ã¦èªããããã§ãããªãã ãåçã«ã¯ããé¿ã!ãã°ã°ããã¨ãã¨ä¼¼ã¦ããããããSass
What's this? HTMLã½ã¼ã¹ããã¨ã«ãid,classåCSSãåå«ã»ã¬ã¯ã¿CSSãåã»ã¬ã¯ã¿CSSãLESSãSASSãSCSSãèªåçæãããªã³ã©ã¤ã³ãµã¼ãã¹ã§ãã å¾æ¥ã®HTMLã³ã¼ãã£ã°ãå¼·åã«ãµãã¼ããã¾ãã What's LESS/SASS/SCSS? LESS / SASS / SCSSã¯CSSãå¹ççã«ã³ã¼ãã£ã³ã°ã§ããCSSã¡ã¿è¨èªã§ãã å¾æ¥ã®CSSã«æ¯ã¹åå«ã»ã¬ã¯ã¿ã»åã»ã¬ã¯ã¿ãç°¡åã«ç®¡çãããã¨ãã§ããé«éã«ã³ã¼ãã£ã³ã°ãããã¨ãã§ãã¾ãã LESS OFFICIAL SASS/SCSS OFFICIAL é¢é£ãµã¼ãã¹ é«ç»è³ªãµã ãã¤ã«çæãµã¼ãã¹ HTTPã¯ã¨ãªãã³ã¼ã SQLãã©ã¼ããã¿ã¼ Insertæãã©ã¼ããã¿ã¼ ã¹ãã¼ã¹ãã©ã¼ããã¿ã¼ JSONãã©ã¼ããã¿ã¼ HTML/XMLãã©ã¼ããã¿ã¼ Emmet toolkit for <textare
Sass 㯠ãã¤ãã£ãé¢æ° ã®ã»ãã«ã@function ãã£ã¬ã¯ãã£ã ã使ã£ã¦ã«ã¹ã¿ã é¢æ°ãèªç±ã«å®ç¾©ãããã¨ãã§ãã¾ããåãããå ±æãåå©ç¨ã®ãããããã®ãä½ãã¹ã試è¡é¯èª¤ãã¦ãã¾ãããããã§ã¯ãã®ãã¡æè¿è©¦ãã¦ããããã¤ãã®ãã¿ã¼ã³ã«ã¤ãã¦æ¸ãã¦ã¿ã¾ããããæè¦æ±ãã æ¥é è¾ attr() ã calc() ãªã© CSS ã®ãã¤ãã£ãé¢æ°ã percentage() ã type-of() ã¨ãã£ã Sass ã®ãã¤ãã£ãé¢æ°ã¨ååãè¡çªããã®ãé²ããããã«ã¹ã¿ã é¢æ°ã®é¢æ°åã«æ¥é è¾ãã¤ãããã¨ãæ¤è¨ãã¦ãã¾ããç¾è¡ã® CSS/Sass ã ãã§ã¯ãªãå°æ¥è¿½å ãããæ°ãããã¤ãã£ãé¢æ°ãèæ ®ããã¨ãã¯ãä½ããã®å¯¾çããã¦ããããã¨ããã§ãæ¥é è¾ã¯ç¾å®çãªè§£ã§ããããã«æãã¾ããSass ãªãã¡ã¬ã³ã¹ã® é¢æ°ãã£ã¬ã¯ãã£ãã®é ã§ã以ä¸ã®ããã«æ¥é è¾ã®æ¡ç¨ãå§ãã¦ãã¾ã: It is
å°ãªãæéã¨ç¥èã§ãããªãã«è¦ããããºã«ããã¶ã¤ã³ãã¯ããã¯ï¼ãºã«ããã¶ã¤ã³ï¼1ï¼ï¼1/2 ãã¼ã¸ï¼ ãã¶ã¤ã³ãèªåã§ã¤ã¤æãã«ä½ããããããªãã¨ããããã°ã©ãã®ã¿ãªãããå°ãªãæéã§ç°¡åã«ãã¡ãã£ã¨ããæãã®ãã¶ã¤ã³ã«è¦ããããã®ãã¡ãã£ã¨ããå°ãºã«ãTipsãç´¹ä»ãã¾ã Webããã°ã©ããWebã¨ã³ã¸ãã¢ã®çããããå人ã§ä½ãWebãµã¼ãã¹ãããã«ã½ã³ãªã©ã§ãçæéã«éä¸ãã¦ãµã¼ãã¹éçºãã¦ãã¼ã³ããããã¨ãã«ãããã¡ãã£ã¨èªåã§ã¤ã¤æãã«ãã¶ã¤ã³ã§ããã¨ãããªãã¨ãã声ãããèãã¾ãã ãã®ä¼ç»ã¯ããããªããã°ã©ãããå°ãªãæéã§ç°¡åã«ãã¡ãã£ã¨ããæãã®ãã¶ã¤ã³ã«è¦ããããã®ãã¡ãã£ã¨ããå°ãºã«ãTipsãç´¹ä»ãã¾ãã ï¼æ³¨ï¼ãã®ãã¼ã¸ã§ã¯ãåã ã®ãã¶ã¤ã³è¦ç´ ãåããããã説æããããã«ãå®å¯¸ãµã¤ãºããç»åãæ¡å¤§ãã¦ä½¿ç¨ãã¦ãã¾ãã ãºã«ããã¶ã¤ã³ã¯Sassã¨Compassãå©ç¨ã
SassãLessãStylusãªã©CSS Preprocessorã«é¢ããAdvent Calendarã§ãã Sass LESS Stylus
Sassã¨ãããããªæ©è½ããã¾ããããã§ãã¶ã£ã¡ãããããªã«ãã£ã±ãæ©è½ãã£ã¦ã使ããªãã( ・´Ïï½¥ï½)ãæ¡å¤ã//ããã¹ã©ã§ã³ã¡ã³ãã¢ã¦ãã§ããã®ãä¸çªå¬ããã£ããããã¾ãä»æ¥ãã®ããã§ãã @import ã¨ããããã§ããããªåãSassã使ãã¨æã£ãã®ã@importã使ãããã£ãããã¨ããè³æ¥µåç´ãªåæ©ã«ãããã®ã§ãã@importèªä½ã¯æ®éã®CSSã§ã使ãã¾ãããããã©ã¼ãã³ã¹çã«é£ãããã¾ãã¦ãããã¾ã使ãæ°ã«ãªããªãããã¨ãã£ã¦ãã¡ã¤ã«ç®¡çã¯ãã¼ã¸åä½ãã³ã³ãã¼ãã³ãåä½ã§ã¡ããã¨ãããªãã¨å¾ã ããã©ããªã¨ããã¸ã¬ã³ããããã¾ãã ããããããã§ããªãã§æ®éã®@importããã¡ãªã®ã説æãã¾ãã IEã«ããã¦@importã¯ãã¼ã¸ä¸é¨ã«ç½®ãã<link>ã¿ã°ã®ãããªæåããã¾ãã Best Practices for Speeding Up Your Web Site Y
ãã¯ã¤ãã§ããSassããã«è²æ°ããªãã®ã§çè²ãã¦ã¿ã¾ããã Codaã§ã¯ããã¦Saasã使ã£ãææ³ Zen.Codingãç¥ã£ãã¨ããæãããã²ã¼ã ãªã©ã§æ°ããå¼·ãæ¦å¨ãæã«å ¥ããæ°åã§ããå¹çã®éããç®ã«è¦ãã¦ãããã¾ãããããSassã®scssã¯è¦ãããã¨ãå°ãªãã§ãããJavaScriptãPHPããã®ä»ããã°ã©ã ãå°ãã§ãããã£ã¦ããã°ã¹ã¤ã¹ã¤æ¸ããã¨æãã¾ãã(Mac OSX Lion, Coda ver1.7.5) 1.Sassã®æºå 2.scssããcssãèªåã§æ¸ãåºããã©ã°ã¤ã³ãå ¥ãã 3.試ãã¦ã¿ã 4.Sass.modeã§è²ä»ããã 5.scssãã¡ã¤ã«ã§ãzen codingã使ããããã«ãã Sassã®æºå ã¿ã¼ããã«ã使ãã¾ããã4å å ¥åã¨returnãã¼ãæ¼ãã ãã§ãã®ã§ãé£ããèããªãã§ãã ããã ã¾ãã¯ãã¢ããªã±ã¼ã·ã§ã³ > ã¦ã¼ãã£ãªã㣠> ã¿ã¼ã
ã¯ããã« æ©éã§ããã¿ãªãããé»ãç»é¢ï¼ã³ã³ã½ã¼ã«ãã¿ã¼ããã«ï¼ã¯ã好ãã§ããï¼ ã¡ãªã¿ã«åã¯æè¿ãã£ã¨é»ãç»é¢ã«å¯¾ãã¦ããã¤ãã®åªæ使ãããããã«ãªãã¾ãããæç³»çç³»ã§ãã©ã¡ãã§ããªãããã«ä½å¦æ´ã®åã«ã¨ã£ã¦ã¯æ½ãã°æ½ãã»ã©é»ãç»é¢ãã¤ãã¾ã¨ãã¾ããï¼ä»ã§ã¯å¥½ãã§ãããé»ãç»é¢ï¼ ä»åã¯ãããã«ä½¿ããSCSSå ¥éï½åºç¤ç·¨ã¨ãããã¨ã§ããé»ãç»é¢ãªã©è¦ãããªãï¼ãã¨ããããªãã«ããGUIæä½ã ãã§ããã«ä½¿ããã¢ããªã±ã¼ã·ã§ã³ã®ã¤ã³ã¹ãã¼ã«ããSCSSã®åºæ¬çãªå©ç¨æ¹æ³ã«ã¤ãã¦ãå®éã®éçºã«ä½¿ãããã¤ã³ããæ¼ããã¦è§£èª¬ãã¦ããããã¨æãã¾ãã SCSSãè¦ãã¦çç£çã§æ¥½ããWebãµã¤ãå¶ä½ã»ã¢ããªã±ã¼ã·ã§ã³éçºããã¦ããã¾ãããã ã¾ã SCSSãç¥ããªãæ¹åãã«ãSCSSãã£ã¦ï¼ ååã®è¨äºãMedia Queriesã®è¨è¿°ãå°ã楽ã«ãã¦ãããSCSSï¼Sassï¼ Mixinï¼èªä½ï¼ãããã®
ã¡ãã£ã¨éãéãã¦ãã¾ãã¾ããããä»åã¯SCSSãã¡ã¤ã«ã®åå²ã«é¢ãã¦ã§ãã é常ã®CSSã®å ´åã¯ãåå²ããè¤æ°ã®ãã¡ã¤ã«ãèªã¿è¾¼ã¿ç¨ã®ãimport.cssãã¿ãããªãã¡ã¤ã«ãç¨æãã¦ç®¡çãããã¨ãå¤ããã¨æãã¾ãã ãããã¯ãheadè¦ç´ å ã«åCSSãã¡ã¤ã«ãèªã¿è¾¼ãã ããã¾ãããã ãã ãããã ã¨åå²ãããã¡ã¤ã«ãå¤ããªãã°ãªãã»ã©ãèªã¿è¾¼ããã¨ã«HTTPãªã¯ã¨ã¹ãã¨ãã®èªã¿è¾¼ã¿ããã©ã¦ã¶ã§è¡ããããããWebãµã¤ãã®èªã¿è¾¼ã¿ãé ããªã£ã¦ãã¾ãã£ã¦åé¡ãããã¾ãã ã¾ãä½æé度çã«ã©ã®ç¨åº¦å½±é¿ããããã¯ã¢ã¬ã§ããã ããã§ããCSSãã¡ã¤ã«ã1ã¤ã«ãããã¨ã§ãã¡ãã£ã¨ã§ã表示ãæ©ããªãããç¥ããªããªããã£ã¦æã¯ç¡ã訳ã§ãããããã§ç®¡çé¢ã§åé¡ãçãã¦ãã¾ãã®ãå°ã£ãã¡ãããªã®ã§ãåå²ããCSSã¯å¿ è¦æä½éã«ãã¦ãããã¨ãå¤ããã¨æãã¾ãã ããè¨ã£ãåé¡ããSassãªãåå²ããSCS
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}