CSS set text glow and text strokes

Source: Internet
Author: User
Tags filter

Glow 1

 
  
  
  1. Color: #FFF;
  2. Position:absolute; Be sure to set the position
  3. Filter:glow (Color: #666666, strength:1);



Glow 2

 
 
  1. <title>css filters to implement light-emitting fonts </title>
  2. <meta http-equiv= "Content-type" content= "text/html;charset=gb2312" >
  3. <body bgcolor= "#000000" >
  4. <p id= "me1" style= "Position:absolute; left:155; Top:-1; width:668; height:405; Filter:glow (color= #ffff00, strength=00) "align=" center "><font size=" 7 "color=" #FFFF00 "><strong>< B> Source Enthusiasts </b></strong></font></p>
  5. <script language= "VBScript" >
  6. Dim i
  7. Dim j
  8. I=0
  9. J=0
  10. Sub Window_onload ()
  11. Me1.filters.glow.strength=i
  12. Me1.filters.glow.color=j
  13. I=i+1
  14. j=j+500
  15. If i>250 then i=0
  16. If j>26777215 then j=0
  17. Window.settimeout "Window_onload ()", 100
  18. End Sub
  19. </script>
  20. </body>



Related Article

Alibaba Cloud 10 Year Anniversary

With You, We are Shaping a Digital World, 2009-2019

Learn more >

Apsara Conference 2019

The Rise of Data Intelligence, September 25th - 27th, Hangzhou, China

Learn more >

Alibaba Cloud Free Trial

Learn and experience the power of Alibaba Cloud with a free trial worth $300-1200 USD

Learn more >

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.