用css動態產生閃字的代碼_經驗交流

來源:互聯網
上載者:User
需要的一張圖片:


<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


以上就是用css動態產生閃字的代碼_經驗交流的內容,更多相關內容請關注topic.alibabacloud.com(www.php.cn)!

  • 相關文章

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.