Theme, Css, html , js

Hi guys
is there anyway to use this code ( in link below ) in theme?

do you have any idea?

What link?

https://codepen.io/chrisgannon/pen/ZWRgza

I can see how a frontend based on this sort of design https://codepen.io/icebob/pen/JYoQZg might be nice, but I think you are talking about more than a theme, more like making some custom cards I think.

use them in both of the front and custom card will be so nice.
but i don’t have how that can!