Home  >  Article  >  Web Front-end  >  How to create such a CSS text shadow style?_html/css_WEB-ITnose

How to create such a CSS text shadow style?_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:50:51988browse


text-shadow:?


Reply to discussion (solution)

Is it embossed text?

<!DOCTYPE html><html><head><style>body{background:gray;}h1 {text-shadow:0px -1px 0px #123;color:#fff}</style></head><body><h1>模糊效果的文本阴影!</h1></body></html>

<!DOCTYPE html><html><head><style>body{	background: #999999;}h1 {	text-shadow: 0px 1px 0px #FFFFFF,0px -1px 0px #000000;	color:#888888;}</style></head><body><h1>ABCDEF</h1></body></html>

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn