Basic syntax:
<marquee> text that needs to be moved </marquee>
<direction=#>
1. Direction #=left, right
Example: <marquee direction=left> move from right to left </marquee>>
<marquee direction=right> move from left to right </marquee>>
2. Times <bihavior=#> #=scroll, slide, alternate
Example: <marquee behavior=scroll> a lap around the mobile </marquee>>
<marquee behavior=slide> only move once, stop </marquee>>
<marquee behavior=alternate> moving back and forth, Non-stop </marquee>>
3. Cycle <loop=#> # = number of times, if not specified then cycle more than (infinite)
Example: <marquee loop=3 width=50% behavior=scroll> only take 3 trips </marquee>
4. Speed up <scrollamount=#>
Example: <marquee scrollamount=20> Moving Speed </marquee>>
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service