I have custom CSS working to render links as buttons. Now I’m trying to style a details element to look the same way, but my changes don’t show up when I serve my site locally.
To make sure I wasn’t just writing invalid CSS, I tried copying the sample style here, but nothing seemed to change:
Thanks for your replies. Sorry if I was mistaken in posting here. It seemed to me that if I was testing with valid CSS, then the issue must be with how Hugo was interpreting my code and serving my site.
I tried those exact rules with v0.68.3 and they didn’t work. Then I tried them with v0.122 at @jmooring’s suggestion and they worked. You’re right that those exact rules aren’t in the repo I linked, but I wasn’t going to commit non-functional code… I was testing all of this locally. I wanted everyone to have access to the rest of my site, though, so they could see where my other (working!) custom CSS was stored.