cxs-css / cxs

fast af css-in-js in 0.7kb
MIT License
1.19k stars 68 forks source link

multiple pseudo selectors #88

Closed Jascha-Sundaresan closed 6 years ago

Jascha-Sundaresan commented 7 years ago

is there a way to do this w/ ::before and ::after on the same line to save writing display: "block" twice?

":hover": {
    "::before": {
      display: "block"
    },
    "::after": {
      display: "block"
    }
  }
Jascha-Sundaresan commented 6 years ago

as far as I can tell, there's no way to do this.