- The document discusses the introduction and use of Sass and Compass for a large-scale e-commerce site. - Key aspects covered include using Sass features like nesting, mixins, extends and @import to organize CSS, Compass features like sprite generation and creating a style guide. - The results of adopting Sass/Compass included improved development speed and a 40% increase in site traffic over 4 m
The way Octopress is being distributed and maintained is nearing its end. There are many things I've always disliked about how Octopress works. So before I talk about the exciting part, I'd like to tell you what's wrong with Octopress. What's wrong? If I'm being harsh, I'll tell you that as it is now, Octopress is basically some guy's Jekyll blog you can fork and modify. The first, and most obviou
ããã«ã¡ã¯ããã¶ã¤ãã¼ã®çã§ãã ä»åã®è¨äºã§ã¯Compass使ãã«ãªãããã®å¿ è¦æå°éã®ç¥èããå¿ç¨ã¾ã§ãä½ç³»çã«ã²ã¨éãç´¹ä»ãã¦ããã¾ãã å ¨ãã®åå¿è ã§ãåé¡ããã¾ããï¼ ã¯ããã«çµè«ãè¨ãã¨ãCompassã§CSSãæ¸ã㨠æ©ãï¼ è¦ãããï¼ ã¡ã³ãããããï¼ ã³ã¼ãéããã£ã¨æ¸ãï¼ ä¸åº¦ä½¿ãåºãããæå¾ãããå ã«ã¯æ»ããªãï¼ ä¸ä½ã©ãã¾ã§ä¾¿å©ãªã®ãããããæ¸ãããããç¾èã¯ä¸è¦ã«ãããï¼ ç°¡åãªããã¸ã§ã¯ããéãã¦ãåç¹å¾´ã«ã¤ãã¦ç´¹ä»ããçããã¢åç»ãç¨æããã®ã§ãã¾ãã¯ãã¡ããè¦ã¦ãã ããï¼ Compassã¨ã¯ï¼ Compassãèªãåã«ãã¾ãã¯ãSassããç¥ã£ã¦ããå¿ è¦ãããã¾ãããªããªããCompassã¯Sassãå ã«éçºãããã¬ã¼ã ã¯ã¼ã¯ã ããã§ãã Sassã¨ã¯ ã§ã¯ãSassãã¨ã¯ä½ãã¨è¨ãã¨ãæ£å¼å称ã¯ãSyntactically Awesome Style Sh
å°ãªãæéã¨ç¥èã§ãããªãã«è¦ããããºã«ããã¶ã¤ã³ãã¯ããã¯ï¼ãºã«ããã¶ã¤ã³ï¼1ï¼ï¼1/2 ãã¼ã¸ï¼ ãã¶ã¤ã³ãèªåã§ã¤ã¤æãã«ä½ããããããªãã¨ããããã°ã©ãã®ã¿ãªãããå°ãªãæéã§ç°¡åã«ãã¡ãã£ã¨ããæãã®ãã¶ã¤ã³ã«è¦ããããã®ãã¡ãã£ã¨ããå°ãºã«ãTipsãç´¹ä»ãã¾ã Webããã°ã©ããWebã¨ã³ã¸ãã¢ã®çããããå人ã§ä½ãWebãµã¼ãã¹ãããã«ã½ã³ãªã©ã§ãçæéã«éä¸ãã¦ãµã¼ãã¹éçºãã¦ãã¼ã³ããããã¨ãã«ãããã¡ãã£ã¨èªåã§ã¤ã¤æãã«ãã¶ã¤ã³ã§ããã¨ãããªãã¨ãã声ãããèãã¾ãã ãã®ä¼ç»ã¯ããããªããã°ã©ãããå°ãªãæéã§ç°¡åã«ãã¡ãã£ã¨ããæãã®ãã¶ã¤ã³ã«è¦ããããã®ãã¡ãã£ã¨ããå°ãºã«ãTipsãç´¹ä»ãã¾ãã ï¼æ³¨ï¼ãã®ãã¼ã¸ã§ã¯ãåã ã®ãã¶ã¤ã³è¦ç´ ãåããããã説æããããã«ãå®å¯¸ãµã¤ãºããç»åãæ¡å¤§ãã¦ä½¿ç¨ãã¦ãã¾ãã ãºã«ããã¶ã¤ã³ã¯Sassã¨Compassãå©ç¨ã
Compassã§ã¹ãã©ã¤ãç»è±¡ãé«éã«æ¸ãåºãæ¹æ³ Compassã§Retina対å¿ãããã¨ã³ã³ãã¤ã«ã«ãããã¨æéãããã£ã¦ãã¾ãã¾ãã 以ä¸ã®ã¾ã¾ã§ãã¨ãããæéããããã®ã§ããã $sprites: sprite-map("sprites/*.png"); @mixin sprite-background($name) { background-image: sprite-url($sprites); background-repeat: no-repeat; display: block; height: image-height(sprite-file($sprites, $name)) / 2; width: image-width(sprite-file($sprites, $name)) / 2; $ypos: round(nth(sprite-position($spri
SassãLessãStylusãªã©CSS Preprocessorã«é¢ããAdvent Calendarã§ããâ CSS Preprocessor Advent Calendar 2012 - Adventar ããã©ã¼ãã³ã¹ã®åå¼·ãã§ãã¦ãªããã¤Sass/Compassã®ãåå¼·ã«ããªããå¾ãªã·ãªã¼ãºã¾ããã®2åç®ãAdventã«ã¶ã¤ãã¦ããï¼ãããããã¨ã·ãªã¼ãºãã®ã®2ä½ç®ã¨ããã®ã¯é§ä½ã«ãªããã¡ã ãããããªãã¬ãã·ã£ã¼ã¯ãã®ãã¦ä¹±åå°ï¼ãã£ã¦ããYO! ããã¾ã§ã®ï¼ ããã©ã¼ãã³ã¹ããã¿ãSass/Compass 第1åï¼Nestingã¨@import - MOL ããã©ã¼ãã³ã¹ããã¿ãSass/Compass çªå¤ç·¨ï¼MSã¯éãã£ã - MOL CSS Spriteã®å©ç¹ã»æ¬ ç¹ ããã¤ããã©ã¼ãã³ã¹Webãµã¤ããã®æ¸ç±ã«ã¯ãé«éãµã¤ããå®ç¾ãã14ã®ã«ã¼ã«ãã¨ãããã®ãããããã®ä¸
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}