jessepollak / jessepollak/card
Add a prefix option
Open
- Dominant language
- SCSS
- Stars
- 11.7k
- Forks
- 1.5k
- PR merge metrics
- No merged PRs in 30d
Description
It would be great if there was a prefix option for the CSS that's being embedded. I wanted to use this form but a lot of the CSS is getting overridden.
For example:
```
new Card({
form: 'form',
container: '.container',
prefix: 'html#ecwid_html body#ecwid_body .ecwid div'
})
```
This would then make it so that all of the css classes added to the page would be prefixed with `html#ecwid_html body#ecwid_body .ecwid div`
Contributor guide
Assessment
This issue has not been assessed yet.