CSS Image Gallery

I want to display images in a cool-looking gallery. I have the CSS code, but I’m brand new with CSS, and therefore can’t seem to figure out, how to implement this into Glide.
The link is definitely worth a peek, it is a very cool-looking design. If you have any other gallery layout ideas, please let me know.

Link to the css code and demo app: Image Accordion with CSS3 | Codrops

Have you tried putting it in a rich text component in Apps?

Yes it doesn’t show anything