The following are its properties: direction Set the scroll direction of the active subtitles The code is as follows: <marquee direction="down">Set the scroll direction of the active subtitle direction="down": downward</marquee> <marquee direction="left">Set the scroll direction of the active subtitle direction="left": left</marquee> <marquee direction="right">Set the scroll direction of the active subtitle direction="right": right</marquee> <marquee direction="up">Set the scroll direction of the active subtitle direction="up": upward</marquee> behavior Set the scrolling method: alternate: means rolling back and forth between the two ends. scroll: means scrolling from one end to the other and repeating. slide: means scrolling from one end to the other without repeating. The code is as follows: <marquee behavior="alternate">alternate: means scrolling back and forth between the two ends. </marquee> <marquee behavior="scroll">scroll: means scrolling from one end to the other and repeating. </marquee> <marquee behavior="slide">slide: means scrolling from one end to the other without repeating. </marquee> scrollamount Set the scrolling speed of the active subtitles in pixels The code is as follows: <marquee scrollamount="10" >scrollamount="10" </marquee> <marquee scrollamount="20" >scrollamount="20" </marquee> <marquee scrollamount="30" >scrollamount="30" </marquee> scrolldelay Set the delay time between scrolling the active subtitle twice, in milliseconds. If the value is large, there will be a pause after one step. The code is as follows: <marquee scrolldelay="10" >scrolldelay="10" </marquee> <marquee scrolldelay="100" > scrolldelay="100" </marquee> <marquee scrolldelay="1000">scrolldelay="1000" </marquee> |
<<: How to implement CSS to display ellipsis when single-line or multi-line text overflows
>>: Detailed explanation of the execution process of MySQL query statements
MySQL replication detailed explanation and simple...
If you are looking to monitor your system interac...
Sublime Text 2 is a lightweight, simple, efficien...
1 Introduction When we write SQL statements to op...
Servermanager startup connection database error R...
Table of contents Brief summary At noon today, th...
Since myeclipse2017 and idea2017 are installed on...
When developing a website, you often need to use ...
Recently, after refreshing the website, 503 Servi...
Technology Fan html web page, you must know vue f...
I have always wanted to learn about caching. Afte...
This method uses the drop-shadow filter in CSS3 t...
The img tag in XHTML is so-called self-closing, w...
CSS3 syntax: (1rem = 100px for a 750px design) @m...
I accidentally found that Vue.$set was invalid in...