|
 
|
- <font style="filter: glow(color=#FF8000,strength=3); height:10px; color:white; padding:1px">這就是發光字喔~ </font>
複製代碼 【修改程式碼】
1.第二行 glow(color=#FF8000,strength=3) 中的 color 就是字體背後光的顏色, 可以用 color=blue 或像範例中用 RGB 指定顏色。
2.至於 color:white 中的 white 就是指字中心的顏色, 範例中是以白色字襯燈色光。
3.範例中使用了 <font> 作為 style 放置的標記, 其實其他標記也可使用, 如 <a> 也可以, 像- <a style="filter: glow(color=#FF8000,strength=3); height:10px; color:white; padding:1px">
複製代碼 4.第二行 glow(color=#FF8000,strength=3) 中的 strength 就是字體背後光的大小,數字越大,背後的字會越粗。 |
|