Remove inline styling from buttons
See original GitHub issueI am using bootstrap, but setting confirmButtonClass: 'btn btn-primary',
does not change any style.
This is because of some inline styling:
style="display: inline-block; border-left-color: rgb(48, 133, 214); border-right-color: rgb(48, 133, 214); background-color: rgb(48, 133, 214);"
How can I disable this?
Issue Analytics
- State:
- Created 8 years ago
- Reactions:3
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Remove the complete styling of an HTML button/submit
Is there a way of completely removing the styling of a button in Internet Explorer? I use a css sprite for my button,...
Read more >Overriding Default Button Styles | CSS-Tricks
You get so much for free when you use a real button, so here's a block of CSS to remove the headache of...
Read more >How to remove all inline styles using JavaScript/jQuery
Example 1: This example uses attr() method to remove the inline style. ... innerHTML = "Click on the button to remove". + "...
Read more >How to Fix & Remove Inline CSS - YouTube
Learn how to fix inline CSS in your code, and speed up both your development time and website in the process. Test your...
Read more >Remove all classes, inline styling, design properties on this ...
“Just like the buttons have their button-styles.” · Inline styling and design properties indeed interfere with the styling defined in sass.
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
Thank you again @canfiax for the another great suggestion!
Done https://github.com/limonte/sweetalert2/releases/tag/v0.4.1
@kennyhyun