UNPKG

@polygonjs/polygonjs

Version:

node-based WebGL 3D engine https://polygonjs.com

2 lines (1 loc) 684 B
export declare const EXAMPLE_COLOR = "<div id='my-viewer'></div>\n<div id='color-bars'>\n\t<div class='color-bar red'></div>\n\t<div class='color-bar green'></div>\n\t<div class='color-bar blue'></div>\n</div>\n\n<style>\n\t#my-viewer {\n\t\theight: 100%;\n\t}\n\t#color-bars {\n\t\tposition: absolute;\n\t\ttop: 0px;\n\t\tleft: 0px;\n\t\twidth: 100%;\n\t\theight: 20px;\n\t\tdisplay: flex;\n\t\tgap: 0.5rem;\n\t\talign-items: center;\n\t}\n\t.color-bar {\n\t\theight: 100%;\n\t\tflex: 1 1 0%;\n\t\tdisplay: inline-block;\n\t}\n\t.color-bar.red { background-color: red; }\n\t.color-bar.green { background-color: green; }\n\t.color-bar.blue { background-color: blue; }\n</style>\n\n";