CSS Conflicts
See original GitHub issueHello!
The css causes general conflicts if we add the easyFormGenerator inside another app, because it overrides general html elements and bootstrap classes.
Can you add a class like easyFormGenerator and add all CSS sentences inside it, in order to avoid general conflicts? like:
.easyFormGenerator .container {
padding-left: 0;
padding-right: 0;
}
And if you need some css for the demo page, you can put them inside the same html only for the demo.
I have solved this avoiding adding the css file, but now in the v2.0.0 the css is automatically added as a <style>, for the moment it would be great if you add a config to off this, like:
easyFormSteWayConfigProvider.addCSS(false);
Thanks!
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
CSS Conflict Resolution Rules Explained
When there are two different declarations for the same element but they focus on different attributes, the styles simply merge, and the element ......
Read more >The Role of CSS Cascade in Navigating Conflicting ...
The CSS Cascade is a way for browsers to resolve conflicting CSS declarations. By specifying CSS rules, you specify where the CSS style...
Read more >CSS Conflicts
CSS stands for Cascading Style Sheets. The cascade is the algorithm used to determine how a given element should look. Each element can...
Read more >Conflicting Styles in CSS with Examples
Conflicting CSS Styles: CSS stands for cascading style sheets and cascading simply means multiple styles can be applied or multiple rules can be...
Read more >Systematically resolve conflicting styles in css
1) Decide which style sheet is the most important and put it second. OR · 2) Re-write your styles to avoid the mess....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

v2.1.0 is now released on npm (js and css are now splitted)
thanks @MacKentoch