圌ã¯ãDreamweaver CS3 BibleãšCSS Hacks and Filtersã®ãã¹ãã»ã©ãŒäœå®¶ã§ããJoseph Loweryã«ã€ã³ã¿ãã¥ãŒãããŠããŸãã 圌ã¯çŸåšãWebAssistã®ããŒã±ãã£ã³ã°éšéãéå¶ããŠããŸãã
ãžã§ã»ãã»ããŒãªãŒæçš¿
ãªãªãžãã«ïŒ http : //adobe.com/newsletters/edge/december2007/articles/article5/index.html
翻蚳è ïŒ Alexander Musaev
Joseph LoweryïŒãã®ã€ã³ã¿ãã¥ãŒã«åããŠã1999幎6æã«æžãããCSSãã©ãŠã¶ãŒãµããŒããšãã®æè¡ã®å°æ¥ã«ã€ããŠã®èšäºãã¬ãã¥ãŒããŸããã ããªãã®çµéšãçã人ã¯ããŸãããããã®ãããªäºæž¬ãã©ã®ããã«æ£ç¢ºã«è¡ãããšãã§ããŸããïŒ
Eric MeyerïŒå ã®èšç»ã«ããã°ãCSSãã¯ãããžãŒã¯ã¢ãžã¥ãŒã«ã«åå²ãããåã¢ãžã¥ãŒã«ã¯ç¹å®ã®æ®µéã§åœ¢æãããŸããã ããã§ã®é£ç¹ã¯ãååãšããŠããããã®æéééã®ãããããå€§å¹ ã«çŠæ¢ãããŠããããšã§ãã æãåçŽãªã¢ãžã¥ãŒã«ã§ããé·ãéçºã®æŽå²ããããŸãã
ç§ã¯ãã€ãŠé©æ°ã®äžéšã¯å°å¹³ç·äžã«ããã ãã ãšäž»åŒµããŠããŸããããä»ã§ã¯å®è£ ã«ããªãè¿ã¥ããŠããŸãã ããšãã°ãèŠçŽ ã®éæ床ããããã£ã¯ãããŸããŸãªæ¹æ³ã§ã¯ãããŸãããå€ãã®ãã©ãŠã¶ã§æ¢ã«å®è£ ãããŠããŸãã äžæ¹ãããã¹ããåã«åå²ããå¯èœæ§ã¯ãéåžžã«é ãæªæ¥ã«æ®ã£ãŠããŸãã
ãã©ãŠã¶ãŒã®éçºããã®èšäºã§èª¬æãããŠããããã«ã»ãŒåžžã«é²åããŸãããããã¡ãããNetscape 5ã®æ»ãšMozillaã®å°é ã¯äºèŠã§ããŸããã§ããã ç§ã¯ãã®ãããªäºæž¬ãåœæäžè¬çã«å¯èœã§ãã£ãããšãçããŸãã
JLïŒçŸåšã«æ»ããŸãããã Microsoft Internet Explorer 7ã®ç»å Žã¯ããã®éçºã®å€§ããªé£èºã§ãããïŒ
EMïŒããã¯ãã£ãšå€§ããªãžã£ã³ãã®ãããªãã®ã§ããã ã€ãŸããæ°ããããŒãžã§ã³ã§ã¯ãå€ãã®IE 6ã®æ¬ é¥ãä¿®æ£ãããŸããïŒããšãã°ãããŒãµãŒãšã©ãŒãã¬ã€ã¢ãŠãã®åé¡ãªã©ïŒã ããã«ãå€ãã®åºæ¬çãªCSS 2æ©èœïŒäž»ã«ã»ã¬ã¯ã¿ãŒãšå³å¯ãªé 眮ïŒãè¿œå ããŸããã IE 7ã§ã¯ããã®ãã¹ãŠãäžåºŠã«è¡šç€ºãããããã¯ç§ãã¡å šå¡ã«ãšã£ãŠæå ±ã§ããã
IE 6ã®ããã«IE 7ã®é²åãå®çããã®ãããã®ãã©ãŠã¶ãŒã競åä»ç€Ÿããã®éçºã§ãŸããŸãé ããã®ãããã®æ©èœã®æ¡åŒµãç¶ãã®ããéåžžã«èå³æ·±ããã®ã«ãªã£ãŠããŸãã 2çªç®ã®ãªãã·ã§ã³ãæ¬åœã«æ¬²ããã§ãã
DLïŒç§ã®ç¥ãéããCSS 3ã¯çŸåšW3Cã§è°è«ããã³éçºäžã§ãã ãã®æšæºãããã¶ã€ããŒãæåŸ ã§ããæ°æ©èœãšã»ã¬ã¯ã¿ãŒãäžè¬çãªçšèªã§èª¬æã§ããŸããïŒ
EMïŒããªãã¯èª€è§£ããŸããã 圌ããçŸåšè°è«ãéçºããŠããã®ã¯ãåå¥ã®CSSã¢ãžã¥ãŒã«ã§ãããããããããã¯ãããžãŒã®éçºã«ãããç¹å®ã®æ®µéãæããŸãã
CSS 2ã®å Žåã®ããã«ãCSS 3æšæºã衚瀺ãããªãå¯èœæ§ããããŸãã ãããŠããããè¯ããæªããã¯ãŸã æçµçãªæ±ºå®ã«ã¯è³ã£ãŠããŸããããæåŸã®éžæè¢ã«åŸåããŠããŸãã ãã®ãããªã€ãã³ãã®éçºã«ãããå ±éã®ç®æšã1ã€ãªããªããŸãã
CSS 2ã®åã ã®éšåã«ã€ããŠç§ãã¡ãã©ãèããŠãããã«é¢ä¿ãªããæšæºã¯åããŸãŸã§ãã ããã¯è°è«ã®å¯Ÿè±¡ã§ããã話ãåãããšãã§ãããããã¯ã§ãã CSS 2ã®è©³çŽ°ã¯äºãã«äŸåããŠããŸãã ã¢ãžã¥ãŒã«æ§ã®æ¡ä»¶ã§ã¯ããã®æŽåæ§ã¯æ¶æ» ããŸãã çžäºäŸåé¢ä¿ãç解ããã®ã¯ã¯ããã«å°é£ã§ãã
å°æ¥çã«ç§ãã¡ãåŸ ã£ãŠããæ°æ©èœã«ã€ããŠã¯ãããã€ãã®æ°ããã»ã¬ã¯ã¿ãŒãåŒçšã§ããŸãã ç¹ã«
:nth-child()
:last-of-type
ãªã©ã ãŸã衚瀺ãããŸã
:not()
ã§ã¯
:not()
ãæçšã§ããããã®èª¬æã¯ä»ç§ãæããããŸãã ãããã«å ããŠãç§èªèº«ãRGBAã«ã©ãŒèšè¿°åœ¢åŒã倧奜ãã§ãããAãã¯ãã¢ã«ãã¡ããæå³ããHLSããã³HLSA圢åŒïŒè²çž-æ床-圩床ã¢ãã«ã®å Žå-翻蚳è ã®ã¡ã¢ïŒãåæ§ã§ãã ãããã®æ©èœãã§ããã ãæ©ããã©ãŠã¶ã«å®è£ ããããšèããŠããŸãã
äžèšã®ãã¹ãŠã«å ããŠãå¹ åºãæ©èœãåãããšã³ã³ãŒãã£ã³ã°ãµããŒãã¢ãžã¥ãŒã«ãèšç»ãããŠããŸããããã¯ãWebäžã«ASCIIã¢ãŒããååšããå¯èœæ§ããŸã 倢èŠãŠãã人ã«ãšã£ãŠã¯çŽ æŽãããã¯ãã§ãã
æ確ã«è³ªåã«çããã®ãé£ããäž»ãªçç±ã¯ãCSSéçºããã©ãŠã¶éçºè ã«å€§ããäŸåããŠããã圌ããèšç»ãæããç¿æ £ããªãããšã§ãã ã»ãšãã©ã®å Žåãã»ã¬ã¯ã¿ãŒãæåã«è¡šç€ºãããŸãã ããšãã°ãOpera 9.5ã§ã¯ãã»ã¬ã¯ã¿ãŒã¢ãžã¥ãŒã«ãçŸåšååšãã圢åŒã§å®å šã«ãµããŒããããããšãçŽæããŸãã ãã©ãŠã¶ã§æãå¯èœæ§ã®é«ãæè¡é©æ°ã¯ãã»ãšãã©ã®éšåãå®è£ ãç°¡åã ãšæã-ãããã¯åãã»ã¬ã¯ã¿ãŒããŠããããªã©ã§ãã
DLïŒ CSSä»æ§ã¯ãä»æ¥å€§ããªè«äºã®åé¡ã®ããã§ãã ããã®äž»ãªçç±ã¯äœã§ããïŒ å W3Cã¡ã³ããŒãšããŠããããã®è«äºã®çµæãšããŠèããããããšã«ã€ããŠã©ãæããŸããïŒ
EMïŒ CSSã®ã¢ãžã¥ãŒã«æ§ã®ãããããªãã®è³ªåã«çããã®ã¯é£ããã§ãã ã¢ãžã¥ãŒã«ãç°ãªãã°ãæèŠãäžèŽããªãç¬èªã®çç±ããããŸãã ãŸãã2004幎ã«CSSéçºããŒã ãèŸããããããããå€æããããšãå°é£ã§ãã
ç§èªèº«ã®çµéšã«åºã¥ããŠãCSSã«è¿œå ããã®ã«åœ¹ç«ã€ãã®ãè¿œå ãããã®ããã§ã«èŠå®ãããŠãããã®ãéçºè ãå®éã«å®è£ ãããã®ã®éã§äž»ãªççŸãçãããšæ³å®ã§ããŸãã ããªãã®æ··ä¹±ã䌎ã3ã€ã®æŠç·ã§ã®æŠããå€æããŸããã
çŸåšèµ·ãã£ãŠããããšã¯ãæè¡éçºããã»ã¹ã«ãšã£ãŠçµ¶å¯Ÿã«æ£åžžãªããšã§ããããŠã§ãã«ãšã£ãŠè¯ãããšã ãšã¯èšããŸããã
DLïŒä»æ§ãæšå¥šãããåŸããã©ãŠã¶ã«æ°ããæ©èœã衚瀺ãããé åºãäºæž¬ã§ããŸããïŒ CSSããã¯æ代ã®æ°ããå€æããæ¥ãŠããŸããïŒ
EMïŒäžéšã®ãã©ãŠã¶ã«ã¯æ°æ©èœãå°å ¥ãããŠããŸãããä»ã®ãã©ãŠã¶ã«ã¯å°å ¥ãããŠããªãå Žåã§ãã ããã°ã¬ãã·ãéçºã®ååãæ¢ã«åŠç¿ããŠããŸãïŒé«åºŠãªæ©èœã¯ããããããµããŒããããã©ãŠã¶ã®ãŠãŒã¶ãŒã«ãã©ã¹ã®å¹æãããããããã«äœ¿çšããå¿ èŠããããŸãã ãã®å Žåãå€ããã©ãŠã¶ã䜿çšããŠãããŠãŒã¶ãŒã«é¢é£ãããŠãŒã¶ãŒç¹æ§ã®äœäžãåé¿ããå¿ èŠããããŸãã è¯ãäŸã¯ãçæãããã³ã³ãã³ãã䜿çšããŠãURLãªã³ã¯ãããã¹ãã«æ¿å ¥ããŠããå°å·ããããšã§ãïŒè©³çŽ°ã«ã€ããŠã¯ãã A List Apart ãã®èšäºã CSSãã¶ã€ã³ïŒå°å·ã®æºå ããåç §ããŠãã ããïŒã
CSSããã¯ã®æ°ã¯å¢ãããšæããŸãããããã®äž»ãªçç±ã¯ããããã®ããã¯ãèŠã€ããŠäœ¿çšããããšã«å¯Ÿãã人ã ã®é¢å¿ã§ãããã ãã®ããã»ã¹ã¯ãã¢ã¶ã€ã¯ãæŸããããªãã®ã§ãã
DLïŒ WebããŒãžéçºããã°ã©ã ã®CSSã¬ã³ããªã³ã°æ©èœã¯ç©æ¥µçã«éçºãããŠããŸãã ç¹ã«ãDreamweaverã§ã ããã¯ãã¶ã€ããŒã®ä»äºã®è³ªã«åœ±é¿ãããšæããŸããïŒ
EMïŒãã¡ããã§ãã ç§ã¯å€ãã®è¥ããã¶ã€ããŒãšè©±ãããŸãããã圌ãã¯ãã§ã«ããŒãžã¬ã€ã¢ãŠãã«ããŒãã«ã䜿çšããçç±ãææ¡ããããšããã§ããŸããã 圌ãã¯ã¡ããã©ãããååŸããŸããã ãã®ãããªæ¥çã®å€åã¯ãWebããŒãžãäœæããããã®ããŒã«ã®æ©èœãšãã©ãŠã¶ãŒã®çŸåšã®éçºæ¹æ³ã«ãã£ãŠå€§ããæ£åœåãããŸãïŒäž¡æ¹ã®èŠå ãåæ§ã«éèŠã§ãïŒã
DLïŒåœç€Ÿã¯æè¿ã Eric Meyerã®CSS SculptorãšåŒã°ããDreamweaveræ¡åŒµæ©èœãéçºããããã«ããªããšææºããŸããã ããªãã®ååããã®ååãæåã«ããåŸãããªãã®äººçã¯è¯ããªããŸãããïŒ
EMïŒã¯ããã«ã³ãã¡ã¬ã³ã¹ã§åœŒãã¯ä»ãã¹ã¿ã³ãã£ã³ã°ã»ãªããŒã·ã§ã³ãè¿ããŠãããŸããã ãŸããïŒèª°ã«ãèšããªãã§ïŒæè¿ããã®ããžãã¹ã§çšŒãã ãéã貯ããããã«å°äžã«å·šå€§ãªããŒã«ãäœããŸããã ã¹ã¯ã«ãŒãžã»ãã¯ããã¯ã®ã€ã¡ãŒãžãå ·çŸåããããšã¯ãç§ã®å€§åãªå€¢ã«ç§ããããããŸãã
ä»ã®éèŠãªå€æŽã¯çºçããŠããŸããã
JLïŒçå£ã«ãCSS Sculptorã®å€èŠ³ã¯DreamweaverãŠãŒã¶ãŒã«åœ±é¿ãäžãããšæããŸããïŒ ãããŠããããããªããã©ã®ããã«ïŒ
EMïŒããã«ãããCSSã䜿çšããããŒãžããŒã¯ã¢ããã®éçºãã¹ããŒãã¢ããããããšãé¡ã£ãŠããŸãã CSS Sculptorã¯ãç§ãèªåã§äœ¿çšãããœãããŠã§ã¢è£œåã®1ã€ã§ãã ãããŠãããã¯åœŒã®æ¹åã«å€§ããªè³èŸã§ãã ç§ã¯ãæåã³ãŒãã£ã³ã°ã奜ãWebãã¶ã€ããŒã®å€ãåŠæ ¡ã«æå±ããŠããŸãïŒãã®åéã§14幎ã®çµéšããããŸãïŒã
Sculptorã€ã³ã¿ãŒãã§ãŒã¹ã®äž»ãªå©ç¹ã®1ã€ã¯ãã»ãšãã©ãã¹ãŠã®CSSããããã£ãéåžžã«ã³ã³ãã¯ãã«è¡šç€ºãããããšã§ããããã«ãããã¥ã¡ã³ãã®æ§é ãšããã«é©çšãããã¹ã¿ã€ã«ã·ãŒãã®çŽæçãªè¡šçŸãæäŸããŸãã ããããã¹ãŠã«ããããã¶ã€ããŒã¯CSSãWebããŒãžãšã©ã®ããã«çµ±åãããããããç解ã§ããŸãã CSS Sculptorã¯ãéçºã ãã§ãªããã¬ãŒãã³ã°ã«ãé©ããããŒã«ã§ãã ãããŠãããã¯ç§ãåã°ããŸãã
JLïŒ Dreamweaverã§ã®CSSãµããŒãã®éçºãã©ã®ããã«èŠããã§ããïŒ
EMïŒãã®ãµããŒããçŸåšã®ãã©ãŠã¶ãŒããŒãžã§ã³ã®æ©èœã«ååã§ããéããç§ã«é©ããŠããŸãã
JLïŒå§ããã°ããã®Webãã¶ã€ããŒãžã®ã¢ããã€ã¹ã¯äœã§ããïŒ å°æ¥CSSãé©çšããªããã°ãªããªã人ã¯ïŒ
EMïŒç§ãã§ããæãéèŠãªã¢ããã€ã¹ã¯ãç·Žç¿ãç·Žç¿ããããŠããäžåºŠç·Žç¿ããããšã§ãã ããããªããã°ãèªãã æ¬ãèšäºãä»æ§ã®æ°ã«éãã¯ãããŸããã ããã¯ãã¹ãŠãå®éšã«ãã£ãŠåŸãããå®éã®çµéšã«çœ®ãæãããã®ã§ã¯ãããŸããã
ç®æšãéæããããã«ã¯ãæè¡ã®ç 究ã«å€§ããªæ³šæãæãããšãå¿ èŠã§ãã ããã®Webãã¶ã€ããŒã«ãªããã人ã¯ããã©ã·ããã€ã³ãã®ã¢ãŒãã£ã¹ããšåãããã«ãHTMLãCSSãç»å圢åŒã«ç²ŸéããŠããå¿ èŠããããŸãã ã°ã©ãã£ãã¯ã¬ã€ã¢ãŠããåãããã®ãã¶ã€ããŒã¯ããããå®çŸããããšãã§ããã¯ãã§ãã
ãã¶ã€ããŒãåžžã«äœæã§ããã¯ãã®åãããšãèšãã¹ãã§ã¯ãããŸããã 圌ãã¯åã«ãã®èœåãææãã圌ããåãç°å¢ã®æ§è³ªãæãããããŠDreamweaverãSculptorãªã©ã®ããŒã«ããäœãåŸãããããç解ããªããã°ãªããŸããã
JLïŒã©ã®æ å ±ãªãœãŒã¹ããå§ãããŸããïŒ
EMïŒæãåªããCSSãªãœãŒã¹ã®1ã€ã¯ããã®ãã¯ãããžãŒã«ã€ããŠèª¬æããŠããwikiã§ãã css-discuss.incutio.orgã® Webãµã€ã㯠ã å°éã¡ãŒãªã³ã°ãªã¹ãã® 5幎éã®äœæ¥äžã«èç©ãããèšå€§ãªéã®æ å ±ãåéããŠããŸã ã ããŸããŸãªCSSãã¯ããã¯ã䜿çšããããšã®é·æãšçæã®èª¬æãCSSã䜿çšããè€éãªåŽé¢ã®ç°¡åãªèšèªã®èª¬æãä»ã®ãªãœãŒã¹ãžã®å€§éã®ãªã³ã¯ãªã©ããããŸãã ããã¯ãCSSã«ã€ããŠäœããç¥ããããšãã«ç§èªèº«ãé Œãæåã®æ å ±æºã§ãã
ãŠã£ãã«å ããŠã PositionIsEverything.net ã House of Style Webãµã€ãã®è³æã ããã³Russ Wickleyã®çãã¬ã€ãã«ã泚æãæãå¿ èŠããããŸãã è€éãªã»ã¬ã¯ã¿ãŒããã³ãŒãããã«ã¯ã SelectORacleããå§ãããŸã ã ãããŠãã¡ãããGoogleã®ãã¹ãŠãèŠéãç®ã§ãªã¹ããè£å®ãã䟡å€ããããŸãã
DLïŒå¥ã®èå³æ·±ããªãœãŒã¹-meyerweb.comã®ããã°ãå¿ããªãã§ãã ããã ãšãªãã¯ãCSSã®çŸåšãšæªæ¥ã«ã€ããŠã®ããªãã®èããç§ãã¡ãšå ±æããŠãããŠããããšãã
翻蚳è ãã
SelectORacleãéåžžã«äŸ¿å©ã ãšèªåã§ä»ãå ããããšæããŸãã ãã®ãµãŒãã¹ã¯ãè€éãªCSSã»ã¬ã¯ã¿ãŒã人éã®èšèªã§èšè¿°ããããããåŠç¿ããã®ã«éåžžã«åœ¹ç«ã¡ãŸãã Dream Meaverã®Eric Meyerã®CSS Sculptorã€ã³ã¿ãŒãã§ã€ã¹ã¯æ¬¡ã®ãšããã§ãããã®è£œåã®ä»ã®ã¹ã¯ãªãŒã³ã·ã§ãããšãã¬ãŒã³ããŒã·ã§ã³ã¯ã å ¬åŒãŠã§ããµã€ãã§èŠã€ããããšãã§ããŸãã
æŽæ°ïŒãã®èšäºã¯Cascading Style Sheetsããã°ã«ç§»åããŸããã