鹿éããã«èãï¼2023å¹´ã¢ãã³CSSã®ææ°ãã¬ã³ã https://findy.connpass.com/event/278449/ ã§çºè¡¨ããè³æã§ãã åãªã³ã¯ã¯ãã¡ãããåç § https://tonkotsuboy.github.io/20230413_findy_css/
Winã§ã¯åºæ¬çã«ãã©ã³ãã¬ã³ããªã³ã°ãCSSã§å¶å¾¡ãããã¨ã¯åºæ¥ã¾ãããã¾ããã¹ãã¼ããã©ã³ã®ãã©ã¦ã¶ãã»ã¨ãã©å¶å¾¡ã§ãããåºæ¬çã«ã°ã¬ã¼ã¹ã±ã¼ã«ã§è¡¨ç¤ºããããã¨ãå¤ãããã§ããã Macã§ã¯Safariã®ã¿ãã°ã¬ã¼ã¹ã±ã¼ã«ã§ããããããåå ã§ãSafariã§æåãç´°ãè¦ãã¦ãã¾ããç¾è±¡ãèµ·ãã£ã¦ãã¾ãã ããã¤ã¹ã®dpiã«ããè¦ãæ¹ ãã®ã¾ã¾åãã©ã¦ã¶ã§ã¢ã³ãã¨ã¤ãªã¢ã¹ãæããè¨å®ãã¦ãè¯ãã®ã§ããã1x, 2xã®è§£å度ã«ããè¦ãæ¹ãè¦ã¦ããã¾ãããã(ä»åã¯Thunderbolt Display = 109ppi, MBP Retina Display = 220ppiã§æ¤è¨¼ã»æ¯è¼ãå®éã«è¡¨ç¤ºããç»é¢ãã¹ããã®ã«ã¡ã©ã§å å·¥ãç¡ãããã«ãã¦æ®ãã¾ããã) 109ppi(Thunderbolt Display) 220ppi(MBP Retina Display) 以ä¸ã®ãã¨ããããã¾ã
2015å¹´8æ17æ¥ CSS 以åãããããã®CSSã¬ã¤ã¢ã¦ãã¯Flexboxã§æ±ºã¾ãï¼ãã¨ããè¨äºã§ç´¹ä»ãããCSSã§ã®ã¬ã¤ã¢ã¦ãçµã¿ã«å¤§æ´»èºã§ããFlexboxãååã¯åºæ¬çãªä½¿ãæ¹ã®ç´¹ä»ãããã®ã§ãä»åã¯ããå®è·µçã«ä½¿ããå®ä¾ãç´¹ä»ãããã¨æãã¾ãï¼ âç§ã10年以ä¸å©ç¨ãã¦ããä¼è¨ã½ããï¼ Flexbox対å¿ãã©ã¦ã¶ã¼ åè¿°ã®è¨äºã®éããç¾è¡ã®ã¢ãã³ãã©ã¦ã¶ã¼ã§ã¯åé¡ãªãå©ç¨ã§ãã¾ãããã ããSafariç¨ã« -webkit- ã®ãã³ãã¼ãã¬ãã£ãã¯ã¹ãå¿ è¦ã§ããIEã«ã¤ãã¦ã¯11ããæ£å¼ã«å¯¾å¿ã ããã¦ããªãã¿ã®æ¥æ¬ã§ã®ãã©ã¦ã¶ã¼ã·ã§ã¢æ å ±ã2015å¹´7æã§ã¯IE11ã32.86%ã§ãããã§ããFlexboxã«å¯¾å¿ãã¦ããªãIE9ã¯3.17%ãå¶ä½ãããµã¤ãã«å¿ãã¦Flexboxãåãå ¥ãããæ¤è¨ãã¾ãããã ä¸çªåºæ¬çãªWebãµã¤ãã®ã¬ã¤ã¢ã¦ãã§ããã2ã«ã©ã ãã¾ãã¯ãã®ã¬ã¤ã¢
2015å¹´4æ8æ¥ CSS CSSã®å°æãã¹ããããéãªãããè¦ã¦ããã¨ãã¡ããã¡ããè¦ããã content ããããã£ã¼ããããããã°ãããã¤ä¸ä½ä½è â¦ï¼ï¼ãã¨æã£ãæ¹ããããããããªãã®ã§ãä»æ´ãªããæ¹ã㦠content ããããã£ã¼ã®ç´¹ä»ããããã¨æãã¾ãã âç§ã10年以ä¸å©ç¨ãã¦ããä¼è¨ã½ããï¼ content ããããã£ã¼ã£ã¦ä½ï¼ content ããããã£ã¼ã¯ãè¦ç´ ã®åå¾ã«ã:before ã¾ã㯠:after ã¨ããæ¬ä¼¼è¦ç´ ã使ã£ã¦ããã¹ããç»åãªã©ã®ã³ã³ãã³ããæ¿å ¥ããéã«ä½¿ç¨ãã¾ããæ¬ä¼¼è¦ç´ ã¨ã¯ãHTMLãªã©ã®ææ¸ã«ã¯è¨è¿°ããã¦ããªãè¦ç´ ãCSSã«ãã£ã¦æ°ãã«ä½ãåºãããæ¶ç©ºã®è¦ç´ ã§ããWebã¯ãªã¨ã¤ã¿ã¼ããã¯ã¹ã§ããéå»è¨äºããã¤ã¦ã¯JavaScriptãå©ç¨ãã¦ãããã®ã®ãä»ã§ã¯CSSã®ã¿ã§å®è£ ã§ãã10ã®å°æãããçµæ´ãä¼ç¤¾ã®æ²¿é©ãã¼ã¸ã«ï¼ç°¡åãªCSSã§å®è£ ã
1. HTML/CSS ã ããã»ãã»ã¦ã»ãªã»ããããã©ã¦ã¶ã«ã ã TAKEHARU IGARI Front-end Engineer / Evangelist ãã©ã¦ã¶ã«ãããã <html5j ããã©ã¼ãã³ã¹é¨ 第â¼ååå¼·ä¼ /> 2. ãããã£ã¼ã« ⢠TAKEHARU IGARI çªç© ä¸æ²» - æå± â¢ æ ªå¼ä¼ç¤¾ Lei Hauʼoli ããã³ãã¨ã³ãã¨ã³ã¸ã㢠- ç¥æ´ ⢠表⽰é度ãä¿å®æ§ããã©ã³ãã£ã³ã°ãSEOãèæ ®ããããã³ãã¨ã³ãã¨ã³ã¸ãã¢ãªã³ã°ãå¾æã¨ãã ç¾å¨ãåãã·ã§ãã«ã¯ã©ã¤ã¢ã³ãã®ããã¸ã§ã¯ãããæ ªå¼ä¼ç¤¾ãªã¯ã«ã¼ãã®ä¸»è¦ãµã¼ãã¹ã®ããã³ã ã¨ã³ãéçºã«æºãããâ¾¼éåã³ã³ãµã«ãã£ã³ã°ãâ¾ãã - å·ç ⢠æè¡è©è«ç¤¾ãWEB+DB PRESSã ⢠Vol.66 ãææµã³ã¼ãããã®åæ¥HTMLæ§é åæå ⢠Vol.59 ããWebãµã¤ãè¶ â¾¼éåå®æ³ä¸ç¶ ââ
CSSã®åºæ¬ã使ããå°æãã¯ããã¯ãªã©ãå¹ åºãã¾ã¨ãã¾ããã以åæ¸ãã¦ä»ãããããã¢ã¯ã»ã¹ããããCSSã®ç¥èããã£ã¨æ·±ãã30+2ã®å°æãã¯ããã¯éï½Webparkãã¨ããè¨äºãããã®ã§ããã2å¹´è¿ãåã®è¨äºã§ãããã¯ã¼ã¢ããããã¦ä½ãç´ãã¾ããã æããéå»æé·ã®è¨äºã§ãã®ã§ç®æ¬¡ãä½ãã¾ãããã¯ãªãã¯ããã¨ãããã¨ç§»åãã¾ããåºæ¬çãªå 容ãå¤ãã§ããããå½¹ã«ç«ã¤é ç®ãããã°ããããã§ãã ã¨ãããã¨ã§é çªã«èª¬æãã¦ããã¾ãã 1. å ¨è¬çãªã㨠1-1. CSSãªã»ãã ãã©ã¦ã¶ãã¨ã§ããã©ã«ãã®ã¹ã¿ã¤ã«ã¯ç°ãªã£ã¦ãã¾ãããã®éãããã®ã¾ã¾ã«ãã¦ããã¨ãå¾ã§ãã©ã¦ã¶éã®è¡¨ç¤ºã®éãã«æ©ããã¨ã«ãªããã©ããåå ãåãããªãã¨ã¤ã©ã¤ã©ãã¦ãã¾ãã¾ãã ãããªãã¨ã®ãªãããã«ããã£ããããã©ã«ãã®ã¹ã¿ã¤ã«ããªã»ãããã¦ãã¾ããã¨ããã®ããªã»ããCSSã§ãã æ¹æ³ã¯è²ã ããã¾ãããå人çã«ã¯ä¸çª
ãããªã¨ã³ããªã¼ã¯å»å¹´æ«ãå¹´æãã«æ¸ãã¦ããï¼ã£ã¦æãã¾ãããblogãæ¸ãç·´ç¿ã¨ãã¦ã¾ã¨ãã¾ãã ããããåæãããã¼ã«ã使ãäºã«ãããå»å¹´ã¯æãåããäºã®æ¥½ãããå確èªã ãã¾ã¾ã§ãã«ãã£ãä½æ¥ã楽ã«ãªãã ãã§ã¯ãªããHTMLããã¬ã¤ã«æ¸ãããæ§é ãèããããã«ãªã£ããã¨ä¸ç³äºé³¥ã SASS and Compass å ¨ä¿ºãæåããå½ã³æ³£ãã»ã©ç¡ãã¦ã¯ãªããªãåå¨ã¨ãªã£ãHtmlã³ã¼ãã£ã³ã°ã®é©å½å ã ãªãããã«å°å ¥ããªãã£ãã®ãã¨éå»ã®èªåã«è¨ããããããï¼ ãã¾ãã解説ã¯ãããªãã¨æãã¾ãã®ã§ããä¸è©±ã«ãªã£ããµã¤ãããç´¹ä»ãããã¾ãã CSSæ¸ããªãCompass使ã£ãæ¹ãããããSASS使ã£ã¦ã人ãªãç¹ã«ã Spriteç»åã§ããæ©ã¾ãªãï¼ï¼Sassã¨Compassã§éæ»Spriteç»åãä½ãæ¹æ³ã«æåï¼ | ãã³ã¯ã¼ãã¼ã®ããã¶å± Compassã§CSSã¹ãã©ã¤ã[to-R] C
ãµã¼ãã¹çµäºã®ãç¥ãã NAVERã¾ã¨ãã¯2020å¹´9æ30æ¥ããã¡ã¾ãã¦ãµã¼ãã¹çµäºãããã¾ããã ç´11å¹´éãNAVERã¾ã¨ãããå©ç¨ã»ãæ顧ããã ãèª ã«ãããã¨ããããã¾ããã
ãã£ããå¤ã£ã½ããªãããã¢ã¬ã¼ãã³ã«æ¯æ¥éãããã¨å¸¸ã æããä»æ¥ãã®é ãLatin ã§ãã å··ã§æµè¡ã£ã¦ããã¨åã® Google HTML/CSS Style Guide ã«ã¤ãã¦ã¾ã¨ãã¦ä¸ãã£ã¦ãã REFLECT DESIGN ããã®ããã°ããã代表çãªãã®ãããã¤ãæç²ãã¦ã¿ã¾ããã å ¨è¬çãªã¹ã¿ã¤ã«ã«ã¼ã« ä¸è¬çãªæ¸å¼ã«ã¼ã« å ¨è¬çãªã¡ã¿ã«ã¼ã« HTMLã®ã¹ã¿ã¤ã«ã«ã¼ã« HTMLã®æ¸å¼ã«ã¼ã« CSSã¹ã¿ã¤ã«ã«ã¼ã« CSSæ¸å¼ã«ã¼ã« å ¨è¬çãªã¹ã¿ã¤ã«ã«ã¼ã« ãããã³ã«ã®è¨è¿° <!-- NG --> <script src="http://www.google.com/js/gweb/analytics/autotrack.js"></script> <!-- OK --> <script src="//www.google.com/js/gweb/analytics/autotrac
IE6 ã¸ã®å¯¾å¿ãä¸æ®µè½ããæ¨ä»ã IE7 ãããããäºå®ä¸å¸å ´ãã姿ãæ¶ãæ¥ãè¿ã¥ãã¦ããããã§ããflickr ãä»å¹´ä»¥éãªãªã¼ã¹ããæ°æ©è½ã«ã¦ IE7 ããµãã¼ãããªããã¨ã表æãã¾ãããç§ã®å¤åå ã§ããä»ãã®ãããå¢ã㧠IE7 ã®ã·ã§ã¢ãä½ä¸ãã¦ãããä»å¹´ã®å¤ããå¬ã«ããã¦ãä»ã® IE6 ã¨åããããã®ã·ã§ã¢ã«ãªããããããªãå¢ãã§ãã ã¨ããããã§ã IE ã®æä½åä½ä¿è¨¼ãã¼ã¸ã§ã³ã 7 ãã 8 ã«ãªã£ããä½ãã§ããããã«ãªãã®ããåãã® caniuse.com ãè¦ã¦ãã£ã¨æ´ãåºãã¦ã¿ã¾ããã®ã§ãåç §ãã ããã CSS inline-block display:inline-block ã使ãã¾ããIE 6/7 ã§ã¯ "display:inline; zoom:1;" ã§ä»£ç¨ãã¦ããã¨æãã¾ãã Table Display display:table ã display:t
ã¹ãã«ãã§ãã¯ã®ç®æ¬¡ã¸ HTMLããã³ã¹ã¿ã¤ã«ã·ã¼ãï¼CSSï¼ãå©ç¨ããWebãã¼ã¸å¶ä½ã®ï¼ç°¡æã¹ãã«ãã§ãã¯ã®ããã®èª¿æ»è¡¨ãå°å·ç¨ã ãã¼ã¯ã¢ããã»ã¨ã³ã¸ãã¢ã¨ãã¦ã®ã¬ãã«ã測å®ããã ããã¯ï¼ãWebãã¼ã¸ãã³ã¼ãã£ã³ã°ãã¦ä½ã人ãå ¨è¬ã«å½ã¦ã¯ã¾ãã ã¬ãã«ã¯ï¼ï¼ããï¼ã¾ã§ã®ï¼æ®µéã ï¼ï¼ï¼ éã¨ã³ã¸ã㢠ï¼ï¼ï¼ åå¦è ï¼å ¥éæ¸ãå¦ç¿ãã¦ãã段éï¼ ï¼ï¼ï¼ ãã¼ãã«ï¼åºç¤çãªç¥èãããï¼ããç¨åº¦ã®ç»é¢ãä½ããããã«ãªã£ã段éï¼ ï¼ï¼ï¼ ä¸ç´è ï¼Webã¢ããªã®éçºããã¸ã§ã¯ãã§ï¼äººæã¨ãã¦ã«ã¦ã³ãã§ããæ°´æºï¼ ï¼ï¼ï¼ ä¸ç´è ï¼ã¡ã¤ã³PG/ãã¶ã¤ãã¨ãã¦ï¼Web UIã®ä¸»æ å½ãä»»ããããæ°´æºï¼ Webã¢ããªã®ããã¸ã§ã¯ãéå§æã«ä½æ¥æ¯ãåããããã«ããã£ã¦ï¼æ°è¦ã¡ã³ãå ¨å¡ã«ããã渡ãã¦åçãã¦ãããã¨ããç¨éãæ³å®ã ãªãï¼ã·ã¹ãã éçºä¸ã®ã¹ãã«ããã§ãã¯ããäºã主ç¼ãªã®ã§ï¼ã¢ã¼ãã£ã¹ãï¼
CSS HappyLife ZERO ã移転ããã®ã§ãææ°ã§ãããæ¶ãã¡ããåã«ããã¯ãã¼ã¯çå¤æ´ãã¦ããããã¨ã¨ã¦ãå¬ããã§ãã å¶ä½ä¼ç¤¾ã§ã³ã¼ãã£ã³ã°ããå ´åã社å ã®ã¬ã¤ãã©ã¤ã³çãªã®ãæã£ãããã¶ã¤ãã¼ãããç¨åº¦åºå®ããã¦ãã¨æãã®ã§ãæ¯åä¼¼ããããªäºã確èªãããã¨ãããã®ãã¶ã¤ã³ã¯ã©ãããæå³ãªãã ããï¼ã£ã¦ã®ããä½åº¦ãåã人ã¨ãã£ã¦ãã°è¦ãã¦ãã訳ã§ãããããªã¼ã©ã³ã¹ã®å ´åã ã¨ãã¶ã¤ãã¼ã¯æ¯åéã£ã¦ããããå½ç¶ãã£ã¬ã¯ã·ã§ã³ããã人ãéãã®ã§æåã«ç¢ºèªãã¦ããããäºãæã£ãããã¾ãã ã£ã¦äºã§ããã®è¾ºããã¾ã¨ãã¦ã¿ããããã¶ã¤ã³ã渡ãããã¨ãã«ãã®ãã¶ã¤ã³ã®æå³ã¯ï¼ã£ã¦æãäºã¨ããã°ã¼ã£ã¨æ¸ãã¦ã¿ã¾ããã¯ãã ãªã®ã§ããã¶ã¤ãã¼ãããã³ã¼ãã¼ã«ãã¶ã¤ã³ã渡ãã¨ãã«æ°ãã¤ãã¦æ¬²ããç¹ã¨ããããã£ã¦ãã¾ããã°ãããå 容ï¼ã ã¨è¯ããªï¼ï¼ ãããã¾ãã¯æåã«ç¢ºèªãã¦ããããåºæ¬çãªãã¨ã
ç¶ã»ãã¤ããã©ã¼ãã³ã¹Webãµã¤ããèªãã§CSSã»ã¬ã¯ã¿ã®é«éåã®è©±ããé¢ç½ãã£ãï¼ã¨ãããå ¨ç¶ç¥ããªãã¦ã¡ãã£ã¨ã³ã³ã£ãï¼ã®ã§ç´¹ä»ãã¾ãã ã»ã¬ã¯ã¿ã¯å³ããå·¦ã«è§£éããã ããã¯æ£ç´ç¥ããªãã¦ãçµæ§è¡æã§ããã #foo .bar {} ããã¯ãªãã¨ãªã#fooãæ¢ãã¦ããã®ä¸ã®.barãæ¢ãã¦ããæ°ããã¦ããã§ããã©ãå®ã¯.barãæ¢ãã¦ããã®è¦ªè¦ç´ ã«#fooãããããæ¢ãããã§ãããªã®ã§ç¹ã«#fooãå¿ è¦ãªããã° .bar {} ã¨æ¸ããã»ããé«éã ã¨ãããã¨ã ã¾ãã以ä¸ã®æ§ã«è¦ç´ åã§æå®ããã¨ããã®è¦ç´ ãå ¨ã¦æ¢ãã¾ãã #foo a {} ããã¯ä¸åº¦aè¦ç´ ãå ¨ã¦æ¢ãã®ã§ãã§ããã°aã«classããµã£ã¦ #foo .anchor {} ã¨ããã»ããé«éã®ããã§ããï¼#fooãã¨ãã¨ããé«éï¼ ç¹ã«ã¦ããã¼ãµã«ã»ã¬ã¯ã¿ãªã©ã¯ã #foo * {} ã¨ããã¨ãå ¨ã¦ã®è¦ç´ ã®è¦ªè¦ç´ ã«å¯¾ãã¦
[CSS]ã¹ã¿ã¤ã«ã·ã¼ãã®å®ç¨çãªãã¯ããã¯éï¼ã¬ã¤ã¢ã¦ãã»ããã²ã¼ã·ã§ã³ã»ç»åã»ã¿ã¤ãã°ã©ãã£ã»ã¢ã¤ã³ã³ã»ãã¿ã³ã»ãªã³ã¯ç·¨
ãããã§æ¤ç´¢ããã㨠CSS ã®ãã¯ããã¯ãå±±ã»ã©å ¬éããã¦ãã¾ãããå®éã«åç¨ãµã¤ãã®å¶ä½ããã¦ãã¦å人çã«å©ç¨ããé »åº¦ãé«ããã¯ããã¯ã® BEST 5 ããç´¹ä»ãã¾ãã ã¡ãã£ã¨åã£ããã¶ã¤ã³ã®ãµã¤ããã³ã¼ãã£ã³ã°ããæã«ããããã®ãã¯ããã¯ã«å©ãããããã¨ãå¤ãã§ããã©ããè¦ãã¦ããã¦æã¯ãªããã®ã°ããã§ãï¼ IE6 ã§ã min-height ã使ã ä¾ãã°ãç°ãªãé«ãã®ãããã¯ã float ãã¤ã¤åºè¾ºã®ã©ã¤ã³ãæãããæãªã©ã«ããIE6 ã min-height ã«å¯¾å¿ãã¦ããã楽ãªã®ã«ï¼ãã¨æããã¨ãããã¾ããã以ä¸ã®ãã¯ããã¯ã使ãã° IE6 ã§ã min-heightï¼ç¸å½ï¼ã®é©ç¨ãå¯è½ã«ãªãã¾ãã [CREAMU]CSSã§min-heightãã¯ãã¹ãã©ã¦ã¶ã«ããæãç°¡åãªæ¹æ³ãEasiest cross-browser CSS min-heightã IE6 ã« mi
ã©ã³ãã³ã°
ã¡ã³ããã³ã¹
ãç¥ãã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}