Skip to content

Instantly share code, notes, and snippets.

@rwojsznis
Created March 22, 2020 14:02
Show Gist options
  • Save rwojsznis/f0e8ac0096cc346af001e2a8e7961044 to your computer and use it in GitHub Desktop.
Save rwojsznis/f0e8ac0096cc346af001e2a8e7961044 to your computer and use it in GitHub Desktop.
jsFiddle gist example
$fullred = #ff0000;
body {
font-family: Helvetica, Verdana
}
p {
padding: 7px 10px;
}
#demo {
border: 1px solid $fullred;
}
<p>Result will appear below with 1 sec delay</p>
<div id="demo"><p>This text will be replaced</p></div>
<p><a href='http://doc.jsfiddle.net/use/github_read.html' target='_new'>Documentation</a></p>
<p><a href='http://github.com/jsfiddle/github-demo/' target='_new'>Demo on Github</a></p>
window.addEvent('domready', function() {
new Request.HTML({
url: '/gh/get/response.html/jsfiddle/github-demo/contents',
data: {'delay': 1},
method: 'post',
update: 'demo',
onSuccess: function(response) {
$('demo').highlight();
}
}).send();
})
name: jsFiddle/Gist integration demo
description: jsFiddle demo hosted on Github Gist
authors:
- jsFiddle
resources:
- /js/empty.js
- /css/normalize.css
normalize_css: yes
lang_css: SCSS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment