Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <style type="text/css">
- html{
- margin:0;
- padding:0;}
- body{
- background-color:rgb(163,202,189);
- display:-moz-box;
- -moz-box-pack:center;
- -moz-box-align:center;
- margin:0;
- height:100%;
- width:100%;
- }
- #star:before{
- content:"";
- position:absolute;
- height:100px;
- width:100px;
- margin-top:200px;
- background:red;
- -moz-transform:rotate(30deg);
- }
- #star:after{
- content:"";
- position:absolute;
- height:100px;
- width:100px;
- background:red;
- margin-top:200px;
- -moz-transform:rotate(-30deg);
- }
- #shadow{
- box-shadow:0 4px 5px black;
- }
- </style>
- </head>
- <body>
- <div id="shadow">
- <div id="star"></div>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement