apply classes instead of inline styles
See original GitHub issueThis is an improvement idea.
The dropTargetStyle is nice, but it may be more flexible to give the possibility to apply a custom class to the drop targets instead of inline styles.
Issue Analytics
- State:
- Created 3 years ago
- Comments:11 (9 by maintainers)
Top Results From Across the Web
What's the difference between inline styles vs classes?
If inline styles are programmatically applied. For example, showing and hiding elements with JavaScript, or applying content specific styles ...
Read more >Inline Styles as Classes (lol) - CSS-Tricks
If you're abhorred by using inline styles, just move that style to the class attribute! And then make sure you have CSS in...
Read more >When should I use a CSS class over inline styling?
This works, but are there general rules or guidelines to follow to determine if I should use inline styles or styling via stylesheets...
Read more >No, Utility Classes Aren't the Same As Inline Styles | frontstuff
Inline styles only apply to the elements they're declared on. Perhaps the biggest limitation with inline styles is that they can only affect ......
Read more >Inline CSS Guide - How to use Inline Styles | Simplilearn
Inline CSS is the technique to define the single element with the insert style sheets in an HTML document. We can add CSS...
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

this feature is available in version 0.8.1 and onwards. thanks everyone for the inputs
styling would be in css instead where you have selector specificity, whereas currently, with inline styling, there’s little room to override.