• 欢迎访问搞代码网站,推荐使用最新版火狐浏览器和Chrome浏览器访问本网站!
  • 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏搞代码吧

css 设置文字发光和文字描边_css

css 搞代码 7年前 (2018-06-11) 191次浏览 已收录 0个评论

发光1

  1. color#FFF
  2. positionabsolute;   //一定要设置position 
  3. filter: Glow(Color:#666666, Strength:1); 

发光2

  1. <html
  2. <head> 
  3. <title>CSS滤镜实现发光字体</title> 
  4. <meta http-equiv="content-Type" content="text/html;charset=gb2312"
  5. </head> 
  6. <body bgcolor="#000000"
  7. <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>源码爱好者</b></strong></font></p> 
  8. <script language="vbscript"
  9. dim i 
  10. dim j 
  11. i=0 
  12. j=0 
  13. sub window_onload() 
  14. me1.filters.glow.strength=i 
  15. me1.filters.glow.color=j 
  16. i=i+1 
  17. j=j+500 
  18. if i>250 then i=0 
  19. if j>26777215 then j=0 
  20. window.settimeout "window_onload()",100 
  21. end sub 
  22. </script> 
  23. </body> 
  24. </html> 

欢迎大家阅读css 设置文字发光和文字描边_css,跪求各位点评,若觉得好的话请收藏本文,by 搞代码


搞代码网(gaodaima.com)提供的所有资源部分来自互联网,如果有侵犯您的版权或其他权益,请说明详细缘由并提供版权或权益证明然后发送到邮箱[email protected],我们会在看到邮件的第一时间内为您处理,或直接联系QQ:872152909。本网站采用BY-NC-SA协议进行授权
转载请注明原文链接:css 设置文字发光和文字描边_css
喜欢 (0)
[搞代码]
分享 (0)
发表我的评论
取消评论

表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址