Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*Sexy paper shadow*/
- .post {
- position:relative;
- width: 500px;
- height: 400px;
- background-color: #ECEAe2;
- padding: 30px;
- width: 500px;
- height: 100px;
- margin: 0 auto;
- top: 30px;
- }
- .post::before,
- .post::after {
- content:"";
- position:absolute;
- z-index:-1;
- bottom:15px;
- left:10px;
- width:50%;
- height:10px;
- max-width:300px;
- -webkit-box-shadow:0 15px 15px rgba(0, 0, 0, 0.4);
- -moz-box-shadow:0 15px 15px rgba(0, 0, 0, 0.4);
- box-shadow:0 15px 15px rgba(0, 0, 0, 0.4);
- -webkit-transform:rotate(-3deg);
- -moz-transform:rotate(-3deg);
- -o-transform:rotate(-3deg);
- transform:rotate(-3deg);
- }
- .post::after{
- right:10px;
- left:auto;
- -webkit-transform:rotate(3deg);
- -moz-transform:rotate(3deg);
- -o-transform:rotate(3deg);
- transform:rotate(3deg);
- }
Add Comment
Please, Sign In to add comment