Fork me on GitHub
#garden
<
2018-04-26
>
aaelony21:04:08

Hi, how would the following be done in Garden?

th:hover::after {
  content: "";
  position: absolute;
  background-color: #ffa;
  left: 0;
  top: -5000px;
  height: 10000px;
  width: 100%;
  z-index: -1;
}

shaun-mahood21:04:35

Maybe not exact but I'm assuming this is the part that is giving you trouble (I know it did for me) - I put in a unicode value that also gave me a bit of trouble in case that helps.

[:th [:&:hover [:&:after {:content "'\\25B2'" }]]]

aaelony21:04:59

I had no idea how to google for that or where to find docs. Big thanks, @shaun-mahood 🙂

shaun-mahood21:04:07

No problem - it took me a while to get it to work, hopefully that does what you need

👍 4
aaelony21:04:49

is th:hover:after the same as th:hover::after?

aaelony21:04:34

probably a confluence of my poor css knowledge and not Garden's fault 🙂