[css] How can I add a box-shadow on one side of an element?

Yes, you can use the shadow spread property of the box-shadow rule:

_x000D_
_x000D_
.myDiv_x000D_
{_x000D_
  border: 1px solid #333;_x000D_
  width: 100px;_x000D_
  height: 100px;_x000D_
  box-shadow: 10px 0 5px -2px #888;_x000D_
}
_x000D_
<div class="myDiv"></div>
_x000D_
_x000D_
_x000D_

The fourth property there -2px is the shadow spread, you can use it to change the spread of the shadow, making it appear that the shadow is on one side only.

This also uses the shadow positioning rules 10px sends it to the right (horizontal offset) and 0px keeps it under the element (vertical offset.)

5px is the blur radius :)

Example for you here.