Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Optional css file

  • Loading branch information...
commit 0437436e2788eadb36098eb5c282b4defd794e4d 1 parent 2aa82ce
@DelvarWorld authored
View
8 README.md
@@ -6,7 +6,9 @@ Not metaphorically speaking.
See it live: [Demo](http://andrewray.me/kill-with-fire).
-Only works on elements with white backgrounds. Change images/circle_eat.png to a different color for otherwise.
+Only works on elements with white backgrounds. Change `images/circle_eat.png` to a different color for otherwise.
+
+## Usage:
Takes optional config object
@@ -17,6 +19,10 @@ Takes optional config object
image_path: '/images_dir/' // defaults to images/ . Must have trailing slash!
})
+## CSS:
+
+You do NOT need to include the CSS file. Just make sure the element you're killing has `position:relative` or `absolute`
+
Originally made for [The Hippopotamatron 5000](http://andrewray.me/assets/games/hippopotamatron/index.htm).
Never license your code.
View
0  css/fire.css → css/demo.css
File renamed without changes
View
2  index.html
@@ -2,7 +2,7 @@
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>Kill it with fire!</title>
- <link rel="stylesheet" type="text/css" href="css/fire.css">
+ <link rel="stylesheet" type="text/css" href="css/demo.css">
</head>
<body>
<div class="thing">
Please sign in to comment.
Something went wrong with that request. Please try again.