MTDDC Meetup TOKYO 2024 2024/11/23 æ ªå¼ä¼ç¤¾ãµã¤ãã¼ã¨ã¼ã¸ã§ã³ã å ä¸æ (@herablog)
MTDDC Meetup TOKYO 2024 2024/11/23 æ ªå¼ä¼ç¤¾ãµã¤ãã¼ã¨ã¼ã¸ã§ã³ã å ä¸æ (@herablog)
ããã«ã¡ã¯ï¼æ ªå¼ä¼ç¤¾Rabeeã®totoã§ãðãã¶ã¤ã³ã»ECã»ãã¼ã±ãã£ã³ã°ã§ã®è·åçµé¨ããå¾ããåããããã«ç¹ãããã³ããnoteã«è¨ãã¦ããããã¨æãã¾ãã æ¬æ¥ã¯ãçæAIãã¯ã»ã¼åãã¦ï¼ã¨ããWEBãã¶ã¤ãã¼ã®æ¹ããæ¥åã§ä½¿ããæ´»ç¨è¡ããç´¹ä»ãã¾ãã ã¾ãã¯åºæ¬çãªä½¿ãæ¹ã®ç¿å¾ãç®æãã¾ãããï¼ ä»åã¯ä¸»ã«ChatGPTã使ã£ãæ¥åã®å¹çåæ¹æ³ããä¼ããã¾ãã ç§ãæ®æ®µå©ç¨ããæã¯Teamãã©ã³ã使ç¨ãã¦ãã¾ãããç¡æãã©ã³ã§ã§ãããã®ãåãä¸ãã¾ããã®ã§ããã²å®éã«è©¦ããªããèªãã§ã¿ã¦ãã ãããï¼ 1. çæAIã使ããªã¹ã¯ã¨ã¯ï¼ã¯ããã«ãçæAIã使ãä¸ã§ã®æ³¨æç¹ããä¼ããã¾ãã æ¼ ç¶ã¨ãªã¹ã¯ãæãã¦ããããã«ãçæAIãæ¥åã«æ´»ç¨ã§ãã¦ããªãã¨ããæ¹ãå¤ãã®ã§ã¯ãªãã§ããããã 主ã«ã©ã®ãããªãªã¹ã¯ãããã®ããææ¡ããä½ã«æ³¨æãããã°è¯ãã®ããç¥ãã¾ãããã 1. ãã¼ã¿ã®
Webå¶ä½ã®æè¡ã¯æ¥ã é²åãã¦ãããä¼ç¤¾ãããã¸ã§ã¯ãã«ãã£ã¦ã¯æ¨ä»ã®ç°å¢ã«é©ããªãæ¸ãæ¹ããã¦ããã±ã¼ã¹ãææè¦åãããã¾ãã ããã§ä»åã¯ã2024å¹´ã®Webå¶ä½ã§ã¯ãã®ããã«ã³ã¼ããæ¸ãã¦ã»ããï¼ãã¨ããå 容ãã¾ã¨ãã¾ããã 質ããéã§ãã¾ãã¯ããããªæ¸ãæ¹ããããã ãããã®è¨äºã§ä¼ãããã£ãã®ã§ãã³ã¼ãã®è©³ç´°ã¯ãã¾ã解説ãã¦ãã¾ããããªã®ã§ãå ·ä½çãªä»æ§ãªã©ã確èªãããæ¹ã¯åèè¨äºãèªãã ããèªèº«ã§èª¿ã¹ã¦ããã ããã¨å¹¸ãã§ãã 1. HTML ç»åå¨ãã¯ãµã¤ãããã©ã¼ãã³ã¹ã«ç´çµããã®ã§ãã¾ãã¯ããã ãã§ãåãå ¥ãã¦ããã ãããã§ããã¾ããã³ã¢ã¦ã§ããã¤ã¿ã«ãã¢ã¯ã»ã·ããªãã£ãä½µãã¦ç解ãã¦ããããå 容ã§ãã Lazy loading <img>ã«loading="lazy"å±æ§ãä»ããã¨ç»åãé 延èªã¿è¾¼ã¿ã«ãªãããµã¤ãã®èªã¿è¾¼ã¿æéãæ©ããªãã¾ãã
ããã«ã¡ã¯ï¼æ ªå¼ä¼ç¤¾Rabeeã®æ°äººãã¶ã¤ãã¼ã®akaneã§ãð ä»åã¯ãWebãã¶ã¤ã³ã§ãç´ã£ã½ãããåºãæ¹æ³ãèãã¦ã¿ã¾ãããåèäºä¾ãæ²è¼ããªããç´¹ä»ãã¦ããã®ã§ãã©ããæå¾ã¾ã§ã楽ãã¿ãã ããï¼ ã¯ããã«ï¼ãç´ã£ã½ããã¨ã¯ï¼ç§ãè¨ããç´ã£ã½ããã¨ã¯ãããã«ãéèªã£ã½ããã®ãã¨ã§ããWebãã¶ã¤ã³ã ãã©ãéèªã£ã½ãããã£ã¹ãã¬ã¤ã«æ ã£ã¦ããããã©ãã¨ãã£ããªã¢ã«æãããã ãã¨ãã°ã以ä¸ã®ãããªãã¶ã¤ã³ã¯ç§ã«ã¨ã£ã¦ãç´ã£ã½ããä¾ã§ãã åºå ¸ï¼å æ¬æ¨æªæ¥ä¼è°åºå ¸ï¼DMNåºå ¸ï¼ã¼ãã®ããããã©ããã¦ãç§ã¯ããããéèªã®ããã ã¨æããã®ã§ãããï¼èªåãªãã«èãããã¤ã³ãããã²ã¨ã¤ãã¤ç´¹ä»ãã¦ããã¾ãã ãã®â ï¼æåããçµã¾ãã¦ãããæåã«æããWebãµã¤ãã®ã²ã¨ã¤ãããè¦ã¦ã¿ãã¨ãç»åå·¦ä¸ã«ãããNO. 153ãã®æåã®ãã¡ããNO.ãã ãã縦åãã«ãªã£ã¦ãã¾ãããNO.ãã¨ã153ãã
ããã®ã«ã¦ã³ããã¦ã³ã¿ã¤ãã¼ããå¨åº«ãå°ãªããéè¦ãé«ããªã©ã®è¡¨ç¤ºã ç»åã§ã¯ãã«ã¦ã³ããã¦ã³ã¿ã¤ãã¼ããä»ã ããã®è¡¨ç¤ºã§ç¦ããã¦ãä»è²·ããªããã°ãã¨ããæ°æã¡ã«è¿½ãè¾¼ãã§ãã¾ãã ä»åç§ãã¡ã¯ãä¼æ¥ã®éã§ã¯ãã¼ã¯ãã¿ã¼ã³ãã©ã®ããã«èªèããã¦ãã¦ãã©ã®ãããªå¯¾çãåã£ã¦ããã®ããç¾ç¶ãææ¡ããããã«ç¬èªã«ã¢ã³ã±ã¼ã調æ»ãè¡ãã¾ããã 調æ»ã¯ãæ¦èµéç¾è¡å¤§å¦ã®é·è°·å·æ¦å£«ææã®ç£ä¿®ã®ãã¨ã§è¡ãããã¼ã¯ãã¿ã¼ã³ã使ç¨ããããã¨ã®å¤ã6ã¤ã®ã¸ã£ã³ã«ï¼ãããã·ã§ããã³ã°ãæ è¡äºç´ãµã¼ãã¹ã飲é£åºäºç´ãµã¼ãã¹ãåç»é ä¿¡ãµã¼ãã¹ãé³æ¥½é ä¿¡ãµã¼ãã¹ãé»åã³ããã¯é ä¿¡ãµã¼ãã¹ï¼ã«ã¤ãã¦ãå©ç¨è ã®å¤ã5ã¤ã®ãµã¼ãã¹ããããã¦30ã®ãµã¼ãã¹ã対象ã«ãã¾ããï¼å©ç¨è æ°ã«ã¤ãã¦ã¯ããã¼ã«ã»ã³ã¨ICTç·ç ã®èª¿æ»ãå ã«ãã¦ãã¾ãï¼ããã®ãã¡ã16ã®ãµã¼ãã¹ã®éå¶ä¼æ¥ããåçãããã¾ããï¼åççã¯53ï¼ ï¼ã åçããä¼
Xã®åå¦è ã®ãã¹ãã«ã¦å¤ã®ææ³ãæãã£ã¦ããæ¹ãããè¦ãããã®ã§ã2024å¹´ç¾å¨ãã®CSSãã¯ããã¯ã¯ããå¤ãã£ã¦ãã®ãããã¤ãåæãã¾ããã ãããã¯ã®ã»ã³ã¿ãªã³ã°ã« margin ã使ããªã margin-inline:auto ã使ããªããmarginã使ã£ã¦ãããã¯ã®ã»ã³ã¿ãªã³ã°ãè¡ãéã«ããæããã®ã¯margin:0 autoãããã¯margin:autoã§ãããã
ã¡ã«ã«ãªã§å¤æ®µã®ãÂ¥ãã¼ã¯ããå°ãããããè³¼å ¥çã伸ã³ãçç±ããã¤ãã£ããµã¼ãã¹åããã«ã¿ã«ã表è¨ãã«ããçç±ãªã©ããããã¯ãã®ãã¼ã±æ½çã¾ã¨ã30(2023) 2023å¹´ã«åæããè¨äºãããé·ãåèã«ãªããããªæ½çãã¾ã¨ãã¾ãããâ» æ°å¤çã¯ããã¾ã§åæå½æã®ãã®ã§ãã 1ãååãã¼ã¸ã®ãÂ¥ãã¼ã¯ããå°ãããããè³¼å ¥çã¢ããï¼ã¡ã«ã«ãªï¼ã¡ã«ã«ãªã§ã¯ãåå詳細ãã¼ã¸ã®ãå¤æ®µã®Â¥ãã¼ã¯ããå°ããããã¨ãããè³¼å ¥çã大ããä¸æããã çç±ã¨ãã¦ã¯ãÂ¥ãã¼ã¯ãå°ããããã»ãããå¿ççãªãä¾¡æ ¼ã®å§è¿«æããæ¸ã£ã¦ãå¿ççã«ãããå®ãæããããã¨èãããã¦ãããä¾ãã°ãÂ¥ãã¼ã¯ã大ããã¨æ¡æ°ãå¤ãæããããä¾¡æ ¼ãé«ãã«æããããã ãã®æ¡ãããã£ãã¨ãã«ã¯ã社å ã§ãæççã ã£ãããã ãããã¹ãããã¨å°ããªéçºã³ã¹ãã§å¤§ããªãªã¿ã¼ã³ãå¾ãããæ½çã«ãªã£ãã å è¨äºï¼https://markelabo.c
ããããã¯ãã¼ããã¨ã¯ãWordPressã®ãµã¤ãã¨ãã£ã¿ã®ããã«ç¨æãããæ°ãããã¼ãã®ãã©ã¼ãããã§ãGutenbergã®ãããã¯ã使ç¨ãã¦ãã³ãã¬ã¼ããæ§æãããã®ã§ããWordPressãå¾æ¹äºæãèæ ®ããããããä»ã¾ã§ã®ã¯ã©ã·ãã¯ã¨ãã£ã¿ãåæã®Gutenbergã使ç¨ã§ããã¨æãã¾ãããããããWordPressã®ãã¼ããå¶ä½ãããªãããã®ãããã¯ãã¼ããå¿ é ã«ãªãã¾ãã WordPressã®ããããã®ãã¼ãå¶ä½ã®æ¨æºããããã¯ãã¼ããããã£ããå¦ã¹ã解説æ¸ãç´¹ä»ãã¾ãã èè ã¯HTMLãCSSãã¯ãããJavaScriptã®è§£èª¬æ¸ãªã©Webå¶ä½ç³»ã®è§£èª¬æ¸ã§ãã¯ããç¡ãã®ã¨ãã¹ã³ã æ§ãã¦ãããã§è©³ãã解説ã¯åããããããå®è·µçãªãµã³ãã«ãããããããã®ã§ãããªãå½¹ç«ã¤ã¨æãã¾ãã æ¬æ¸ãWordPressã®ãããã¯ãã¼ãããã®åºç¤ç¥èããå®è·µçãªãã¯ããã¯ã¾ã§è©³ãã解説ããã¦ã
å æ¥ãªãªã¼ã¹ãããChrome 108ã§ãCSSã®æ°ãããã¥ã¼ãã¼ãåä½ï¼svh, lvh, dvhãªã©ï¼ããµãã¼ãããã¾ãããSafariã¨Firefoxã§ã¯ãã§ã«ãµãã¼ãããã¦ãã¾ããããChromeã§ããµãã¼ããããã®ã¯æå ±ã§ãã ãã®æ°ãããã¥ã¼ãã¼ãåä½ã®åºæ¬çãªä½¿ãæ¹ã¨æ³¨æäºé ãç´¹ä»ãã¾ãã The large, small, and dynamic viewport units by Bramus ä¸è¨ã¯åãã¤ã³ããæ訳ãããã®ã§ãã â»å ãµã¤ãæ§ã®ã©ã¤ã»ã³ã¹ã«åºã¥ãã¦ç¿»è¨³ãã¦ãã¾ãã ã¯ããã« ãããã: ãã¥ã¼ãã¼ãã¨ãã®åä½ æ°ãããã¥ã¼ãã¼ãåä½ã®å¿ è¦æ§ 注æäºé ãªã½ã¼ã¹ ã¯ããã« å æ¥ãªãªã¼ã¹ãããChrome 108ã§ãåçãªãã¼ãããã¹ããã®ãã¥ã¼ãã¼ããèæ ®ããCSSã®æ°ãããã¥ã¼ãã¼ãåä½ããµãã¼ãããã¾ãããSafariã¨Firefoxã§ã¯ãã§ã«ãµãã¼ã
sabrinas.spaceããã 8é±éãããããªãã£ãã¯ãã®ããã¸ã§ã¯ã æ¥æ¬ã®ã¦ã§ããã¶ã¤ã³ã¯ã©ãéãã®ã? 2013å¹´ã®Randomwireã®ããã°æ稿ã§ãèè (David)ã¯ãæ¥æ¬ã®ãã¶ã¤ã³ã®èå³æ·±ãç¸éç¹ã強調ãã¾ãããæ¥æ¬äººã¯ããããªã¹ãã®ã©ã¤ãã¹ã¿ã¤ã«ã§æµ·å¤ã«ç¥ããã¦ãã¾ãããã¦ã§ããµã¤ãã¯å¥å¦ãªã»ã©ããã·ããªã¹ãã§ãããã¼ã¸ã«ã¯æ§ã ãªæããè²(3è²ãã¶ã¤ã³ååãç ´ã£ã¦ãã)ãå°ããªç»åãããã¦å¤ãã®ããã¹ãã使ããã¦ãã¾ãã2022å¹´11æã«æ®å½±ããããããã®ã¹ã¯ãªã¼ã³ã·ã§ããã§ãèªåã®ç®ã§ç¢ºããã¦ä¸ããã ããã°æ稿ã«ã¯ãæåçå°é家ããã¶ã¤ãã¼ä»²éãããã¦ä¸æºãæ±ãå¸æ°ã«ãã£ã¦æ¯æããã¦ãããèããããçç±ãããã¤ãæãããã¦ãã¾ããã ãã®çè«ãä»ã§ãæ£ããã®ããã¾ãããã£ã¨å®éçãªã¢ããã¼ããå¯è½ãªã®ãæ°ã«ãªã£ãã®ã§ãã£ã¦ã¿ã¾ããã ç§ãè¦ã¤ãããã® åå½ã®æã人
ãã¸ã¿ã«åºã§ã¯ã誰ä¸äººåãæ®ãããªãã人ã«åªãããã¸ã¿ã«åãããã®å®ç¾ãç®æããã¦ã§ããµã¼ãã¹ã»ã¦ã§ãã¢ããªã±ã¼ã·ã§ã³ã®ä½¿ãåæãæ å ±ã®æ¢ãããããã¢ã¯ã»ã·ããªãã£çã®åä¸ã«åãçµãã§ãã¾ããâ¨ãã®ä¸ç°ã¨ãã¦ãããã¶ã¤ã³ã·ã¹ãã ãã®æ§ç¯ãæ¨é²ããå®æ°åãããã¹ã¦ã®æ¹ãåç §ã§ããå½¢ã§å ¬éãã¦ãã¾ãããããããã¶ã¤ã³ã®æ®åã»åçºã«åãã¦æ¡å ã¨æ´æ°ãç¶ç¶çã«è¡ãããããã人ããã¸ã¿ã«åã®æ©æµã享åã§ãã社ä¼ã«è²¢ç®ãã¾ãã 2024å¹´5æ30æ¥ ãã¶ã¤ã³ã·ã¹ãã ã®ã³ã³ãã³ãã¯å°ç¨ãµã¤ãããã¸ã¿ã«åºãã¶ã¤ã³ã·ã¹ãã βçãã¸ç§»è¡ãã¾ãã å°ç¨ãµã¤ãã§ãã¬ã¤ãã©ã¤ã³ããã¶ã¤ã³ãã¼ã¿çã®åã¢ã»ãããæ¡å ãã¦ãã¾ãã ã¤ã©ã¹ãã¬ã¼ã·ã§ã³ã»ã¢ã¤ã³ã³ç´ æ è¡æ¿æç¶ãããã£ã¨ããããããããããã«ä½æããç´ æéã§ããã©ãªãã§ããå©ç¨ããã ãã¾ãã æè¿ã®åçµ2024å¹´5æãå°ç¨ãµã¤ãããã¸ã¿ã«åºãã¶ã¤ã³ã·ã¹ãã β
Safari, Firefoxã§ãµãã¼ãããã¦ããCSSã®æ°ãããã¥ã¼ãã¼ãåä½ãlvhããsvhããdvhããªã©ããã¤ãã«Chromeã§ããµãã¼ãããã¾ããï¼ CSSã®æ°æ©è½ã§ãChromeãä¸çªæå¾ã¨ããã®ã¯çããã§ããã æãæ´»èºããã®ãiOSã®Safariã ããã§ãããããã¨ã¯ããã主è¦ãã©ã¦ã¶ãã¹ã¦ã«ãµãã¼ããããããã«ãªãã®ã¯ãå¬ãããã¥ã¼ã¹ã§ãã ç»å: @bramus ä¸è¨ã¯åãã¤ã³ããæ訳ãããã®ã§ãã â»å½ããã°ã§ã®ç¿»è¨³è¨äºã¯ãå ãµã¤ãæ§ã«ã©ã¤ã»ã³ã¹ãå¾ã¦ç¿»è¨³ãã¦ãã¾ãã ã¯ããã« æ°ãããã¥ã¼ãã¼ãåä½ãlvhããsvhããdvhãã¨ã¯ ãã©ã¦ã¶ã®ãµãã¼ãç¶æ³ ã¯ããã« W3Cã®CSS Values and Units Module Level 4ã§ããã¥ã¼ãã¼ãåä½ã«ã¤ãã¦ããã¤ãä»æ§ãå¤æ´ããã¾ãããLargeãSmallãDynamicã¨ãã£ããã¥ã¼ãã¼ããµã¤ãº
h1ãpãªã©ãããã¯è¦ç´ ã«ãã¼ãã¼ãèæ¯ãã¤ããã¨ãé常ã¯ãã®è¦ç´ ã®ã³ã³ããããã¯ã¹ãã£ã±ãã«é©ç¨ããã¾ããè¦ç´ ãã³ã³ããã®ãµã¤ãºã«é¢ä¿ãªãããã¼ãã¼ãèæ¯ãæ¡å¼µãããCSSã®ãã¯ããã¯ãç´¹ä»ãã¾ãã å ¥ãåã§å®è£ ï¼ ã¨æãã¾ããããå ¨ç¶éãã¾ãããh1è¦ç´ ã¯1ã¤ã ããä»ã®è¦ç´ ã¯ãªããçä¼¼è¦ç´ ããªããè¤æ°è¡ã«ãªã£ã¦ãåé¡ãªããCSSã®ããããã£1ã¤ã§å®è£ ã§ãã¾ããããããã¹ã¦ã®ãã©ã¦ã¶ã«ãµãã¼ãããã¦ãã¾ãã ä¸è¨ã®ããã«ãã¼ãã¼ãèæ¯ãããã¯ã¹ããã¯ã¿åºãã¦é ç½®ã§ãã¾ãã
chot.designä¸ã®ã³ã³ãã³ãã¯ãå®éã«Webï¼ITä¼æ¥ã§åãã¦ããç¾å½¹ã®ã¯ãªã¨ã¤ã¿ã¼ãå¶ä½ãããã®ã¨ãããã¡ãã£ã¨ç¤¾ä»£è¡¨ã®å°å³¶è³æ¨¹ããã¯èªèº«ã®Twitterã¢ã«ã¦ã³ãã§ãå¤ãªãªã³ã©ã¤ã³ãµãã³å ¥ãåã«ããã§åå¼·ãã¦ã¿ã¦ãã ããï¼ãã¨ã¢ãã¼ã«ãã¦ããã ç¡æå ¬éã決ããã®ã¯åãµã¼ãã¹ã®éå¶ããæãå¼ããããç¾å¨ã¯å ¨ã¬ãã¹ã³ã®ç¡æå ¬éã¨å ±ã«ãææãµã¼ãã¹ã®å©ç¨è ã«å¯¾ãã¦è¿é対å¿ãè¡ã£ã¦ããã ã¡ãã£ã¨ç¤¾ãåãçµãã§ãããã¶ã¤ã³ãããã³ãã¨ã³ãéçºã®åè¨äºæ¥ãæ¥æ¿ã«æé·ããå½±é¿ã§ãchot.designã«æãåããªãç¶æ³ãç¶ãããä»å¾ã¯ãµãã¹ã¯åããã°ã©ãã³ã°ã¹ã¯ã¼ã«ãæä¾ããDonblerï¼æ±äº¬é½æ¸è°·åºï¼ãäºæ¥ãç¶æ¿ããã¨ãã¦ããã é¢é£è¨äº ç©´åãåé¡ãç°¡åã«ä½ããWebãµã¤ããã試é¨åå¼·ã«å½¹ç«ã¤ãã¨è©±é¡ã«ãæè²ç³»ITä¼æ¥ã®CTOãä½æ ãã¦ã¹ãã¿ããæä½ã§ç´è¦³çã«ç©´åãåé¡ãä½æã§ã
CSSã®åä½pxãemãremã¯ãã©ããã©ãã§ä½¿ç¨ããã®ããããã font-sizeã®å¤ã«ã¯ã©ã®åä½ã使ç¨ãã¦ãã¾ããï¼ ã»ãã«ãã¡ãã£ã¢ã¯ã¨ãªãå®ç¾©ããæããã¼ã¸ã³ãå®ç¾©ããæãwidthãheightãå®ç¾©ããæã使ç¨ããåä½ã¯ã¢ã¯ã»ã·ããªãã£ã«é æ ®ããå¿ è¦ãããã¾ãã The Surprising Truth About Pixels and Accessibility by Josh W. Comeau ä¸è¨ã¯åãã¤ã³ããæ訳ãããã®ã§ãã â»å½ããã°ã§ã®ç¿»è¨³è¨äºã¯ãå ãµã¤ãæ§ã«ã©ã¤ã»ã³ã¹ãå¾ã¦ç¿»è¨³ãã¦ãã¾ãã ã¯ããã« CSSã§pxã¨emã¨emã®ååä½ãã©ã®ããã«æ©è½ããã ã¢ã¯ã»ã·ããªãã£ã«é¢ããèæ ®äºé ã©ã®åä½ãã©ãã§ä½¿ç¨ããã°ããã®ã ã©ã®åä½ããã¹ããªã®ããæããã§ãªãå ´å ç°¡åã«ã§ããå°æã¨ã¡ã³ã¿ã«ã¢ãã« ãã¼ãã¹: remã使ç¨ããã¨ä¾¿å©ãªãã¯ãã㯠ã¯ããã« C
æ¦è¦ ãã®ã°ã©ãã¼ã·ã§ã³ã¯ã#ff0000 â #00ff00ã®ã°ã©ãã¼ã·ã§ã³ã«ãªãã¾ãã ã¿ãªããã¯ããã®ã¯ã©ãã¼ã·ã§ã³ãè¦ã¦ã©ãæãã¾ããï¼ çãä¸ãããã®è²ãè¶è²ã£ã½ããªã£ã¦ ãã¾ã綺éºãªã°ã©ãã¼ã·ã§ã³ã¨ã¯æããªãã§ããã? ãã®è¨äºã§ã¯ããããçºçããåå ã¨ç¶ºéºãªã°ã©ãã¼ã·ã§ã³ã®ä½ãæ¹ã 解説ãã¦ããã¾ãã ãã®è¨äºãèªãã§ç解ããã°ã綺éºãªã°ã©ãã¼ã·ã§ã³ãç°¡åã«ä½ããããã«ãªãã§ãããã åå 1. RGBã«ã¤ãã¦ç解ãã RGBã¯ã赤ï¼Redï¼ãç·ï¼Greenï¼ãéï¼Blueï¼ã®3ã¤ã®è²ã ããããã0~255ã®å¤ãæå®ãããã¨ã§ãè²ãä½ããã¾ãã ä¾ãã°ã R: 255, G: 0, B: 0 â 赤 R: 255, G: 255, B: 0 â é»è² ãã®ããã«è²ãæå®ããã¾ãã ã§ã¯ãRGBå ¨ã¦ãåãå¤ã®æã¯ã©ããªè²ã«ãªãã§ããããï¼ çãã¯ãâãã®ããã«ã°ã¬ã¼ã¹ã±ã¼ã«ã«
CSSã®æ°æ©è½ãã«ã¹ã±ã¼ãã¬ã¤ã¤ã¼ãããããã主è¦ãã©ã¦ã¶ãã¹ã¦ã«ãµãã¼ãããã¾ããã«ã¹ã±ã¼ãã¬ã¤ã¤ã¼@layerã使ç¨ããã¨ãCSSã®è©³ç´°åº¦ã¨ã¹ã¿ã¤ã«ã®é çªãã«ã¹ã±ã¼ãå ã§æ示çã«ã¬ã¤ã¤ã¼åï¼é層åï¼ã§ããããã¾ã§ã®CSSã®å®è£ æ¹æ³ã大ããå¤ãããã®ã§ãã Chromeã®ãããããã¼ã«ããã«ã¹ã±ã¼ãã¬ã¤ã¤ã¼ã®åºç¤ç¥èãç´¹ä»ãã¾ãã Cascade layers are coming to your browser by Una Kravets ä¸è¨ã¯åãã¤ã³ããæ訳ãããã®ã§ãã â»å½ããã°ã§ã®ç¿»è¨³è¨äºã¯ãå ãµã¤ãæ§ã®ã©ã¤ã»ã³ã¹ã«æºãã¦ç¿»è¨³ãã¦ãã¾ãã ã¯ããã« CSSã®è©³ç´°åº¦ã¨ã«ã¹ã±ã¼ã @layerã®åä½ ã¬ã¤ã¤ã¼ã®åªå é ä½ã®ç®¡ç ã¤ã³ãã¼ããã¡ã¤ã«ã®æ´ç ã¬ã¤ã¤ã¼ã¨ã«ã¹ã±ã¼ã ã«ã¹ã±ã¼ãã¬ã¤ã¤ã¼ã®æ³¨æç¹ ã«ã¹ã±ã¼ãã¬ã¤ã¤ã¼ã®åèãªã½ã¼ã¹ ã¯ããã« ã«ã¹ã±ã¼ãã¬ã¤ã¤ã¼ï¼@layerC
ã°ã©ãã¼ã·ã§ã³ãä½æããæã«ãä¸å¤®ãã°ã¬ã¼ã«æ¿ã£ã¦ãã¾ããã¨ï¼ã°ã¬ã¼ãããã¾ã¼ã³ï¼ãããã¾ãããªããã®ç¾è±¡ãèµ·ããã®ããã©ãããã°åé¿ã§ããã®ããé®®ããã§ç¾ããã°ã©ãã¼ã·ã§ã³ãCSSã§å®è£ ããæ¹æ³ãç´¹ä»ãã¾ãã Make Beautiful Gradients in CSS by Josh W Comeau ä¸è¨ã¯åãã¤ã³ããæ訳ãããã®ã§ãã â»å½ããã°ã§ã®ç¿»è¨³è¨äºã¯ãå ãµã¤ãæ§ã«ã©ã¤ã»ã³ã¹ãå¾ã¦ç¿»è¨³ãã¦ãã¾ãã ã¯ããã« CSSã°ã©ãã¼ã·ã§ã³ãç®åºãããä»çµã¿ ããããã®ã«ã©ã¼ã¢ã¼ã ãããã®ç¥èãæ´»ç¨ãã ç¾ããã°ã©ãã¼ã·ã§ã³ãçæã§ãããã¼ã« çµããã« ã¯ããã« ãã£ããã§ãããCSSã§å®è£ ããã¤ã¨ãã¼ãããã«ã¼ã®ç·å½¢ã°ã©ãã¼ã·ã§ã³ãã覧ãã ããã
2021å¹´ã®ããããªãºã ãä¸å¿ã¨ãããã¬ã³ãã注ç®ããã¦ãã¾ãããã2022å¹´ã¯é®®ããã§ãå¥æã§ãè¨æ¶ã«å¼·ãæ®ããããªãã¶ã¤ã³ãä¸å¿ã¨ãããã¬ã³ãã注ç®ããã¦ãã¾ãã ä»åã¯ã2022å¹´ã«æµè¡ããWebãã¶ã¤ã³ã®10åã®ææ°ãã¬ã³ãäºæ¸¬ããç´¹ä»ãããã¨æãã¾ãã1ã¤1ã¤ã®ãã¬ã³ããã¨ã«å®éã®Webãµã¤ãã®äºä¾ãæ²è¼ãã¦ããã®ã§ããã²ãèªèº«ã§ä½é¨ãã¦ã¿ã¦ãã ããã 1. 3Dã¤ã©ã¹ã 3Dã®ã¤ã©ã¹ãã使ã£ããã¶ã¤ã³ã¯ã2021å¹´ã®å¤§ããªãã¬ã³ãã®1ã¤ã¨ãªãã¾ãããã2022å¹´ã¯ããã«æ³¨ç®ãã¹ããã¬ã³ãã®1ã¤ã¨ãªãã§ããããç¹ã«2Dã®ãã©ãããªã¤ã©ã¹ãã3Dã«å¤åããããããªã2Dã¨3Dãçµã¿åãããã¹ã¿ã¤ã«ã¯è¦ãã§ãã¯ã§ãã ãªã¢ã«ã§é åçãªæ¥½ããã¤ã©ã¹ãã«ãæãããªãã£ã³ãã£ã¼ã«ã©ã¼ã¨çµã¿åããããããªã¹ã¿ã¤ã«ã¯ãç¹ã«ã¢ããªã®ãã¶ã¤ã³ãªã©ã§ããããã¬ã³ãã«ãªãã¨èãã¦ãã¾ãã Dribbb
æ¥é ã®å¿ããæ¥åãå°ãã§ã楽ã«ããããå¹çåãããã¨èãã¦ãã人ã«ã´ã£ãããªãWebå¶ä½ã§ä½¿ããææ°ãªã³ã©ã¤ã³ãã¼ã«ãã¾ã¨ãã¦ãç´¹ä»ãã¾ãã ã³ããã§å©ç¨ã§ãããæ軽CSSãã¼ã«ãSVGãã¼ã«ãã³ã¼ãç¥èä¸è¦ã®ãã¼ã³ã¼ããã¼ã«ãè²ã«å°ã£ãã¨ãã«ä¾¿å©ãªé è²ãã¼ã«ãªã©ãã¯ãªã¨ã¤ãã£ããªæ¡ä»¶ã§æ´»ç¨ãããæ°ãããã¼ã«ãæãã¦ãã¾ãã ã«ãã´ãªãã¨ã«æ´çãã¦ããã®ã§ãå¶ä½ããã¼ã«æ°ãã追å ãã¦ã¿ã¦ã¯ãããã§ãããã ã³ã³ãã³ãç®æ¬¡ 1. Webå¶ä½ä¾¿å©ãã¼ã« 2. é è²ãã¼ã« 3. ãã¶ã¤ã³ã³ã¬ã¯ã·ã§ã³ 4. ãããã¿ã¤ããã¢ã¤ã³ã³ãã¼ã« 5. ã³ã©ãããªã¢ã¼ãã¯ã¼ã¯ãã¼ã« 6. é¢ç½ãã¯ãªã¨ã¤ãã£ããã¼ã« Webå¶ä½ã®å¹çãçç£æ§ã¢ããï¼è©±é¡ã®ææ°ãªã³ã©ã¤ã³ãã¼ã«ã¾ã¨ã Webå¶ä½ä¾¿å©ãã¼ã« ã¯ãªãã¯ã§ä¸çºã³ããã§ããã120種é¡ä»¥ä¸ã®CSSãã¿ã³ãéããã©ã¤ãã©ãªã3Dãã°ã©ãã¼ã·ã§ã³ãã¬ãããª
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}