Home > Article > Web Front-end > Code to dynamically generate flash words using css_Experience exchange
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!