User set-able breakpoint #9117
-
Maybe it is just friday, but I am having a little trouble reasoning about this. :) I have a breakpoint defined in
Or am I thinking about this wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
Have not tested, but you can probably make some css variables beforehand that will simply work as a placeholder of some value that you can dynamically change in javascript for later and then use that variable in your css. There should be other ways, like appending css into the dom via js. |
Beta Was this translation helpful? Give feedback.
-
Some refs https://css-tricks.com/updating-a-css-variable-with-javascript/ |
Beta Was this translation helpful? Give feedback.
Some refs https://css-tricks.com/updating-a-css-variable-with-javascript/
https://medium.com/@_bengarrison/accessing-and-modifying-css-variables-with-javascript-2ccb735bbff0
Also see how color utils in Quasar docs, as it's a related topic doen to creating dynamic branding https://quasar.dev/quasar-utils/color-utils