0 / 0
M福田泰雄
archiva.jp

コーダを集めて
フロントエンドについて話そう! という集まり

よろしくお願いします
要素内のテキストに対して、影を付けることができます
#tShadow_0 {
color: #fff;
text-shadow: #f90 9px 9px 2px;
色 X軸 Y軸 ぼかし
}
text-shadow: 10px 10px #E58; text-shadow: 10px 10px 3px #E58; text-shadow: 10px 10px 10px #E58;#tShadow_3 {
color: #222;
text-shadow: #000 1px 2px 3px;
}
#tShadow_5 {
text-shadow: red 0px -16px 5px,
blue 16px 0px 5px,
green 0px 16px 5px,
yellow -17px 0px 5px
;
}
#tShadow_6 {
color: #FFF;
text-shadow: 0 0 0.2em #F66,
0 0 0.2em #F66;
}
#tShadow_7 {
color: #333;
text-shadow: -1px -1px #fff,
1px 2px #555;
}
#tShadow_8 {
color: #555;
text-shadow: 1px 1px #fff,
-2px -2px #000;
}
未来的と称されるCSS3
実際どのように使われているのか?
|
text-shadow: 0 1px 1px #000; |
|---|---|
|
text-shadow: 0 1px 0 rgba(0, 0, 0, 0.7); |
|
text-shadow: 0 1px 0 rgba(0, 0, 0, 0.7); |
|
He is a graphic & web designer living in Arlington, VA, working at nclud in Washington, DC. Being creative and making stuff keeps him happy. |
| |
|
|
He is a graphic & web designer living in Arlington, VA, working at nclud in Washington, DC. Being creative and making stuff keeps him happy. |
|
|
He is a graphic & web designer living in Arlington, VA, working at nclud in Washington, DC. Being creative and making stuff keeps him happy. |
|


h2:after {
-moz-trasnform: skewX(60deg) scaleY(1.5)
translate(-0.62em, -0.12em);
content: "Sponsorship";
}


| Mac WebKit | Win IE8 |
|---|---|
![]() |
![]() |

CSS3 FOR TOMORROW