Logic Machine Forum
Custom css all widgets - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Visualization (https://forum.logicmachine.net/forumdisplay.php?fid=9)
+--- Thread: Custom css all widgets (/showthread.php?tid=3356)



Custom css all widgets - function - 10.05.2021

Hi!

Is there a way to create custom css to all widgets?

Like:

widget{
 css: here;
}

Instead of:

#widget-1{
 css: here;
}

#widget-2{
 css: here;
}



RE: Custom css all widgets - admin - 10.05.2021

This can be used: div[id^="widget-"] { ... }
Or see if elements have a common class that can be used as a CSS selector


RE: Custom css all widgets - function - 10.05.2021

(10.05.2021, 09:31)admin Wrote: This can be used: div[id^="widget-"] { ... }
Or see if elements have a common class that can be used as a CSS selector

Perfect. Thanks Smile