css3 text-shadow property


  Translation results:

text

English[tekst] American[tɛkst]

n. Text, original text; text, textbook; theme; version

v .Texting

Third person singular: texts Plural: texts Present participle: texting Past tense: texted

shadow

英[ˈʃædəʊ] US[ ˈʃædoʊ]

n.Shadow;shadow;ghost,ghost;hiding place

vt.Cast a shadow on;make hazy;track, follow;foreshadow

vi.Gradient; Gloomy

adj. Shadow; shadow cabinet; informal

Third person singular: shadows Plural: shadows Present participle: shadowing Past tense: shadowed Past participle: shadowed

css3 text-shadow propertysyntax

Function:Apply shadow to text.

Description: Set or retrieve whether the text in the object has shadow and blur effects.

Text shadow can be set through the text-shadow property in CSS3. Through this property we can set the position, blur distance and color of the horizontal or vertical shadow

css3 text-shadow propertyexample

<!DOCTYPE html>
<html>
<head>
<style>
h1
{
text-shadow: 5px 5px 5px #FF0000;
}
</style>
</head>
<body>

<h1>文本阴影效果!</h1>

</body>
</html>

Run instance »

Click the "Run instance" button to view the online instance

Popular Recommendations

Home

Videos

Q&A