Revert "Reimplemented Css specification"

This reverts commit 0deb0232ebf6c0d123c25aa0318c3dacc59de727.
Rereimplemented Css specification
Added z-index checking to specs of PageAnimation