×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
1
Language: CSS
Posted by: Philip Rehberger
Added: Sep 14, 2016 12:13 AM
Modified: Sep 14, 2016 1:57 AM
Views: 14
  1. .featureBanner {
  2.     position: relative;
  3.     margin: 20px
  4. }
  5. .featureBanner:before {
  6.     content: "Featured";
  7.     position: absolute;
  8.     top: 5px;
  9.     left: -8px;
  10.     padding-right: 10px;
  11.     color: #232323;
  12.     font-weight: bold;
  13.     height: 0px;
  14.     border: 15px solid #ffa200;
  15.     border-right-color: transparent;
  16.     line-height: 0px;
  17.     box-shadow: -0px 5px 5px -5px #000000;
  18.     z-index: 1;
  19. }
  20. .featureBanner:after {
  21.     content: "";
  22.     position: absolute;
  23.     top: 35px;
  24.     left: -8px;
  25.     border: 4px solid #89540c;
  26.     border-left-color: transparent;
  27.     border-bottom-color: transparent;
  28. }