Home  >  Article  >  Web Front-end  >  Code to dynamically generate flash words using css_Experience exchange

Code to dynamically generate flash words using css_Experience exchange

PHP中文网
PHP中文网Original
2016-05-16 12:07:411749browse

an image required:


<html><head><title>aa</title> 
<style type="text/css"> 
div{ 
width:0px; 
background:url(/upload/20077101039968.gif) 
} 
table{ 
letter-spacing:10px; 
font-size:60px; 
font-weight:900; 
filter:mask(color=#ffffff) 
} 
</style> 
</head><body><div><table border="0" cellpadding="0" cellspacing="0"> 
<tr><td id="aa">我是中国人</td></tr></table></div> 
</body></html> 
<form> 
请输入:<input type="text" name="ab"> 
<input type="button" value="变成闪字" onclick="ss(ab.value)"> 
</form> 
<script language="javascript"> 
function ss(a){ 
aa.innerText=a 
} 
</script> 
phpstudy.net


the above is dynamic using css code to generate flash words_experience exchange content, please pay attention to the php chinese website (www.php.cn) for more related content!


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