Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #pentagon {
- position: relative;
- width: 54px;
- border-width: 50px 18px 0;
- border-style: solid;
- border-color: red transparent;
- }
- #pentagon:before {
- content: "";
- position: absolute;
- height: 0;
- width: 0;
- top: -85px;
- left: -18px;
- border-width: 0 45px 35px;
- border-style: solid;
- border-color: transparent transparent red;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement