Spyke
perchance·Perchance - Create a Random Text Generatorbythargas

how to define CSS in the HTML block to avoid having to re-type it everywhere

I've tried adding a <style>...</style> block to the html but it seems to have no effect.

The CSS usage says to add style='whatever' on each place you want to apply some CSS. But I want to apply the same style in multiple places without having to re-type it and find/change each place when I change my mind.

TL;DR: I want to use CSS the way it's supposed to work

View original on lemmy.world

go to the perchance generator url cssdb https://perchance.org/cssdb

plenty of examples here for making blocks import those blocks by adding this line to the perchance panel of a generator CSSimp = {import:cssdb} CSS codebase & stored HTML data sheets add this to its html panel [CSSimp()] pretty sure you will make your own css database so you can just copy my template name its url whatever and replace "{import:cssdb}" with "{import:your_copies_url}"

1

You reached the end