I'm making an ads importer that can be used on other sites to show/search ads. The imported content should have it's own styling.
Code example:
Header:
<link rel="stylesheet" type="text/css" href="css/bootstrap.css" /><!-- Originaly on site -->
<link rel="stylesheet" href="http://www.example.com/css/custom.css" type="text/css"><!-- Import -->
<script type="text/javascript" src="http://www.example.com/jquery/jquery-min.js"></script><!-- Import -->
<script type="text/javascript" src="http://www.example.com/import.js"></script><!-- Import -->
Body:
<!-- Import stuff into wrapperJSON-->
<div class="col-12-sm">
<div id="content" class="page">
<div class="wrapper wrapperJSON" data-id="8" >
</div>
</div>
</div>
My problem is that the original CSS from the site applies to my import div too. I can't edit the original CSS, and it changes from site to site.
What i need is that the original CSS should apply to everything except the import div (.wrapperJSON). Is this somehow possible, i can't find a solution for it anywhere.