i built an entire x86 CPU emulator in CSS (no javascript)
@rebane200117K followers
1,078,598 views
53 Comments
Comments from the original post on X (Twitter)

@rebane2001
check it out here: :3c
436 likes

@zelimir__
but can it center a div?
381 likes

@rebane2001
everyone who makes this joke should be forced to read my blog post
896 likes

@oisyn
I don't know how long you've been around, but since you're not addressing it in your blog: there was a time before flex boxes were at thing. Centering a div was exceptionally hard, unless you resorted to using tables. Which everyone did before the semantic web.
38 likes

@rebane2001
@zelimir__ yes - and i think the history of html/css/browser hacks is really cool! but joking about centering a div these days is just admitting you don't know anything
56 likes

@oisyn
@zelimir__ No, it's just a meme. Like "can it run Crysis".
82 likes

@rebane2001
@zelimir__ maybe its just because i do so much css stuff, but hearing it over and over again kinda feels like this
21 likes

@oisyn
@zelimir__ Well I can get that someone in your position hears it a lot and can get tired of it 🙂. Back in early 00s I made a raycaster in html4 using vertical <img> slices (canvas didn't exist at the time). Now I wonder if this is doable without javascript 😄
11 likes

@rebane2001
@zelimir__ that's pretty sick! and i think it is :)
10 likes

@LunarSchala
Your bio says "CSS noob", but I think you're at least a CSS sophomore.
264 likes

@rebane2001
hmm yeah i think i've earned that title by now
179 likes

@0_954499736
So at this point, should security-paranoid people who disable Javascript also be switching off CSS?
94 likes

@rebane2001
@humng392546 depends on your threat model, i use noscript and disable js by default, but don't see css as a threat i need to worry too much about (despite having a css-only chrome cve)
77 likes

@UncleGPT
@humng392546 You reported it. Right?
2 likes

@rebane2001
@humng392546 yes, that's why i have a cve
15 likes

@rvtond
you deserve to know you only need `mov` to be Turing complete. In CSS. Pls report back if you do this
46 likes

@rebane2001
i am aware of that (and the movfuscator), but like, an entire cpu with the same architecture as your computer is just way cooler
149 likes

@rvtond
grant.ed.
4 likes

@rvtond
anyway it's just an instruction pass :p css computer will run it
3 likes

@_sy1vi3
whoa, it's like... assembly... but for the web... imagine if that was an actual thing that would be crazy
45 likes
























