Created
March 22, 2020 14:02
-
-
Save rwojsznis/f0e8ac0096cc346af001e2a8e7961044 to your computer and use it in GitHub Desktop.
jsFiddle gist example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$fullred = #ff0000; | |
body { | |
font-family: Helvetica, Verdana | |
} | |
p { | |
padding: 7px 10px; | |
} | |
#demo { | |
border: 1px solid $fullred; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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(); | |
}) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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