Home  >  Article  >  Web Front-end  >  js to achieve interference-free shadow effect, simple and easy to use (file download attached)_javascript skills

js to achieve interference-free shadow effect, simple and easy to use (file download attached)_javascript skills

WBOY
WBOYOriginal
2016-05-16 18:37:581438browse

Plug-in (of course I don’t know if it counts as a plug-in) instructions:

1. Load the file

Copy code The code is as follows:



Write html:
Copy code The code is as follows:


Shadow |No Shadow
< ;/div>

ok!

Parameter description:

shadow/*attribute name*/ = '3px/*position of shadow relative to the text to be edited*/ 3pxblue/*shadow color*/ 5px 5px red 7px 7px green'

Rendering (the parameters here are (shadow = '1px 1px blue 3px 3px red 5px 5px green')):
Package download
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