text-decoration
$B%W%m%Q%F%#(B 'text-decoration
' $B$O!"G$0U$NMWAG$K;XDj2DG=$G$9!#%;%l%/%?$K%^%C%A$7$?BP>]$NAu>~J}K!$r;XDj$7$^$9!#(B
$B%W%m%Q%F%#(B 'text-decoration
'
$B%W%m%Q%F%#L>(B | $BCM(B |
text-decoration | none | [ underline || overline || line-through || blink ] | inherit |
'text-decoration
' $B$O;RMWAG$K7Q>5$5$l$^$;$s!#%G%U%)%k%H$NCM$O!"Au>~$7$J$$$3$H0UL#$9$k(B none
$B$G$9!#(Binherit
$B$O!"?FMWAG$NCM$rL@<(E*$K7Q>5$9$k;XDj$G$9!#(B
$B%-!<%o!<%I;XDj$9$k>l9g!"
underline || overline || line-through || blink
$B%-!<%o!<%I$N0UL#$O!"2<@~!">e@~!"C$7@~!"E@LG$G$9!#(B
'text-decoration
' $B$NNc!'(B
a { text-decoration: underline }
a:hover { text-decoration: none }
a:active { texty-decoration: underline overline blink }
span.del { text-decoration: line-through }
text-shadow
$B%W%m%Q%F%#(B 'text-shadow
' $B$O!"G$0U$NMWAG$K;XDj2DG=$G$9!#%;%l%/%?$K%^%C%A$7$?BP>]$N1F$N8z2L$r;XDj$7$^$9!#(B
$B%W%m%Q%F%#(B 'text-shadow
'
$B%W%m%Q%F%#L>(B | $BCM(B |
text-shadow |
none | [<color> || <length> <length> <length>? ,]* [<color> || <length> <length> <length>?] | inherit
|
'text-shadow
' $B$O;RMWAG$K7Q>5$5$l$^$;$s!#%G%U%)%k%H$NCM$O!"1F8z2L$,B8:_$7$J$$$3$H0UL#$9$k(B none
$B$G$9!#(Binherit
$B$O!"?FMWAG$NCM$rL@<(E*$K7Q>5$9$k;XDj$G$9!#Ii$NCM$,5v$5$l$^$9!#(B
CSS2 $B$G$N3HD%$r0d48$J$/H/4x$7$?%W%m%Q%F%#$@$H$$$($^$9!#(BCSS2 $B%5%]!<%H$N%V%i%&%6$G$b!"(B'text-shadow
' $B$r@5$7$/%5%]!<%H$9$k$b$N$OKX$I$"$j$^$;$s!#(BMachintosh $B$N(B Safari $B%V%i%&%6$,%5%]!<%H$7$F$$$^$9!#(B
'text-shadow
' $B$NNc!'(B
/* $B1F$N?'$OJ8;z$HF1$8?'!"(B
$B1F$N0LCV$O!"1&$K(B .2em, $B2<$K(B .2em */
h1 { text-shadow: 0.2em 0.2em }
/* $B1F$N?'$O@V!"(B
$B1F$N0LCV$O!"1&$K(B 3px, $B2<$K(B 3px, $B$\$+$7$,(B 5px */
h2 { text-shadow: 3px 3px 5px red }
/* $B1F$,(B 3 $B$D;XDj$5$l!"%+%/%F%k%i%$%H$N$h$&$J8z2L$H$J$k!#(B
$B1F(B1 $B$N?'$O@V?'!"(B
$B1F(B1 $B$N0LCV$O!"1&$K(B 3px, $B2<$K(B 3px, $B$\$+$7$,(B 5px.
$B1F(B2 $B$N?'$O2+?'!"(B
$B1F(B2 $B$N0LCV$O!"1&$K(B -2px$B!J:8$K(B 2px$B!K(B, $B2<$K(B 3px, $B$\$+$7$,(B 2px.
$B1F(B3 $B$N?'$OJ8;z?'$HF1$8!"(B
$B1F(B3 $B$N0LCV$O!"1&$K(B 3px, $B2<$K(B -3px$B!J>e$K(B 3px$B!K(B */
h2 { text-shadow: 3px 3px red, yellow -3px 3px 2px, 3px -3px }
$BI=<(Nc!'(B
letter-spacing
$B%W%m%Q%F%#(B 'letter-spacing
' $B$O!"G$0U$NMWAG$K;XDj2DG=$G$9!#%;%l%/%?$K%^%C%A$7$?BP>]$N%F%-%9%H$N!"C18l4V$N%9%Z!<%9$r;XDj$7$^$9!#(B
$B%W%m%Q%F%#(B 'letter-spacing
'
$B%W%m%Q%F%#L>(B | $BCM(B |
letter-spacing | normal | <length> | inherit |
'letter-spacing
' $B$O;RMWAG$K7Q>5$5$l$^$9!#%G%U%)%k%H$NCM$O!"(Bnormal
$B$G$9!#(Binherit
$B$O!"?FMWAG$NCM$rL@<(E*$K7Q>5$9$k;XDj$G$9!#Ii$NCM$,5v$5$l$^$9!#(B
'letter-spacing
' $B$NNc!'(B
h1 { letter-spacing: 1em }
$BI=<(Nc!'(B
word-spacing
$B%W%m%Q%F%#(B 'word-spacing
' $B$O!"G$0U$NMWAG$K;XDj2DG=$G$9!#%;%l%/%?$K%^%C%A$7$?BP>]$N%F%-%9%H$N!"J8;z4V$N%9%Z!<%9$r;XDj$7$^$9!#(B
$B%W%m%Q%F%#(B 'wordr-spacing
'
$B%W%m%Q%F%#L>(B | $BCM(B |
word-spacing | normal | <length> | inherit |
'word-spacing
' $B$O;RMWAG$K7Q>5$5$l$^$9!#%G%U%)%k%H$NCM$O!"(Bnormal
$B$G$9!#(Binherit
$B$O!"?FMWAG$NCM$rL@<(E*$K7Q>5$9$k;XDj$G$9!#Ii$NCM$,5v$5$l$^$9!#(B
'word-spacing
' $B$NNc!'(B
h1 { word-spacing: 2em }
$BI=<(Nc!'(B
text-transform
$B%W%m%Q%F%#(B 'text-transform
' $B$O!"G$0U$NMWAG$K;XDj2DG=$G$9!#%;%l%/%?$K%^%C%A$7$?BP>]$N%F%-%9%H$N!"BgJ8;z2=$r;XDj$7$^$9!#(B
$B%W%m%Q%F%#(B 'text-transform
'
$B%W%m%Q%F%#L>(B | $BCM(B |
text-transform | capitalize | uppercase | lowercase | none | inherit |
'word-spacing
' $B$O;RMWAG$K7Q>5$5$l$^$9!#%G%U%)%k%H$NCM$O!"(Bnone
$B$G$9!#(Binherit
$B$O!"?FMWAG$NCM$rL@<(E*$K7Q>5$9$k;XDj$G$9!#Ii$NCM$,5v$5$l$^$9!#(B
capitalize
- $B3FC18l$N:G=i$NJ8;z$rBgJ8;z$K$9$k!#(B
uppercase
- $B3FC18l$N$9$Y$F$NJ8;z$rBgJ8;z$K$9$k!#(B
lowercase
- $B3FC18l$N$9$Y$F$NJ8;z$r>.J8;z$K$9$k!#(B
none
- $BBgJ8;z2=$N8z2L$O$J$$!#(B
$B%-!<%o!<%I(B | $BI=<(Nc(B |
none | Girt with a boyish garb for boyish task,
Eager she wields her spade: yet loves as well
Rest on a friendly knee, intent to ask
The tale he loves to tell. |
capitalize | Girt with a boyish garb for boyish task,
Eager she wields her spade: yet loves as well
Rest on a friendly knee, intent to ask
The tale he loves to tell. |
uppercase | Girt with a boyish garb for boyish task,
Eager she wields her spade: yet loves as well
Rest on a friendly knee, intent to ask
The tale he loves to tell. |
lowercase | Girt with a boyish garb for boyish task,
Eager she wields her spade: yet loves as well
Rest on a friendly knee, intent to ask
The tale he loves to tell. |
white-space
$B%W%m%Q%F%#(B 'white-space
' $B$O!"%V%m%C%/%l%Y%kMWAG$K;XDj2DG=$G$9!#%;%l%/%?$K%^%C%A$7$?BP>]$N!"6uGrN`J8;z$N
$B%W%m%Q%F%#(B 'white-space
'
$B%W%m%Q%F%#L>(B | $BCM(B |
white-space | normal | pre | nowrap | inherit |
'white-space
' $B$O;RMWAG$K7Q>5$5$l$^$9!#%G%U%)%k%H$NCM$O!"(Bnormal
$B$G$9!#(Binherit
$B$O!"?FMWAG$NCM$rL@<(E*$K7Q>5$9$k;XDj$G$9!#Ii$NCM$,5v$5$l$^$9!#(B
'white-space
' $B$NNc!'(B
blockquote { white-space: nowrap }
'white-space: nowrap
' $B$NI=<(Nc!'(B
HTML$B!'(B
Girt with a boyish garb for boyish task,
Eager she wields her spade: yet loves as well <br />
Rest on a friendly knee, intent to ask
The tale he loves to tell. <br />
Rude spirits of the seething outer strife,
Unmeet to read her pure and simple spright, <br />
Deem, if you list, such hours a waste of life,
Empty of all delight!
$BI=<(Nc!'(B
Girt with a boyish garb for boyish task,
Eager she wields her spade: yet loves as well
Rest on a friendly knee, intent to ask
The tale he loves to tell.
Rude spirits of the seething outer strife,
Unmeet to read her pure and simple spright,
Deem, if you list, such hours a waste of life,
Empty of all delight!
'white-space: pre
' $B$NI=<(Nc(B
HTML$B!'(B
Girt with a boyish garb for boyish task,
Eager she wields her spade: yet loves as well
Rest on a friendly knee, intent to ask
The tale he loves to tell.
Rude spirits of the seething outer strife,
Unmeet to read her pure and simple spright,
Deem, if you list, such hours a waste of life,
Empty of all delight!
$BI=<(Nc!'(B
Girt with a boyish garb for boyish task,
Eager she wields her spade: yet loves as well
Rest on a friendly knee, intent to ask
The tale he loves to tell.
Rude spirits of the seething outer strife,
Unmeet to read her pure and simple spright,
Deem, if you list, such hours a waste of life,
Empty of all delight!
'white-space: normal
' $B$NI=<(Nc(B
HTML$B!'(B
Girt with a boyish garb for boyish task,
Eager she wields her spade: yet loves as well
Rest on a friendly knee, intent to ask
The tale he loves to tell.
Rude spirits of the seething outer strife,
Unmeet to read her pure and simple spright,
Deem, if you list, such hours a waste of life,
Empty of all delight!
$BI=<(Nc!'(B
Girt with a boyish garb for boyish task,
Eager she wields her spade: yet loves as well
Rest on a friendly knee, intent to ask
The tale he loves to tell.
Rude spirits of the seething outer strife,
Unmeet to read her pure and simple spright,
Deem, if you list, such hours a waste of life,
Empty of all delight!
Copyright © 2004 SUGAI, Manabu. All rights reserved.
2004-06-20 published.