Skip to content

socialwolves/easter-egg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Easter Egg

Lightweight easter egg served directly from Github, DEMO

GOALS

  1. Create minimal/lightweight snippet for easter eggs
  2. Experiment with pure HTML/CSS and vanilla JS solutions.
  3. Have some fun

STACK

  • HTML/CSS animation
  • vanilla.js, HTML5
  • github pages

TODO

  • Create minimal script for detecting conami code
  • Create/find pure HTML+CSS ester egg (nyan cat?!)
  • Find a way to append code without collisions
  • Host somewhere easter egg code (probably github)
  • Add snippet in different places of zwzt platform

CONFIG

To add snippet with conami code detection append to your website

<script type="text/javascript" src="https://rawgit.com/socialwolves/easter-egg/master/index.js"></script>

To checkout how easter egg looks like append, run in your console

document.body.innerHTML += '<iframe src="https://rawgit.com/socialwolves/easter-egg/master/nyan/index.html" style="border:0;width:100vw;height:100vh;position:fixed;top:0;z-index:1337" allowtransparency="true"></iframe>

Credits