title: Featured filled corner css
body: <p>I'm trying to add a triangle with a star in it at the corner of an article in Joomla.</p>
  
  <p>This is my code:</p>
  
  <p>Html</p>
  
  <pre><code>&lt;div class="ribbon-wrapper-featured"&gt;
    &lt;div class="ribbon-featured"&gt;
      &lt;i class="fa fa-star"&gt;&lt;/i&gt;
    &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Css</p>
  
  <pre><code>/*corner ribbon*/
  .ribbon-wrapper-featured {
      width: 50px;
      height: 50px;
      position: absolute;
      top: 0px;
      right: 0px;
  }
  
  .ribbon-featured {
      width: 0;
      height: 0;
      border-style: solid;
      border-width: 0 50px 50px 0;
      border-color: transparent #f1c40f transparent transparent;
      line-height: 0px;
      _border-color: #000000 #f1c40f #000000 #000000;
      _filter: progid:DXImageTransform.Microsoft.Chroma(color='#000000');
  }
  </code></pre>
  
  <p>But this is what I'm getting</p>
  
  <p><a href="https://i.stack.imgur.com/EY4IR.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/EY4IR.jpg" alt="enter image description here"></a></p>
  
  <p>I'm not very good in CSS so if you have a more efficient way to achieve this, it is very welcome.</p>