æ¬é£è¼ã§ã¯ãAtomic Designã«ã¤ãã¦ãã®æ¦è¦ãç´¹ä»ããä½µãã¦Atomic Designãã©ãCSSè¨è¨ã«æ´»ãããããèãã¾ãã
What is Atomic Parts Base CSS(APB CSS) Atomic Design + OOCSS + SMACSS = Atomic Parts Base CSS (APB CSS) Atomic Parts Base CSS(APB CSS)ã£ã¦ä½ï¼ï¼ Atomic Design + OOCSS + SMACSS = Atomic Parts Base CSS (APB CSS) APBCSS 㯠Atomic Parts Base CSSã®ããããé æåãåã£ã¦ãã¦ããã¨ã¼ãã¼ãã¼ã·ã¼ã¨ã¹ã¨ã¹ãã¨å¼ã³ã¾ãã APBCSS 㯠Atomic Designããã¼ã¹ã«è¨è¨ããããCSSã¢ã¼ããã¯ãã£ãã®ä¸ã¤ã¨ãªãã¾ãã Point - Simple - Predictable - General versatility - Reusable - Maintainabl
ã¨ã¦ãå人çãªè©±ã§ãããããæè¿ã§èªåèªèº«ã®ãã©ã¤ãã·ã¼æèã®é«ã¾ããæãã¦ããã©ã¦ã¶ã®è¨å®ãè¦ç´ãæ©ä¼ãããã¾ãããè¦ç´ããã®ã¯Cookieã®è¨å®ã§ã許å¯ãããã¡ã¤ã³ã«ããCookieãè¨æ¶ããªãããã«ãã¾ãããè¨å®å¤æ´ã«ããããç¨åº¦ã®ä¸ä¾¿ã¯è¦æãã¦ãã¾ãããã¨ã¯ãããã¾ããããããååã¢ã¯ã»ã¹ã®æã®ã¢ã¼ãã«ãä½åº¦ãåºãããã«ãªãã¨ãããã°ã¤ã³ã§ããªããªãã¨ãããã®ãããããªã¨æã£ã¦ãã¾ããã ãããå®éã¯ãæªãæå³ã§æå¾ ãè£åããããã¨ã«ãªãã¾ããã Cookieãç¡å¹ãªã ãã§ãâå ¨ãâåããªããªã£ã¦ãã¾ãã¦ã§ããµã¤ããã¦ã§ãã¢ããªããæ¬å½ã«ãããããããã¨ã«æ°ã¥ããã®ã§ãã å ¨ãåããªããªã£ã¦ãã¾ãåå ã¯åç´ï¼å¾è¿°ï¼ã ã£ãã®ã§ãããã¡ãã£ã¨ãã対å¦ã§ç°¡åã«ç´ãããã¨ãªã®ã«ããµã¤ãå ¨ä½ãä¸å使ãç©ã«ãªããªããªã£ã¦ã¦ããã£ãããªãï¼ï¼ãã¨æãã¾ããã ããã³ãã¨ã³ãã®æ³å®å¤ ã¦ã§ããµã¤ã
Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article? CSSã®è¨è¨æ¹æ³ãã¾ã¨ãã¦ã¿ã~BEMç·¨~ BEMã«ã¤ãã¦ãç°¡åã«ã¾ã¨ããã 詳細ãªé¨åã«é¢ãã¦ã¯ä»¥ä¸ã®è¨äºãããããããã£ãã®ã§ãåèã«ãããã¨è¯ãã¨æãã bem-methodology-ja/index.md at master · juno/bem-methodology-ja BEMã¨ããå½åè¦åã¨Sass 3.3ã®æ°ããè¨æ³ - ã¢ã¤ã³ã·ã¥ã¿ã¤ã³ã®é»è©±çªå· BEMã¨ã¯ BlockãElementãModifierã®ç¥ã DOMãæ§æããåè¦ç´ ãBlockãElementãModifierã®ã©ããã«å½ã¦ã¯ãã¦å½åããã æ£ç´ãª
ä¸çªè©³ãã(å½ç¤¾æ¯) ãã®è¨äºã¯ 大ä½1å¹´ãããBEMãå®è·µããä¸ã§æºã¾ã£ãç¥è¦çãªãã®ãã«ã¼ã«ï½¥è¦å・注æç¹ãã¾ã¨ããããã¥ã¢ã«ã¨ããããã¡ã«ãããã®. BEMåå¿è ã§ãããå®è·µãã¦ããããããªæãã«è©³ããããã¤ãã. ã¡ãªã¿ã«BEMã®å®è·µã¨ããã®ã¯Rails製Webã¢ããªã§ã®å®è·µ. â»æ³¨ å¤åã«ææµãªé¨åãå«ã¾ãã¦ãã. ãã®è¨äºã®å ¨ã¦ãçä¼¼ãããã¨ããã«ä¸é¨ã®ã¨ãã»ã³ã¹ã®ã¿åãå ¥ããã®ããããããããªã. BEMã¨ã¯ Block Element Modifierã®ç¥ã§, Block => ã§ããæ¬ã Element => ã§ããæ¬ãã®ä¸ã«ããè¦ç´ Modifier => ä¸è¨2ã¤ã®å¤åç ã®3ã¤ã«åãã¦èãã¦ãããã¨ã§CSSãè¨è¨ï½¥å½åãã¦ããææ³. åºæ¬çãªèãã¨ãåæã¨ã BEMã®ä¸ã§ãç¹ã«MindBEMdingã¨å¼ã°ãã¦ããå½åæ³ããã¼ã¹ã¨ãã¦ãã SCSSã使ç¨ãã åºæ¬çã«
CSS in JSã«å¤¢ãè¦ããããªããªãä¸çç¸ã§ã¯è¡ããªãã£ãã®ã§1ãwebpackã«ãããCSSã¨æ¬æ°ã§åãåã£ã¦ã¿ãã ãããã¾ã ç解ãçãã¨ããããã£ãã®ã§loader, pluginã¾ããã®é¢ä¿æ§ãæ´çããã ï¼åç½®ãï¼webpackã®åºç¤æ å ± cssé¢é£ã®æ¬é¡ã«ã¯ããåã«ãwebpackã®åºç¤ãå確èªããã Webpackã®ç¹å¾´ webpackã®ç¹å¾´çãªäºé ã¨ãã¦ãCSSãç»åãªã©ãjavascriptã§ãªããã¼ã¿ãåºæ¬çã«å ¨ã¦ãjavascriptã§æ±ã£ã¦ãã¾ããã¨ããäºãæããããã åçã®å¯¾æã¨ãã¦æããããbrowserifyãrollupã¯ãããã¾ã§ããjavascriptã®module解決ãã«ãã©ã¼ã«ã¹ãã¦ããã®ã«å¯¾ãã¦ãwebpackã¯å ¨ãéãæ¹åãåãã¦ãã loaderã¨pluginã®éã çµæ§ãããµãã«æ±ã£ã¦ããããä¸è¨ã®webpackã®åºæ¬é¨åãæ確ã«ãã¦è
ããã«ã¡ã¯ãBASE 㧠Design Group ã«æå±ãã¦ããä¸ä½åã§ãã主㫠ãããã·ã§ããä½æãµã¼ãã¹ãBASEã ã®ããã³ãã¨ã³ããæ å½ãã¦ãã¾ãã èæ¯ BASE ã®ãã¶ã¤ã³ãã¼ã ã¯ããæè¿ã§äººæ°ãæ¥æ¿ã«å¢ããæ´»åãæ´»çºã«ãªã£ã¦ãã¦ããããã®ä¸ã®ããã¸ã§ã¯ãã®ä¸ã¤ã¨ãã¦ãç¾å¨ã¹ã¿ã¤ã«ã¬ã¤ãã®å·æ°ã«åãçµãã§ãã¾ãã ãããã人æ°ãå¢ãã¦ããä¸æ¹ã§ãã³ã¼ãã£ã³ã°ã®ã«ã¼ã«ã®çµ±ä¸ãã³ã¼ãã¬ãã¥ã¼ãå人ã®è£éã«ä»»ãã¦ãããããã¼ã¯ã¢ãããããªãªã¼ã¹ããã¾ã§ã«æéãããã£ã¦ãã¾ããã¨ãåé¡ã«ãªã£ã¦ãã¦ãã¾ããã ããã§ãæ°ããã¹ã¿ã¤ã«ã¬ã¤ãã§ã¯ããã¶ã¤ãã¼ãã¨ã³ã¸ãã¢ã®ä½æ¥å·¥æ°ãç縮ããããå¹çããéçºãé²ããããã«ãã³ã¼ãã£ã³ã°ã«ã¼ã«ã®æ´åã¨ãªã°ã¬ãã·ã§ã³ãã¹ããå°å ¥ãããã¨ã«ãã¾ããï¼ ãã£ãã㨠stylelint ã使ã£ã¦ã³ã¼ãã£ã³ã°ã«ã¼ã«ã管ç BackstopJS ã§ãã¹ãã
BEMã®ããã¨ããã¯ããããä½è ãªã®ããæç½ã¨ãããã¨ã«å°½ãããã¨ããè¦ç´ ãè¦ãã¨ãã«ããã®ã¹ã¿ã¤ã«ãã©ãã«æ¸ããã¦ããã®ããä½ã表ãã¦ããã®ããã¯ã©ã¹åãè¦ãã°ããããæãå ¥ããéããã©ãã«è¿½è¨ããã°ããã®ããã©ããããã®å½±é¿ãåã¼ãã®ãã®å¤§é¨åãæ¨æ¸¬ã§ããã ã¬ã¹ãã³ã·ãã»ãã¶ã¤ã³ã¨ç¸æ§ãããã¨ããæµè¡ãã®ã³ã³ãã¼ãã³ãæåã¨ç¸æ§ããããªã©ãBEMã®è¯ãã¯ä»ã«ãããã¤ãæãããããã©ã決å®çãªã®ã¯æçãã§ããã¨æãã BEMã使ãã¯ããã¦ããããï¼ï¼ï¼å¹´ãããçµã£ãããã®éã«è²ã ãªå½åè¦åãè¨è¨ææ³ãç»å ´ãã¦ããããã©ããä»ã®ã¨ããã¯æµ®æ°ããç¨ã®é åãä»ã«æãããã¨ããªãBEMä¸çã§ãã£ã¦ãã¦ããããã ãå®è·µããã«ã¤ãã¦ãããæçã§ç ´ç¶»ãã¥ããè¨è¨ãå®ç¾ããããã«ãæ§ã ãªå¶ç´ãã¬ã¤ããè¨ãã¦ãã£ã¦ããã®ã§ãããã¨ãã¨ã®BEMãããã¯å¤å°ãªãé¢ãã¦ãããããããªãã ãã ããããã¯BEM
ããã¯ãtemplate(html)ãscript(js), style(css)ãä¸ã¤ã®ãã¡ã¤ã«ã«ã¾ã¨ãã¦ãããã使ãã¾ãããã¨ãããã¨ã§ãã ããã®ä½ãå¬ããã®ãã¯vueã®å ¬å¼ããå¼ç¨ããã¦ããã ãã¾ãã 注æãã¹ãéè¦ãªç¹ã®1ã¤ã¯ãé¢å¿äºé ã®åé¢ããã¡ã¤ã«ã¿ã¤ãã®åé¢ã¨çãããªããã¨ã§ãã ç¾ä»£ã® UI éçºã§ã¯ãã³ã¼ããã¼ã¹ãäºãã«ç¹ã交ãã3ã¤ã®å·¨å¤§ãªã¬ã¤ã¤ã¼ã«åå²ããã®ã§ã¯ãªããããããççµåãªã³ã³ãã¼ãã³ãã«åå²ãã¦æ§æããæ¹ãã¯ããã«çã«ããªã£ã¦ãã¾ããã³ã³ãã¼ãã³ãã®å é¨ã§ã¯ããã®ãã³ãã¬ã¼ãããã¸ãã¯ãã¹ã¿ã¤ã«ãæ¬è³ªçã«çµåããã¦ãããå®éã«ããããé ç½®ãããã¨ã§ãã³ã³ãã¼ãã³ããããä¸è²«æ§ã¨ä¿å®æ§ã«åªãã¦ãã¾ãã ååãé·ãã®ã§ä»¥ä¸ãåä¸ãã¡ã¤ã«ã³ã³ãã¼ãã³ãã¯SFC(Single File Components)ã¨å¼ã³ã¾ãã SFCã£ã¦ã©ããã£ãã使ããã®? vue
Meguro.cssã«åå ãã¦ãã¾ãã megurocss.connpass.com CSSã®åå¼·ä¼ã¯çããã®ã§åå ãã¦ã¿ã¾ãããå®è·µçãªå 容ãå¤ãåå¼·ã«ãªãã¾ããã ã¿ã¤ãã« çºè¡¨è RSCSSä½é¨è« @mhz_univ flex: 1; @ryutamaki CSSã§ã¯ãªãªãã£ããããããã @umiremix Dart Sassã§ããã¼ã @terrierscript "ããæã"ã«ããããã®ã¤ã¼ã¸ã³ã° @448jp CSSã§ãã¼ã³ @s14garnet RSCSSä½é¨è« @mhz_univãã docs.google.com RSCSSã¨ã¯ http://rscss.io Sanity(責任è½å)ãæãªããªãããã®CSSæ§é ã®ã¢ã¤ãã£ã¢é BEMã¨ãããããç³» RSCSSã®æ§æ Component ä¸æã®ã¯ã©ã¹å ã°ãã¼ãã« Element åè¦ç´ åã»ã¬ã¯ã¿ Variant è²é
以ä¸ãããã°ã«æ¸ããã®ã¨ã»ã¼ããªãå 容ã ãã©ãã£ã¡ã«ã転è¼ãã¦ã¿ã¾ãã github: https://github.com/rstacruz/rscss githubã®READMEãããã¥ã¡ã³ãåãããã®: http://ricostacruz.com/rscss/index.html ï¼ãã®ããã¥ã¡ã³ãèªä½ãRSCSSã®å®è·µä¾ã«ãªã£ã¦ãï¼ ãã°ãã CSS ã¨ã追ã£ã¦ãªãã£ãã®ã§ã触ãã«ããã£ã¦ãããã¿ã«CSSæ¸ãã¦ããå¾ã§ç¢ºå®ã«æ»ã¬ããããããã°ãªããOOCSSã¨ããã£ããªãã¨æã£ã¦ãããã調ã¹ã¦ãã OOCSS ã®ä»ã«ã SMACSS ã¨ã BEM ã¨ã SuitCSS ã¨ã FLOCSS ã¨ããªããããããåºã¦ãã¦å¤§å¤ã§ãããããã SMACSS ãããã¾ã§ã¯è¨æ¶ããããã ãã©â¦ã ã§ãã©ããã©ãããã£ããæ¥ãªãã®ã§ããã«èª¿ã¹ã¦ã¿ã㨠RSCSS ã¨ãããã®ãçºè¦ãããã¬ã¼ã ã¯ã¼
Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article? ECSSã¨ããOOCSSã¨ã¯ã»ã¨ãã©å対ã®ã¢ããã¼ããããCSSã®æ§ææ¡ãããã¾ãã製åã«ãã£ã¦ãã¶ã¤ã³ã大ããç°ãªãWebãµã¤ãã«åãã¦ããã®ããªã¨å人çã«ã¯èãã¦ãã¾ãããããã¯ããã¾ãå ±éåããããã¨ãã§ããã°å¤§è¦æ¨¡ãªWebãµã¤ãã«ãé©å¿å¯è½ã§ã¯ãªãããªã¨æå¾ ãã¦ãã¾ãã Enduring CSS æ¡ä»¶ã§ä½¿ããããªã¨æã£ãã®ã§ããããã¾ãåºãç¥ããã¦ãããã®ã§ããªãã§ãããæ¤ç´¢ãã¦ã該å½ããè¨äºã¯ã¾ã ã¾ã å°ãªãã£ãããã¾ãã å ¬å¼ãµã¤ããèªãã®ãä¸çªããã®ã§ãããããªã¥ã¼ã ããããããã«è±èªã§ãããã¨ãèããã¨ãããé£ãããã¨ãã
CSSããªããã»ããµã§æ°æ§æã使ã 以ä¸ãCSSã使ã£ãåºæ¬çãªã¹ã¿ã¤ã«æå®ã¨ã¬ã¤ã¢ã¦ããåãä¸ãã¾ããã次ã«ãCSSèªä½ãè¨èªã¨ãã¦æ±ããããããããã«ä½ããããã¼ã«ã«ã¤ãã¦èª¬æãã¾ããã¾ãã¯CSSããªããã»ããµã§ãã CSSããªããã»ããµã使ãã¨ãå¥ã®è¨èªã§è¨è¿°ããã¹ã¿ã¤ã«ããã©ã¦ã¶ã解éã§ããCSSã«å¤æãããã¨ãããã¨ãå¯è½ã«ãªãã¾ããããã¯æããã©ã¦ã¶ã¸ã®æ°æ©è½ã®å®è£ ãé ã ã¨ãã¦é²ã¾ãªãã£ãé ã¯éè¦äºé ã§ãããæåã®ã¡ã¸ã£ã¼ãªCSSããªããã»ããµã¯ Sass ã§ã2006å¹´ã«ãªãªã¼ã¹ããã¾ãããæ°ããç°¡æ½ãªæ§æï¼æ¬å¼§ã«ä»£ããã¤ã³ãã³ããã»ãã³ãã³ã使ããªããªã©ï¼ã¨ãå¤æ°ããã«ãã¼é¢æ°ãæ¼ç®ãªã©ãCSSã«ã¯æ¬ ãã¦ããé«åº¦ãªè¿½å æ©è½ãç¹å¾´ã§ããå¤æ°ãä¼´ãSaasã使ã£ã¦å ã®äºä¾ã®ã«ã©ã¼ã»ã¯ã·ã§ã³ãè¨è¿°ããã¨ã次ã®ããã«ãªãã¾ãã $dark-color: #4a4a4a $light
ãWeb Componentsãæ¥ãï¼CSSè¨è¨ã¯ã©ããªãï¼ãâCSSã®ã¨ãã¹ãã¼ãã«èãã¦ã¿ãï¼ ç½ç³ ä¿å¹³ï¼HTML5 Experts.jpç·¨éé·ï¼ ããã«ã¡ã¯ãç·¨éé·ã®ç½ç³ã§ãã Safari 10.1ããCustom Elementsã使ããããã«ãªã£ãããMicrosoft EdgeãWeb Componentsã®å®è£ ãç´æãã¦ãããã¨ãWeb Componentsã®è¶³é³ã¯å»ä¸å»ã¨è¿«ã£ã¦ãã¦ãã¾ãã ãããªæ代ã«ãWebéçºã¯ã©ãå¤ããã®ãï¼ã¾ãã¯CSSè¨è¨ã¨ããã¨ããã«çç®ãã¦èãã¦ã¿ããã¨æããå æ¥ãWeb Componentsæ代ã®CSSè¨è¨ãã¨ãã座è«ä¼ãéå¬ããã¨ãã¹ãã¼ãã®æ¹ã ã«ã話ã伺ã£ã¦ã¿ã¾ããã ã²ã¹ãã®ã¨ãã¹ãã¼ãç´¹ä» é«æ´¥æ¸ 壮ãã æ ªå¼ä¼ç¤¾ãã¯ã»ã«ã°ãªãã ããã³ãã¨ã³ãã¨ã³ã¸ã㢠Webå¶ä½ä¼ç¤¾ãããªã¼ã©ã³ã¹ãçµã¦ãæ ªå¼ä¼ç¤¾ãã¯ã»ã«ã°ãªããã«å ¥ç¤¾ãã¹ã±ã¼
ãã®æ稿㯠Increments Advent Calendar 2017 ã®18æ¥ã®è¨äºã§ããå»å¹´ã«ç¶ãã2017å¹´ã® Qiita ã® CSS æ§æã«ã¤ãã¦è¿°ã¹ã¾ãã 2016å¹´çã¯ãã¡ã: Qiitaã®CSSæ§æ2016 ããªããã»ããµã¼ 2016年㯠CSS ã®ãã«ãããã¼ã§ä¸è²«ã㦠PostCSS ã使ã£ã¦ãã¾ãããã2017å¹´ã§ã¯ ããªããã»ããµã¼ã¨ã㦠Sass (node-sass) ã使ã£ã¦ãã¾ãã ããªããã»ããµã¼ã¨ã㦠PostCSS ã使ããªããªã£ãæ大ã®çç±ã¯ @apply ã«ã¼ã«ãä»æ§ããè½ã¡ã ãã¨ã§ãã@apply 㯠Sass ã§ããå¼æ°ãªãã® mixin ã¿ãããªãã®ã§ãChrome ã® Canary ã§ã¯å®è£ ããã¦ããææãããã¾ããããæ¶ãã¦ãã¾ãã¾ããã ãããã CSS Nesting Module ã CSS Extend Rule ãè½ã¡ãã¨æ
AdventCalendar åæ稿ã§ãã 人é¡ã¯ã¾ã æåãã¦ãã¾ããï¼ãã¶ãï¼ BtoBtoCã®Webãµã¼ãã¹éçºãä½åãè¡ã£ã¦ããçµæãFLOCSSã¨ECSSãçµã¿åãããCSSè¨è¨ã«è½ã¡çããã®ã§ããã®ãã£ã¬ã¯ããªæ§æã«è³ãã¾ã§ã®çµç·¯ã¨ãå®éã®ã³ã¼ãã»å¤±æè«ãè¯ãã£ããã¨ãã¾ã¨ãã¾ãã Webãµã¼ãã¹ã®ãã¼ã¸æ§æ ãã¼ã¸æ°ã®å·®ã¯ããã¨æãã¾ããããããã以ä¸ã®ãããªãã¼ã¸æ§æãã¨ã£ã¦ããã®ã§ã¯ãªãã§ããããã ãµã¼ãã¹ãã¼ã¸ï¼ããããã¼ã¸ãåã³ã³ãã³ãï¼ ãã¤ãã¼ã¸ ãã®ä»ã®ãã¼ã¸ï¼å©ç¨è¦ç´ããã©ã¤ãã·ã¼ããªã·ã¼ãªã©ï¼ ãã¼ã¸ãã¨ã«é©ããè¨è¨ãèãã ãµã¼ãã¹å ¨ä½ã§ã²ã¨ã¤ã®CSSè¨è¨ãé¸æãããããããã¼ã¸ã®ç¹æ§ãã¨ã«å ±éåããorå ±éåããªããã¨ããæ¹éãé¸æãããã¨ã«ãã£ã¦ãã¹ã ã¼ãºãªã³ã¼ãã£ã³ã°ãã§ãããã¨ã«æ°ã¥ãã¾ããã ãµã¼ãã¹ãã¼ã¸ ããããã¼ã¸ãä¸è¦§ãã¼ã¸ã詳細ãã¼ã¸ãª
æ¦è¦ æè¿ããã¯ã¨ã³ãããããã³ãã¨ã³ãã«ãªãããCSSã¢ã¼ããã¯ãã£ã«ã¤ãã¦ãåå¼·ãã¦ã¿ããï¼ãã¨ãããã¨ã§ãä¸æ¦ä»£è¡¨çãªãã®ãã¾ã¨ãã¦ã¿ã¾ããã CSSã¢ã¼ããã¯ãã£ã¨ã¯ cssã®è¨è¨æ¹æ³ å½åè¦åããã£ã¬ã¯ããªæ§æãè²ã ãã æ±ç¨æ§ãæãããè¨è¨ãããããã«ã誰ãã¿ã¦ããéä¸ã§èª°ãå ¥ã£ã¦ãæ§æçããããããã«è¨è¨ããããã¨ããææ³ãããã¦ãã£ã½ã BEM ã³ã³ã»ãã CSSã»ã¬ã¯ã¿ã®å½åè¦åã¨è¨ããã¦ãã Block,Element,Modifierã®ç¥ Block:å¡ ãããã¼ãããã²ã¼ã·ã§ã³ãããã¿ã¼ãªã©ã®ãã¼ã ç¬ç«ãã¦ã Element:è¦ç´ æ¤ç´¢ãã¿ã³ãæ¤ç´¢ããã¯ã¹ãªã©ã®é¨å æ©è½ãæã£ã¦ãã Modifier:è£ é£¾ é¨åã®ç¶æ ã®è²çã®è£ 飾 å®ä¾ å½åè¦å blockã«å¯¾ãã¦ãelementã¨modifierããããã_(ã¢ã³ãã¼ã¹ã³ã¢1ã¤)ã»__(ã¢ã³ãã¼ã¹ã³ã¢2ã¤)ã»-
æ ªå¼ä¼ç¤¾ã¢ã³ãã£ã¼ã»ãã¡ã¯ããªã¼XAãã¼ã ï¼ãã¼ã¯ã¢ããã¨ã³ã¸ãã¢ãã¼ã ã®å称ï¼ã® Advent Calendar 1æ¥ç®æ å½ã®@kokushinã§ãã æ¥åã§ã¯Webãµã¤ãã®ãã¼ã¯ã¢ããã«å ããJavaScriptãç¨ããæ¼åºã»æ©è½å®è£ ãªã©ãè¡ã£ã¦ããã¾ãã ãã©ã¤ãã¼ãã§ã¯ãVue.jsã使ã£ãWebã¢ããªãCSSãã¬ã¼ã ã¯ã¼ã¯ãªãããèªä½ãã¦éãã§ãããæè¿ã ã¨ãµã¼ãã¼ãµã¤ãè¨èªã«ãæãåºãå§ãã¾ããã楽ããã§ãã CSSè¨è¨ã«é¢ãã¦ã¯ã¾ã è¦ææèãããã¾ãããOOCSSã»SMACSSã»BEMã»FLOCSSãªã©ã®è¨è¨è«ããAtomic Designã¨ãã£ãèãæ¹ãç»å ´ãããã¨ã§æãããã¯éåã¨è¯ããªãã¾ãããã å¼ç¤¾ã§ã¯ä¸»ã«FLOCSSãåãå ¥ãã¦æ¥åã«æ´»ããã¦ããã®ã§ããããã©ã¤ãã¼ãéçºã®ã¨ãã¯ãç¬èªã®CSSè¨è¨ãèãã¦å®éã«ä½¿ã£ã¦ã¿ãããã¨æ±ºãã¦ããã®ã§ãWebãµã¤ãã®ã½ã¼ã¹ã
åCSSè¨è¨ããèªç¤¾ã®ãµã¼ãã¹ã«åãå ¥ããå ´åã©ããªã¡ãªããã»ãã¡ãªããããããã ãããã¨æã£ã¦èª¿ã¹ãã®ã§å人çãªã¡ãªããã»ãã¡ãªãããå«ãã¦ã¾ã¨ãã¾ããã ã¡ãªã¿ã«å¼ç¤¾ã¯SMACSSãæ¡ç¨ãã¦ããã®ã§ãããæã£ã以ä¸ã«ãä¼¼ã¦ããããã©ãå°ãéããã使ãåããªããã¼ããã¨ãå 容ã«ä¾åãããã¼ãããå¤ãã£ãã®ã§ããã®ãããä¸æãã¯ãªã¢ã§ããè¨è¨ææ³ç¡ãããªã¨æã£ã¦æ¢ãã¾ããã ä¸è¦§ OOCSS BEM SMACSS FLOCSS ECSS MCSS OOCSS ç¹å¾´ ãªãã¸ã§ã¯ãæå ãã«ãã¯ã©ã¹ æ§é ã¨ã¹ãã³ï¼è¦ãç®ï¼ãåé¢ãã ã³ã³ããã¨å 容ãåé¢ãã ã¡ãªãã æ§é ã¨è¦ãç®ãåé¢ãããã¨ã«ããããã¼ãã®ä½¿ãåãããããã ï¼ä¾ï¼btnã¨btn-submitãçµã¿åããã¦æ稿ãã¿ã³ä½ãã¨ãï¼ ã³ã³ããã¨å 容ãåé¢ããã®ã§ãä½ã£ããã¼ããã©ãã§ã使ãããå ´æã«ä¾åããªãã ãã¡ãªãã åè¦
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}