If
a:hover {color: #FF00FF}
is defined in the css tag, then when we move the mouse over the link, the link will change color.
But now the situation is a bit special and requires that css tags cannot be defined and css files cannot be imported.
How can I implement this function? Is it okay if we just do ? How to write?
<a href="http://www.baidu.com" onMouseOver="javascript:this.style.color='#FF0000';" onMouseOut="javascript:this.style.color='#0000FF';"> TEST color change </a>
Special situation, all javascript will be filtered Lose. . .
Can it be implemented using css?
In special circumstances, all javascript will be filtered out. . .
Can it be implemented using css?
<a href="http://www.baidu.com" onMouseOver="this.style.color='#FF0000';" onMouseOut="this.style.color='#0000FF';"> TEST color change </a>
Pseudo-classes cannot be written here
Just tested it OnMouseOver and onMouseOut are also filtered out.
Can you write
With JS disabled, what else can you do online?
Passing by, UPUPPUPUPUP
How to filter out all
Is there anything else that can be used?
Don’t think about it, it can’t be done unless the platform opens up independent CSS
This is the case on Taobao. It is impossible for ordinary users to change text color through code. They have to use templates specified by the platform