Settings

Theme

Show HN: Free No Conflict CSS Tool to Help Sandbox Your CSS

templates.snipcss.com

5 points by mrieck 2 years ago · 0 comments · 1 min read

Reader

This tool renames all classes/ids and changes simple selectors like div into classes to sandbox your HTML/CSS. The goal is to make it not affect the destination page whenever you paste the HTML/CSS somewhere else.

I have an extension to create snippets called SnipCSS. I use the same code to scope the snippets before using them. If you have some HTML/CSS you want to reuse on another site but named your classes common things like "container", run it through this first and you'll spend less time fixing how it looks afterwards.

No comments yet.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection