Wednesday, September 6, 2023

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

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.


Comments URL: https://news.ycombinator.com/item?id=37409330

Points: 1

# Comments: 0



from Hacker News: Newest https://ift.tt/aoD2xUJ

0 comments:

Post a Comment