A codebar for codepens.
- Add
codebar.jsat Add External JavaScript section in [Pen Settings - JavaScript]
(Example url://sivan.github.io/codebar.js/dist/codebar.js) - Add pen config at Stuff for <head> section in [Pen Settings - HTML]
Here is a config sample:
<script>
var codebarConfig = {
browsers: {
chrome: '43+',
ff: false,
safari: null,
ie: 8
},
players: {
developer: {
name: "Sivan",
url: "http://codepen.io/sivan/"
}
}
};
</script>Tips:
- Set browser value to
falseif this pen doesn't support this browser; - Set browser value to
nullif you want to hide this browser.
{
"browsers": {
"chrome": true,
"safari": true,
"ff": true,
"ie": true,
"edge": true
},
"players": {
"developer": {
"name": "Sivan",
"url": "http://codepen.io/sivan/"
},
"designer": false
},
"ui": {
"theme": "dark"
}
}-- EOF --