loading...

Discussion on: Are CSS and HTML programming languages?

Collapse
loouislow profile image
Loouis Low

How do you like my joke?

<style>
  if[state="true"] > return { color: blue }
  if[state="false"] > return { display: none }
  if[state]:not([state="true"]) > return:after { color:red; content: "Invalid Boolean!" }
</style>

<if state="true">
  <return>
    Hello World!
  </return>
</if>