Show HN: Deterministic Style Sheets
twitter.com
twitter.com
Can you show a side by side example showing the difference between plain old CSS Style Sheets and deterministic Style Sheets
class="red green" makes your element green class="green red" makes your element red
i.e. there is no cascade anymore but classes are applied in the order they're used.
DSS is pretty much like CSS, the only constraint is that it must be compilable to atomic CSS classes so there are a few restrictions https://dss-lang.com/supported-css-features/
As for an example you can take a look at the source code of the components that make the website: https://github.com/giuseppeg/dss/tree/master/website/compone...