Matthew Morete
matthewmorete.com
Matthew Morete
@matthewmorete.com
Building websites in Belfast
He/Him
3D Transforms never render as nicely as I hope. Interesting you can get much nicer rendering on the edges if you fake the volume.
Becomes more of a hassle to make the sides a different colour, which even if you go through has it's own list of rendering problems
January 9, 2025 at 4:31 PM
#CSS 3D Keys ⌨️
Uses 3d transforms and some simple trigonometry to calculate the sides of each key.
Relative color syntax for the different shades. I had many failed attempts at adding some form of rounding, before compromising with this stylised look
codepen.io/matthewmoret...
January 9, 2025 at 4:28 PM