ãã®è¨äºã¯ CSS çç¾æ¯ Advent Calendar 2014 11æ¥ç®ã®è¨äºã§ãã ã¿ããªå¤§å¥½ã box-shadow box-shadow ããããã£ã¯è¦ç´ ã«å½±ãã¤ãããã¨ãã§ããããããã£ã§ããä»å㯠box-shadow ã§åºä¼ã£ãçç¾æ¯ã¨è§£æ±ºæ³ãç´¹ä»ãã¾ãã Chrome 㧠å°å·ãããã¨ããã¨â¦ ã¾ãã¯ãã¡ããè¦ã¦ãã ããã 2ã¤ã® div è¦ç´ ã« box-shadow ãã¤ãããã®ã§ãã çæ¹ã¯1ã¤ã® shadow, ããçæ¹ã¯è¤æ°ã® shadow ãå¥ã ã®è²ã§å ãããã®ã«ãªãã¾ãã CSS ã¯ãããªæãã§è¨å®ãã¦ãã¾ãã div{ width: 100px; height: 100px; margin: 1em auto 2em; } .box1{ box-shadow: 0px 0px 8px #898989; } .box2{ box-shadow: -10px
{{#tags}}- {{label}}
{{/tags}}