I want to apply a window shadow to only half a div. I searched a lot on Google but couldn’t. Here is the code for a simple window shadow.
<style type="text/css"> div{ width: 200px; height: 200px; text-align: center; background-color: gray; margin: auto; font-size: 30px; box-shadow: 0 100px 5px 5px; } </style> <div>Sometimes by losing a battle you find a new way to win the war.</div>
Encoded:

It is required:

Barrels with thanks in advance ...
source share