Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including buryem with all npm packages installed. Try it out:

"use strict"; var _buryem = require("buryem"); var _buryem2 = _interopRequireDefault(_buryem); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } var holder = {}; var styles = _buryem2.default.create({ btn: { border: "3px solid #0af", ':hover': { borderColor: "#f20" }, '@media (max-width: 800px)': { display: "block", width: "100%", backgroundColor: "#0af", color: "#fff", ':before': { content: "attr(title)", color: "rgba(255,255,255,0.75)" }, ':hover': { backgroundColor: "#06f", borderColor: "#02f" } } } }, "my-hooray-button", holder); var htmlViewer = "\n<style>\n\t" + holder.__cssText + "\n\n\t$.{styles.btn} [data-nah] {\n\t\tcolor: #f0f;\n\t}\n</style>\n<button class=\"" + styles.btn + "\" title=\"Click me if you want\">\n\tHooray <span data-nah=\"nah\">or nah</span>\n</button>\n"; var output = function () { return htmlViewer; }();

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

buryem v1.3.0

got style conflicts? bury 'em!

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free