Html 不带字幕显示用户反馈/javascript/jquery

Html 不带字幕显示用户反馈/javascript/jquery,html,css,marquee,Html,Css,Marquee,我想在网站上显示一些反馈(四行最多80字); 在这里,我最多可以使用20%的屏幕高度(100%水平宽度) 目前,我正在使用下面提到的代码: <marquee scrollamount="1" behavior="scroll" direction="up" height="20%" onmouseover="this.stop();" onmouseout="this.start();"> ABCD<br/> Sample Text<br/>&

我想在网站上显示一些反馈(四行最多80字); 在这里,我最多可以使用20%的屏幕高度(100%水平宽度)

目前,我正在使用下面提到的代码:

<marquee scrollamount="1" behavior="scroll" direction="up" height="20%" onmouseover="this.stop();" onmouseout="this.start();">
    ABCD<br/>
    Sample Text<br/><br/> 
    XYZ<br/>
    New Sample Text<br/>
</marquee>

ABCD
示例文本

XYZ
新示例文本
今天我读了marquee is Distributed标记,有许多选项可以使用jQuery实现类似的效果

我还有一个限制;不要在页面上使用任何jQuery/javascript。
有没有什么好的建议来显示用户的反馈,记住上面提到的要点

您可以使用纯CSS实现选框效果

() HTML


您可以使用纯CSS实现选框效果

() HTML


这是完美的;谢谢。这太完美了;非常感谢。
<p class="marquee">text text text text text</p>
.marquee {
    width: 450px;
    margin: 0 auto;
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
    animation: marquee 4s linear infinite;
}
.marquee:hover {
    animation-play-state: paused
}
@keyframes marquee {
    0% {
        text-indent: 27.5em
    }
    100% {
        text-indent: -10em
    }
}