<style> .widget { background: #EEE; padding: 10px !important; } .nested { background: #FFF; padding: 10px; } </style> <div id="editor"></div>