å¤å°è¤éãªãã¶ã¤ã³ã§ããç»åã JavaScript ã«ã¯é ¼ãããCSS ã§å®ç¾ããããããã«ã¯ãã¯ãæ軽ããªã©ã¯åå¨ããªããããã®ã¯ç·ã®ããã³ã
CSSã§ã§ããäºãã©ãã©ãå¢ãã¦ã¾ããJavaScriptã使ã£ã¦å®è£ ãããããªã¬ã¤ã¢ã¦ããUIããCSSã ãã§ä½ãã¡ããã»ã©ã便å©ãªããããã£ãããããããå¢ãã¾ããããããã§ã¯ãè¦ç´ ã«ã¢ãã¡ã¼ã·ã§ã³å¹æãã¤ããããã®CSSã使ã£ãã¨ãã§ã¯ãã«ã¤ãã¦ãã¾ã¨ãã¦ãããã¨æãã¾ã:)ã CSSã§åãã ãåããã¨ãã£ã¦ããèªç±èªå¨ã«ãã«ããã«ãåãããããã§ã¯ãªãã¦ãCSSã¢ãã¡ã¼ã·ã§ã³ã§ã¯ãããããã£ã®æ°å¤ãã¹ã ã¼ãºã«å¢æ¸ããããã¨ã§ãè¦ç´ ã®ã¹ã¿ã¤ã«ãæ»ããã«å¤åããã¾ãã ä¾ãã°ãä¸ã®ãµã³ãã«ã§ã¯ãpè¦ç´ ã«ã«ã¼ã½ã«ãåãããæã«ãfont-sizeã®å¤ãã1emãã2emã«ãã¹ã ã¼ãºã«å¤åããããã«æå®ãã¦ãã¾ãã p { transition: font-size 1s; } åããããã®ãã¹ããããã㣠CSSã§ã¢ãã¡ã¼ã·ã§ã³ãããããã«å¿ è¦ä¸å¯æ¬ ãªã®ãtransitionããããã£
注æäºé ããã¯çºè¡¨è³æã§ãæ®éã®ã¦ã§ããã¼ã¸ã§ã¯ããã¾ããã ç°å¢ã«ãã£ã¦ã¯æ£å¸¸ã«è¡¨ç¤ºãããªãããããã¾ããã ãã®è³æã®å 容ãæ£ããã¨ã¯éãã¾ããã æ£ããç解ããããã«ããèªèº«ã§ä»æ§ãèªããã¨ããå§ããã¾ãã éå½èªçï¼íêµì´ï¼ Translation by ì¡°ì August 30, 2015 å仲 義å Yoshinori Kuninaka ï¼a.k.a. Matori / @ub_pnrï¼ æ ªå¼ä¼ç¤¾ã·ãããã¬ã¤ã³ ç®æ¬¡ CSSã®åºæ¬æ§æ ããããã£ã¼ã®ä»æ§ã¨ããã®å¤ã®æ§æ åã¨åä½ é¢æ°è¡¨ç¾ ä»æ§ãè¦ãã¦ã¿ã¦ã¿ãã ä»æ§ã¯ã©ãã«ããã®ï¼ CSS current work & how to participate CSS3ã®æ¥æ¬èªè¨³é - è¡çµ±ã®æ£® webå®é¨å°å± æ¥æ¬èªè¨³ãè¦ãã¨ãã«ã¯ãåæã¨ä¸ç·ã«è¦ããã¨ããå§ããã¾ãã ã¾ãã誤訳ãªã©ãè¦ã¤ããã翻訳è ã«é£çµ¡ãåã£ã¦ã¿ãã¨ã
CSSã®åé¡ ã»ã¬ã¯ã¿ã¼è¨è¨ãè¾ã ç¹ã«å¤§è¦æ¨¡åããå ´åããCSSã®åé¡ã===ãã»ã¬ã¯ã¿ã¼ã®åé¡ãã¨è¨ã£ã¦ãã ï¼ãã以å¤ã«ããããã©ã大è¦æ¨¡åããã¨ã»ã¼ç¢ºå®ã«ã»ã¬ã¯ã¿ã¼ã¯åé¡ã«ãªãï¼ ãªã大è¦æ¨¡åããã¨ã»ã¬ã¯ã¿ã¼ãè¾ããªãã®ã ãé è½ãã§ããªãã ãµã¤ãå ¨ä½ã§ä½¿ç¨ãã¦ããã°ãã¼ãã«å¤æ°ã«å¯¾ããå®ç¾©ãæ¸ãã¦ãããããªãã®
ããããåå¼·ããªãããã¼ã¨æãã¤ã¤ãã ãããªãåå åæãã åæ ãåã¯JSæ¸ãã¦ãã°ãããã¨çããããã¦ããã®ã§ä»äºã§æ¸ããéã¯å°ãªã ãªããã¼ããã¤ã³ãçã®è¡¨ç¤ºå¶å¾¡ç³»ã¨ããã©ã¼ãã³ã¹å¨ãã ãã¯ãããªãã«ç¥ã£ã¦ã position: absolute ã visibility: hidden ã¨ã ç°¡åãªè£ 飾ã¯ã§ãã 段çµã¨ãã®ç¥èãããã¾ããªã ããããªãã㨠解æ³ãä¸ã¤ã§ã¯ãªããæé©è§£ãããããªã æ°ããªãã°ãããæ°ããããæéããã£ã¦ã ãã ãã§ã«ãããµã¤ããåèã«ããããããæ£ããã®ãããããããªã æ£è§£ã(ããã°ã©ãçæè¦ã ã¨)éãã¿ãã ãã¨ãã°ä¸å¤®å¯ã ãã¨ãã°æ®µçµ ãã®relativeæå®ã¯æ¬å½ã«å¿ è¦ãªã®ãâ¦ã¿ãã㪠ã°ã°ã£ã¦å¼ã£ãããè³æã®ã¬ãã«ãä½ã å¤ã®spacer.gifã¨ãæªã ã«å¼ã£æãã ããã¯JSã¨åãåé¡ãªã®ã§2010~ã®è³æããã¿ãªãããã«ãã 楽ã§ãã
CSSã®ä¿å®ã«ä¾¿å©ãªcsscombã¨scss-lintã«ã¤ãã¦èª¬æãã¾ãã scss-lint scss-lintã¯ãSCSSã®ã³ã¼ãããä¸ããè¨å®ã«éåãã¦ããç®æãå ±åãã¦ããããã¼ã«ã§ããjslintãrubocopã®SCSSçã®ãããªãã®ã§ãããããCIçã§å®æçã«å®è¡ãã¦ãããã¨ã§ãã«ã¼ã«ã«éåããã³ã¼ãã®è延ãé²ãã¾ãã csscomb csscombã¯Node製ã®ãã¼ã«ã§ãCSSã®ã³ã¼ããä¸ããè¨å®ã«å¾ã£ã¦èªåã§å¤æãã¦ããããã®ã§ããscss-lintãåãã¦å°å ¥ããã¨ãã«å©ç¨ããã°ã大åã®è¦åãèªåã§ä¿®æ£ãã¦ãããã§ããããä½ãCSSã®ææ³ãã解éã§ããªããããSCSSã«é©ç¨ããã¨å¤±æããå ´åãããã¾ããSCSSã§æ¸ããããã¡ã¤ã«ã«å¯¾ãã¦é©ç¨ãã¦ã¿ãã¨ããã@includeãªã©ã®ææ³ã¯åçããããã®ã®ã@ifãªã©ã®ææ³ãåçã§ããªãããã§ããããããªããåé¡ã¨ãªãã±ã¼ã¹ã
13. too Fragile #main { ... } #main .article { ... } #main .article .title { #main .breaking .title { #header #logo img { ... #header li#logoTop { ... #header li#logoTop:after .article-header .datetime ul.member-list li.member .widget p,.widget ul { ... #sidebar .widget { ... } #sidebar li a.register{} body.landing #main section #slider-control div { #bannerList li div#rotate
ã¯ããã«ãèªå·±ç´¹ä» 1990å¹´ãããããã¹ãæ´å½¢ãã¼ã«ãXTRããéçºãããªã¼ã½ããã¦ã§ã¢ã¨ãã¦å ¬éã ããããã£ããã§ãçµçã¨ãã¼ã¯ã¢ããè¨èªï¼SGMLï½XML/HTMLï¼ãã¹ã¿ã¤ã«ã·ã¼ãè¨èªï¼XSL/CSSï¼ã«é¢å¿ãæã¤ã 1999å¹´ãXML/CSSèªåçµçã½ããã®éçºããã¢ã³ãããã¦ã¹ã«ä¼ç»ææ¡ãAntenna House Formatterã¨ãã¦è£½ååã W3C CSSä»æ§ã¨ãã®å®è£ ã«æºããããã®é¢ä¿ã§é»åæ¸ç±ãã©ã¼ãããEPUB3ï¼ç¸¦æ¸ã対å¿ï¼ã®æ¨æºåã«ãé¢ãã£ãã 2014å¹´8æã次ä¸ä»£CSSçµçãã¼ã«ãéçºãããããæ ªå¼ä¼ç¤¾ãããªãªã¹ã¿ã¤ã«ãè¨ç«ï¼ã¢ã³ãããã¦ã¹ãåºè³ï¼ã CSSçµçï¼HTML(ã¾ãã¯XML)+CSSã§çµç çµçã¨ã¯ãå°å·ã®ä¸å·¥ç¨ã§ãæåãå³çãªã©ã®è¦ç´ ãé ç½®ããç´é¢ãæ§æãããã¨ãâ¦â¦ ç»é¢ä¸ã§ã®ç·¨éãåæã¨ãã WYSIWYG ã® DTP ã«å¯¾ãæ¬æ¥ã®çµç
6. âCSSã¯ãã®åç´ãããã«ã 大è¦æ¨¡ãªå®è£ ã§ã¯ç®¡çãé£ããã BIG CSS âCSS, for all its simplicity, is a difficult language to manage in large-scale implementations. â - MVCSS / Overview https://www.youtube.com/http://watch?mvcss.v=github.R-BX4N8egEc io/ https://www.flickr.com/photos/nickpiggott/5212359135
æ¨æ¥ã®Vieraã®ãªã¢ã³ã³ããªã¢ã³ã³ãä½ãããã£ãã®ããããã©ãsvgã¨JavaScriptãçµã¿åãããç°¡åãªããã°ã©ã ã試ãã«æ¸ãã¦ã¿ããã£ãã¨ããã®ãããã¾ãã html5ã§ã¯svgãhtmlä¸ã«åãè¾¼ãã§ãæ´ã«ãã®svgã«cssã§ã¹ã¿ã¤ã«ãå½ã¦ãããJavaScriptã§ãããããã£ããåºæ¥ã¾ãã ãã®æãè¦ç´ ã®ã¯ãªãã¯é åã¯è¦ç´ ã®å½¢ãã®ã¾ã¾ãªã®ã§ãæ¨æ¥ã®ãªã¢ã³ã³ã®ãããªå¤ãªå½¢ã®ã¯ãªãã¯é åãç°¡åã«ä½ããã¨ãåºæ¥ã¾ãã 以ä¸ã®ç»åã®è²ã®ã¤ããç®æã«ãã¦ã¹ãä¹ãããã¯ãªãã¯ãããããã¦ã¿ã¦ãã ããã 100km ç»åã¯Wikipediaããã ä¸è¨ã®ç»åã¯ãã¯ãªãã¯ã§ããç®æã« .svg-area ã¨ããã¯ã©ã¹åã¨ãdata-nameå±æ§ã«å¸çºæã®æååãå ¥ã£ã¦ããã以ä¸ã®æ§ãªcss/jsã«ãã£ã¦åä½ãå®ç¾ãã¦ãã¾ãã path.svg-area { cursor: pointer;
Webãã¼ã¸ã®å¶ä½ã«æºãã£ããã¨ããããªãCSSãæ±ã£ããã¨ãããã ãããå½åã¯å°ããã£ãCSSãã¡ã¤ã«ãããã¶ã¤ã³ã®å¤æ´ã調æ´ãç¶ãããã¡ã«ãã©ãã©ã大ãããªã£ã¦ãããç°¡åã«ã¯å ¨ä½ãè¦æ¸¡ããã¨ãã§ããªããªããæ¢åã®ãã¶ã¤ã³ãå´©ããããã©ã¡ã¼ã¿éã®èª¿æ´ãåããããæ¢åã®CSSã«ã¯æãå ããã«æ°ããã¹ã¿ã¤ã«ã追å ãã¦ãããã¨ã«ãªãããããã¡ã¤ã«ã¯ã©ãã©ã大ãããªã£ã¦ããã ããããç¶æ³ã¯CSSãã¡ã¤ã«ã®ã¡ã³ããã³ã¹ã¨ãã観ç¹ããã¯ãã¾ã好ã¾ãããã®ã¨ã¯ãããªããç·¨éãç¹°ãè¿ãã¦ãããã¡ã«ããã§ã«ä½¿ãããªããªã£ã¦ããã¹ã¿ã¤ã«ãããã ãããããããã¹ã¿ã¤ã«ã¯ã§ããã°åé¤ããæ¹ãããã¡ã¤ã«ã®ä¸èº«ã®è¦éãããããªãããããªå ´åã«æ´»ç¨ã§ãããã¼ã«ãThe David Walsh Blogã®è¨äºãuncss: Find Unused CSSãã«ããã¦ç´¹ä»ãããã ç´¹ä»ããã¦ãããã¼ã«ã¯ãuncssãã¨ã
[大éª] ããã°ã©ãã¼åããã¶ã¤ã³åå¼·ä¼ã§çºè¡¨ããã¦ããã ãã¾ããã http://connpass.com/event/3086/ --- [ãããã¦èªã¿ãã] KSSã§ä½ããã¿ã¼ã³ã©ã¤ãã©ãª by @machida https://speakerdeck.com/machida/kâ¦
ã¿ã¤ãã«ã¯ ã©ããã¦ããã°ã©ãã«ã»ã»ã»ããã°ã©ã ãæ¸ããªãã®ã? ãããã£ã¦ãã¾ããã åæã¯ããã§ãããã FizzBuzzåé¡ã¨ããæåãªåé¡ãããã¾ãã 1ãã100ã¾ã§ã®æ°ã表示ãããã ãã ã3ã®åæ°ã®ã¨ãã¯æ°åã®ä»£ããã«Fizzã¨ã5ã®åæ°ã®ã¨ãã¯Buzzã¨ã3ã¨5ã®ä¸¡æ¹ã®åæ°ã®ã¨ãã¯FizzBuzzã¨è¡¨ç¤ºãããã ãã ããã ãã®åé¡ã§ãã PHPã§å¹³æã«æ¸ãã¨ããããããªãããã§ãããã <?php for ($i = 1; $i <= 100; $i++) { if ($i % 15 == 0) { echo 'FizzBuzz'; } elseif ($i % 3 == 0) { echo 'Fizz'; } elseif ($i % 5 == 0) { echo 'Buzz'; } else { echo $i; } } JavaScriptãªããããªæãã§æ¸ãã¾ãã
CSSã«ããã¤ã³ããã¯ã¹ãããªãè¬ç½ªæ CSSã«æ¬æãæ¸ãã¦ããã®ã§ãç»é¢ä¸ã¯è¡¨ç¤ºããã¦ãããGoogleã§ã®ãã¼ã¯ã¼ãæ¤ç´¢ã«ã¯å¼ã£ããããªã ãæµåºããªã©ã®å«ãªåèªã¯:beforeã¨:afterã«ãæµããåºããåãã¦æ¸ããã¨ã§ãèªç¶è¨èªè§£æãåé¿ #s { p:first-child { font-weight: bold; font-size: 120%; } p:not(:first-child) { text-indent: 1em; } p:nth-child(1):before{ content: "ããè©«"; } p:nth-child(1):after{ content: "ãã³"; } p:nth-child(2):before{ content: "å¹³ç´ ã¯å¼ç¤¾ã®ãµã¼ãã¹ããå©ç¨ããã ããèª ã«ãããã¨ããããã¾ãã"; } p:nth-child(3):before{ c
HTML5/CSS3ãªã©ã®ããã³ãã¨ã³ããWebä¸ã®è³æãå å®ãããã¦ãã¦ãã¤ãã¤ãä»ã¾ã§ãªãã¨ãªãä½ã£ã¦ä½ç³»çãªç¥èãä¸è¶³ãã¦ãã¾ãããç¥ãã°ç¥ãã»ã©å¥¥ãæ·±ãããã³ãã¨ã³ãã»ã³ã¼ãã£ã³ã°ãå°ãæãå¹ççã«ããããã«ãããã¤ãæ¸ç±ãè³¼å ¥ãããããããä¸ã®è³æãèªã¿è¾¼ãã§ã¿ãã®ã§ãåå¿é²ãã¦ãã¾ã¨ãã¦ããã¾ãã (02/05 20:10) å®æè¦ç´ã ð [Style Guide]ãGoogle HTML/CSS Style Guideãã®å訳 Googleãä½ã£ãStyle GuideãGoogle HTML/CSS Style Guideããå訳ãã¦ããã ãããGoogle HTML/CSS Style Guideãé©å½ã«å訳ãã¦ã¿ãããHTMLã®ãã¼ã·ãã¯ãªæ¸ãæ¹ãããCSSã®æ¸ãæ¹ã¾ã§ä¸è²«ãã¦ãããå人çã«ã¯CSSã®ããããã£ãã¢ã«ãã¡ãããé ã¨ããã®ã¯åççã ã¨æãï¼ ð° [S
å®éã«ä½¿ç¨ãããã®ããã¤ã使ãããã¨æã£ããã®ãJSFiddleãEvernoteãªããã§ãã©ãã©ã«ã¡ã¢ãã¦ããã®ã§ããããããã®ä¸ã§ãã使ããããªãã®ãä¸è¦§åãããã®ã欲ããã£ãã®ã§ã¾ã¨ãã¾ããã ä»ã¨ãªã£ã¦ã¯æ§ã ãªã¨ããã§ç¨ãããã¦ãã¾ããããã£ã¨åãã¦é¢ç½ãåããå®è£ ãã¦ãããã¥ã¼ããªã¢ã«ãªããã沢山è¦ããã¾ãããå人çã«æ±ç¨æ§é«ãã¨æããã®ä¸å¿ã§ãã 対象ãã©ã¦ã¶ã«å¤ãIEãªã©ãå«ã¾ãã¦ããå ´åã¯ãã¡ãã使ãã¾ããããããããjQueryãç»åãªã©ãä¸å使ç¨ããã«ãã¶ã¤ã³ãã¢ãã¡ã¼ã·ã§ã³ãå ¨ã¦CSSã®ã¿ã§å®è£ ãã¦ãããã®ã§ãã ã¾ããåæ§ã«CSSã®ã¿ã§ã¯ãªã¨ã¤ãã£ããªãã¿ã³ãã¶ã¤ã³ãã¨ãã§ã¯ããå®è£ ã§ããã¨ã³ããªã¼ã便å©ãªã¸ã§ãã¬ã¼ã¿ãã¼ã«ãªã©ãåå¿é²å ¼ãã¦ä½µãã¦ç´¹ä»ãã¾ãã CSS3ãå¤ç¨ãã¦ããããããã©ã¦ã¶ï¼ç¹ã«IE7ã»IE8ãªã©ï¼ã«ãã£ã¦ã¯åããè¦æ ãã説æã¨ç°ãªãå ´åãã
CodeZineç·¨éé¨ã§ã¯ãç¾å ´ã§æ´»èºãããããããã¼ãã¹ã¿ã¼ã«ããããã®ã«ã³ãã¡ã¬ã³ã¹ãDevelopers Summitãããã¨ã³ã¸ãã¢ã®çããã¾ããã¼ã¹ãããããã®ã¤ãã³ããDevelopers Boostããªã©ããã¾ãã¾ãªã«ã³ãã¡ã¬ã³ã¹ãä¼ç»ã»éå¶ãã¦ãã¾ãã
This document discusses modern CSS architecture patterns. It introduces concepts like OOCSS, SMACSS, and BEM for organizing CSS in a modular, scalable and maintainable way. It provides examples of how to build reusable CSS modules and maintain them through techniques like naming conventions, categorization and decoupling CSS from HTML. The presentation emphasizes goals of building predictable, reu
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}