【嵌入】几种实用的滚动效果
作者:星云Dargo 标签:其他频道 | 阅读次数:26 |
![]() ![]() ![]() |
| ![]() ![]() ![]() |
1、
从左往右跑的代码: <marquee direction=right>你想要写的文字</marquee> 2、
从右往左跑的代码: <marquee>你想要写的文字</marquee> 3、
滚动一次就停止了的代码: <marquee behavior=slide>你想要写的文字</marquee> 4、
飞速滚动的代码: <marquee scrollamount=20>我快还是刘翔快?</marquee> 5、
边走边看的代码: <marquee scrolldelay=500 scrollamount=100>你想要写的文字</marquee> 6、
有底色的代码: <marquee bgcolor=aaaaee>你想要写的文字</marquee>
bgcolor=aaaaee>红色部分为颜色代码 关于颜色代码你可以参考:十六进制颜色代码表 代码前加 scrollAmount=2> 可控制速度,数值越大,滚动速度越快!
|