In CSS there are selectors like :before
and :after
, with those you can prefix and suffix things, on elements.
content
is an interesting property, like the name says, you can set the content (text), of an element.
Before you try to do HTML Haxxor things with it, no you can't abuse it.
With this knowledge we can try typing
Code | Output |
---|---|
a:before { content: ">"; } | some link |
a:after { content: "<"; } |
Now, CSS has @keyframes
and animation
s, with those you can animate between values.
Let's say I want to change this text, it's possible.
Code | Output |
---|---|
a:before, a:after { | animated link |
animation: cute-animation 2s infinite; | |
} | |
@keyframes cute-animation { | |
50% { content: "owo"; } | |
75% { content: "uwu"; } | |
90% { content: ">w<"; } | |
} |
You can use attribute selectors on links, to have more elements to mess with than the standard that MySpace gives you!
CSS | Markdown | Output |
---|---|---|
a[href="crtplr//example"] { | [cool fancy link](crtplr//example) | cool fancy link |
color: red; | ||
} |
also, use pointer-events
and cursor
, to remove functionality and properties of the link
hashida | 1589798719000 cute animation >w< |