A
A
Alexey Yarkov2015-10-11 22:13:43
css
Alexey Yarkov, 2015-10-11 22:13:43

How to overcome conflict of extension styles with page styles?

We have a Google Chrome extension that uses Bootstrap and a script to create modal windows arctic-modals. As a result, extension forms are displayed incorrectly on some sites. I believe this is due to conflicting CSS styles that need to be injected into the page in order for the forms to be rendered via content.js. Is there a way to avoid this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
VanKrock, 2015-10-11
@VanKrock

You can add prefixes for extension styles, then the extension will display as intended and the site will display as intended

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question