10-12-2017, 02:23 AM
A few weeks ago I was looking for a way to create a 3D, cube extruded-looking effect in place of a drop shadow or something similar, but found nothing and decided to create my own. It uses some basic CSS3 transformations to get the angled effect and a really cool tint function to "shade" the additional sides relative to the color of the container the effect applies to.
The source is available on GitHub , and below is an example of the code in use.
The rest of the site (theme included) is a work in progress, don't pay attention to my shitty padding and buttons :tongue:
The source is available on GitHub , and below is an example of the code in use.
The rest of the site (theme included) is a work in progress, don't pay attention to my shitty padding and buttons :tongue: