Negative Number Input & Best Method for CSS Output
-
Hey nK,
Something I noticed when trying to enter a negative value on an allowed control it seems to only work in Gutenberg when clicking the down arrow on the input instead of just entering
-1
for example in the number field in Gutenberg.Something else I wonder is what is the ideal way to output CSS. I’ve been loading it in the blocks but what I’ve noticed is that if I load more than one block the CSS repeats with each block. I often will use a block control for custom CSS so this is causing conflicting css on the page based on which block (and thus block css) loads first.
Do you have an input on how to use dynamic CSS based on block controls but not overwrite the css?
Thanks!
- The topic ‘Negative Number Input & Best Method for CSS Output’ is closed to new replies.