Are bi-directional css gradients possible?
Easy enough to create css shadows under square objects with a simple :
background-image: linear-gradient(rgb(0,0,0,1),rgb(0,0,0,0)); <- This will fade in the default direction of top (black) to bottom (transparent), where all the pixels of each ROW has the same value.

But what if I want that ROW to also change colors, left to right?
This would open the door to other effects, like :

or

I guess it could be done easily enough with two tilted gradients inside a clipping container, but it wouldn't be as fluid/liquid as a single bi-directional gradient would be.
If this is possible, could someone show me the syntax? To produce that last (3rd) image, for example.
Thanks!
EDIT: To be clear, I know how to do an horizontal gradient. It's the two directions at the same time part I'm unsure of.

