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

Code to dynamically generate flash words using css_Experience exchange

PHP中文网
Release: 2016-05-16 12:07:41
Original
1771 people have browsed it

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
Copy after login


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


Related labels:
source:php.cn
Statement of this Website
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
Latest Articles by Author
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template