HTML output formating

I always use this format for my html outputs. I was wondering if I can take this any farther. Rather I want columns to be hidden and expanded on a click. I would appreciate an answer but what I am looking for is something to reference so I can build it my self.
Regardless thanks for any input

I use this as -head $header

$Header = @"

TABLE {border-width: 1px;border-style: solid;border-color: black;border-collapse: collapse;}
TH {border-width: 1px;padding: 3px;border-style: solid;border-color: black;background-color: #6495ED;}
TD {border-width: 1px;padding: 3px;border-style: solid;border-color: black;}
TR:Nth-Child(Even) {Background-Color: #dddddd;}
TR:Hover TD {Background-Color: #C1D5F8;}


What ever report is about

"@

Have you looked at https://www.penflip.com/powershellorg/secrets-of-powershell-remoting?

Sorry, wrong link: https://www.penflip.com/powershellorg/creating-html-reports-in-powershell (they’re right next to each other, and I grabbed the wrong one!)