The Blog | Welcome to Adobe Blog ã¢ããã®ããã°ã§ã¯ãCreative CloudãDocument CloudãExperience Cloudã®ææ°æ å ±ãå½¹ã«ç«ã¤æ å ±ãç´¹ä»ãã¦ãã¾ãã
Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article? CSS Styleguide CSSã«ã¯ã¹ã³ã¼ãã¨ããæ¦å¿µãåå¨ããªãã®ã§ã³ã¼ããæå®ããé çªã管çãã¦ã«ã¹ã±ã¼ãã£ã³ã°ãæå³ããéãã«ãããªãããå¿ è¦ãããã¾ããã¾ããã¤ã³ãã³ããå½åè¦åãªã©å¥½ã¿ãèãæ¹ãç°ãªããã¨ãå¤ãã§ãã ã¹ã¿ã¤ã«ã¬ã¤ãã¯ç¥èãå ±æãããã¨ã§èªèã®ãºã¬ãã§ããã ãç¡ãããå¶ä½ãããä¸ã§ã®ç´æäºã決ãããã¨ã ããã¨èãã¦ãã¾ãã以ä¸ã®ã¬ã¤ãã©ã¤ã³ã¯CSSã¨Sassï¼scssè¨æ³ï¼ãæ±ãä¸ã§ãã¿ã¼ã ã¨èãã¦ãããã¨ãããã¥ã¡ã³ãã¨ãã¦ã¾ã¨ãããã®ã§ãã ãã®ã¬ã¤ãã©ã¤ã³ã¯2015å¹´11æ15æ¥å ¬éï¼2016å¹´1æ1
ãµã¤ããã¶ã¤ã³ãããä¸ã§ããã¶ã¤ã³ãã¯ã³ãã¿ã¼ã³ã«ãªã£ãããç ®è©°ã¾ã£ããããã¨æãã¾ãããããªæãInstagram ã使ããªãæã¯ããã¾ããä¸çä¸ã®ã¤ã³ã¹ãã¬ã¼ã·ã§ã³æº¢ããã¢ã¼ãç³»ã®çºä¿¡ããã¶ã¤ã³ç³»ã®ã¤ã¡ã¼ã¸ãããããåç §ã§ãã¾ãæ¬è¨äºã§ã¯ãã¶ã¤ã³ã®ãã³ãã«ãªããã¨ééããªãã®æµ·å¤ã®ã¢ã¼ããã¶ã¤ã³ç³»ã® Instagram ã¢ã«ã¦ã³ãããç´¹ä»ãã¾ãã
#ããã¾ã å¥ã®æ¥è ãæ§ç¯ããã¨ãã客å ã®ãã¼ã ãã¼ã¸ã®cssãé常ã«èªã¿ã¥ããã 誰ãæãä»ãããã¦ãªãç¶æ ã§ã¤ããï¼compactã®ç¶æ ã§ç´350è¡ï¼ã ããã§ãªãã¡ã¯ã¿ãªã³ã°ããããã¨æã£ãéã«ãèããã ãã©ãããªãsass/scss対å¿ã«ããæ¹ãå¯èªæ§ãå¯ç¨æ§ãä¸ããï¼ã¤ããï¼ã sass/scss â css ã¯å½ããåã¨ãã¦ã css â sass/scss ã£ã¦åºæ¥ãã®ãããã¨æã調ã¹ã¦ã¿ãã¨ãæ°åçºè¦ããã ãã®ãã¡ã®ï¼ã¤ãä»åãç´¹ä»ãããcss2scssããé常ã«ã¨ã¬ã¬ã³ãã ã£ãã å®éã«ä½¿ç¨ãã¦ææ¿ãã¦è½èãããã¤ã³ãããããããï¼ã¤ã«çµã£ã¦ãç´¹ä»ã css2scss sass/scssã«ã¤ãã¦ã¯ãã¾ãã¯ã¢ã¬ãªcssãçªã£è¾¼ãã§ã¿ã¦æåã確èªãã¦é ããã°å¹¸ãã ã¾ããä¸è¨ã®ãªãã¡ã¬ã³ã¹ãç·æ¬çã§è§£ããããããä¸èªããã Sass 3.2 ãªã¬ãªã¬ãªãã¡ã¬ã³ã¹ ã¤ããã
ãªãã ãæè¿æµè¡ãã®Bootstrapã åã¯ãã£ã±ããã¶ã¤ã³ãè¦æã§ï¼ãã¨ãã£ã¦ã³ã¼ãã£ã³ã°ãå¾æã§ã¯ãªããã ãã©ï¼ ãããªäººã«ã¨ã£ã¦ã¯å¤§å¤ãããããåå¨ã§ãã ãããããä»é¢¨ãã®é°å²æ°ã«ãªã£ã¦SUGEEEEEEã¨è奮ããã®ãæåã ãã åã«ã¯ã«ã¹ã¿ãã¤ãºãªãã¦ã¨ã¦ãã§ããªãã ç¬èªæ§ãã¢ãã¼ã«ããããã«ã¯ãTwitter Bootstrapã¯ãã¾ãã«ãæåãããåã«ã¯ãã¶ã¤ã³è½åãç¡ããã§ãã ããã§ãTwitter Bootstrapã®ãããã㪠"ãã¼ã" ãéãã Bootswatch: Free themes for Bootstrapã«å©ããä¹ããã¨ã«ãã¾ããã ããã¨è¦ãããããªæå³ã§éãç¡ãããã§ããã Ruby1.9.3 + Rails3.2ã§ããã£ãã®ã§ã¡ã¢ãï¼ãã¼ã¸ã§ã³ã¯ããã¾ãé¢ä¿ãªãã¨æããã©ä¸å¿ï¼ ã¾ãã¯ãå½ç¶ã§ããRailså çã«TwitterBootstr
æ¦è¦ CSSã®ã¡ã¿è¨èª Sass(Syntactically Awesome StyleSheets) ã«ã¤ãã¦ãå¿ãè¾¼ãã¦èªãã¾ãã 2012å¹´8æã«éè¦ãªæ°æ©è½ãå«ãã ãã¼ã¸ã§ã³3.2ã®ã¢ãããã¼ãããã£ãã®ã§ã æ¢ã«ä½¿ã£ã¦ãã人ã¸ã®æ°æ©è½ç´¹ä»ãå ¼ãã¦ãã¾ãã Webçã¯ãã¡ã http://tenderfeel.github.com/SassReference/ ç®æ¬¡ ã¯ããã« 2å¹´åãããã¯ã¾ã CSS3ã®ã¢ã¸ã¥ã¼ã«ãªã©ã¯è¶£å³ã¬ãã«ã§ãã使ããªãããã¢ãã¯ãªãã®ã§ãããã ã¹ãããå¹ ãå¹ãããããã«ãªã£ã¦ããã¨ãããã®ãCSSã使ãç°å¢ã¯éåã¨æ§å¤ãããã¦ãã¾ãã ãã©ã¦ã¶ãLevel3ã®ã¢ã¸ã¥ã¼ã«ã«å¯¾å¿ããããã«ãªãã¨ãCSSã§åºæ¥ããã¨ãå¢ããã®ã¨å¼ãæãã«ã表ç¾ããããã®è¨è¿°ã¯è¤éãªãã®ã«ãªãã¾ããã ãã ã§ããã¹ã¿ã¤ã«ã·ã¼ããã¡ã¤ã«ã巨大åå¾åã«ããã®ã«ãã¡ã³ããã³ã¹
2014å¹´7æ31æ¥ CSS, 便å©ãã¼ã« ãSassãã£ã¦èãããã¨ããã¾ããï¼ãã£ããç°¡åã«è¨ãã¨ãCSSããã£ã¨ä¾¿å©ã«ã»å¹çè¯ãè¨è¿°ããããã®ãã®ã§ããã¨ã¯è¨ãåºæ¬çãªæ¸ãæ¹ã¯CSSã¨åããªã®ã§ããæ°ããããã°ã©ãã³ã°è¨èªãã¨ãããããCSSã®æ°ããè£ ååãã¨ãã£ãã¨ããã§ãããããä¸è¦é£ããæããããããã¾ããããæ £ããã¨ããããªãã§ã¯ããããªãï¼ãã¨ã¾ã§æããSassã®é åã¨ãMacã§ã®è¨å®æ¹æ³ã¯ãã¾ãè¦ãªããªã¼ã¨ããäºã§Macï¼Codaã§ã®è¨å®æ¹æ³ãç´¹ä»ãã¾ãã âç§ã10年以ä¸å©ç¨ãã¦ããä¼è¨ã½ããï¼ Sassã¨ã¯ æ¥æ¬èªã§ã¯ããµã¹ãã¨èªã¾ããããã§ããæ¡å¼µåã¯ã.scssããä»ã¾ã§ã®CSSã«å¤æ°ãè¨ç®å¼ã使ã£ãããã°ã©ãã³ã°é¢¨ã®æ¸ãæ¹ãå ãã .scss ãã¡ã¤ã«ããå¤æï¼ã³ã³ãã¤ã«ï¼ãã¦CSSãã¡ã¤ã«ãä½æãã¾ããä¾ãã°ãstyle.scssãã®Sassãã¡ã¤ã«ãå¤æãã
ã¯ããã« ãã®ã·ãªã¼ãºãããã«ä½¿ããSCSSå ¥éã·ãªã¼ãºãã§ã¯Scoutã使ã£ã¦ã³ã³ãã¤ã«ãã¦ãã¾ããã æè¿Sublime Text 2ã®ã©ã¤ã»ã³ã¹ãè²·ã£ã¦ãæ¬æ ¼çã«ä½¿ãå§ãã¾ããã ããã§ãä»åã¯Sublime Text 2ï¼Windows, Macï¼ã使ã£ã¦ã³ã³ãã¤ã«ããæ¹æ³ã調ã¹ãã®ã§ãã¾ã¨ãã¦ç´¹ä»ãããã¨æãã¾ãã ãã®è¨äºã§ã¯ãã¶ã¤ãã¼ã«è¦æãªäººãå¤ããããããªãé»ãç»é¢ãã³ãã³ãããã³ããã¨ã¿ã¼ããã«ããå©ç¨ãã¾ãã é£ããããããªããã¨æãããããã¾ããããæ¯éææ¦ãã¦ã¿ã¦ãã ããããã®ãã¡å¤§ãããã¨ãã¦ãªããããã¨æããããã«ãªãã¾ãã 主ãªæµã 主ãªæµãã¯ãããªæãã§ãæåã«é»ãç»é¢ã§ã³ãã³ããå ¥åãã¦ããã¾ãã ãããçµããã°Sublime Text 2ã®è¨å®ãè¡ããã³ã³ãã¤ã«ã試ãã¾ãã Rybyã®ã¤ã³ã¹ãã¼ã« ã¤ã³ã¹ãã¼ã«ã®ç¢ºèªã¨ã³ã³ã½ã¼ã« Sassã®ã¤ã³ã¹ãã¼ã«
SCSSã¨LESSã®ã©ã¡ããå°å ¥ããããã£ããæ©ãã æã®ã¾ã¨ãã§ãã æçµçã«ã¯SCSSãé¸æãã¾ããããå°å ¥ã®åèã«ãªãã°å¹¸ãã§ãã ã¡ã«ã¿ã«ãSCSSã¨LESSã¨ã¯ åå©ç¨ã§ããã¹ã¿ã¤ã«å®ç¾©ãå¤æ°ãªã©ãCSSãå¹ççã«ã³ã¼ãã£ã³ã°ã§ããããã«æ¡å¼µãããã¡ã¿è¨èªã§ãã ã©ã¡ãããCSSããã¼ã¹ã«ããç¬èªã®è¨æ³ã§ãã£ã¦ã³ã¼ãã£ã³ã°ããããã³ã³ãã¤ã©ã§CSSã«å±éããã¨ãããã®ã§ãã LESS SCSS åä½ç°å¢ã使ç¨ãªã©ã®è©³ããæ¯è¼ã¯ãã¡ããåèã«ãªãã¾ã http://dxd8.com/archives/217/ Sass â SCSS SCSSã調ã¹ã¦ããã¨ãSassã¨ããåèªãç®ã«ããã¨æãã¾ãã 使ãå§ããå½åã¯ãã£ã¡ãã«ãªã£ã¦ãã®ã§ãã ãã¨ãã¨ã¯Sassã¨ããããã¸ã§ã¯ããåå¨ããããããæ´¾çããã®ã SCSSãããã§ãã Sassãåãã³ã³ã»ããã®CSSæ¡å¼µè¨èªã§ããã ãã¨
CSSãæ¡å¼µããããã®ã¡ã¿è¨èªã¨ãã¦ã代表çãªãã®ã«ãSCSS(Sass)ãã¨ãLESSããããã¾ããä»åãå°å ¥ãæ¤è¨ããã«ãããã両è ãæ¯è¼ãã¾ããã çµæçã«ã¯ããSCSS(Sass)ããå°å ¥ãããã¨ã«ãã¾ããããç¹ã«ãSCSS(Sass)ããé¸æãã決ãæã¨ãªã£ãç¹ã«éç¹ãç½®ãã¤ã¤ã両è ã®éããã¾ã¨ãã¾ã¦ã¿ã¾ããã ã¯ããã« Webãµã¤ããWebã¢ããªã±ã¼ã·ã§ã³ã大è¦æ¨¡ã«ãªãã«ã¤ãã¦ãCSSã®è¨è¨ã»ç®¡çã«ããªã½ã¼ã¹ãå²ãããããã«ãªãã¾ããCSSã®ã¢ã¸ã¥ã¼ã«åãã³ã³ãã¼ãã³ãåã«ããåå©ç¨æ§ãèããã¨ããç¾ç¶ã®CSSãåãå·»ãç¶æ³ã¯ååã¨ã¯è¨ãã¾ããã ä¸ã¤ã®é¸æè¢ã¨ãã¦ãããã®ããBlueprintããã960 Glid Systemãçã®CSSãã¬ã¼ã ã¯ã¼ã¯ã®å©ç¨ã§ããããã®åå©ç¨æ§ã¨æ§é ã»è¡¨ç¾ã®åé¢åº¦ã¯ãã¬ã¼ããªãã§ãã ããã§ãCSSã®å©ç¹ãæ´»ããã¤ã¤ãåå©ç¨æ§ãé«ããããã«
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}