I’m new to coding and trying to figure out how to add a link to my marquee. I would also like for there to be no colour change or underline animation. Any suggestions?
.Marquee {
color: #da6fe2;
background-color: transparent;
font-family: work sans;
font-size: 34px;
line-height: 50px;
padding: 0px;
font-weight: bold;
}
<marquee class="Marquee" direction="right" scrollamount="4" behavior="scroll">HELLO HELLO HELLO HELLO HELLO</marquee>
I tried to add but for some reason it overwrites the style when I do this.
2
Answers
The simple solution is, You can put
marquee
tag inside<a>
tag.You can do it by adding something like this :
And to make the link not overwrites the style you can add this to style :