I've watched Serial Experiments Lain, it was really nice. I've also seen multiple MySpace accounts themed around it. I thought I'll give them some love too!
striked out users had this at some point but changed it
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
While MYSPACE doesn't have a native method of uploading videos, you can mix together your mp3 and the ability to set background images with css, to create basically video.
You can simply download a video by typing
youtube-dl https://www.youtube.com/watch?v=HbL5M_XplKk
It should leave you in most cases a .webm
file.
you can either use ffmpeg to convert it (recommended) or re-download the video with yt-dl
ffmpeg -i video.webm audio.mp3
youtube-dl https://www.youtube.com/watch?v=EvXJWlJEA0k --extract-audio --audio-format mp3
when I searched for example commands how I could use to achieve this, all websites gave me bad arguments, which made either the conversion slow or the output file too big, so I dropped them.
with the video file downloaded run
ffmpeg -y -i video.webm -r 15 -s 192x144 output.gif
parameter list:
-y
overwrite-i
input-s
size (WxH)-r
framerateonce done you can upload them to file hosters like catbox (they have a 8mb gif cap, so try keeping the file small) or host it on GitHub pages.
embed them into your css with the background-image
property.
and now everyone will watch neko miko reimu when they visit my profile, isn't that great? :3