×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Text
Posted by: zloy XPEH
Added: Aug 8, 2018 7:23 AM
Views: 3282
Tags: no tags
  1. .wrap-ribbon {
  2.         width: 235px;
  3.         height: 235px;
  4.         overflow: hidden;
  5.         position: absolute;
  6.         top: -10px;
  7.         right: -25px;
  8.         .ribbon {
  9.             position: relative;
  10.             width: 300px;
  11.             background-color: #660000;
  12.             .font;
  13.             font-weight: bold;
  14.             color: @white;
  15.             text-align: center;
  16.             padding: 7px 0;
  17.             top: 75px;
  18.             left: -5px;
  19.             -webkit-transform: rotate(45deg);
  20.             -moz-transform:    rotate(45deg);
  21.             -ms-transform:     rotate(45deg);
  22.             -o-transform:      rotate(45deg);
  23.         }
  24.     }