Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Instead of rotating rectangle why not try to create a simple triangle, like this:</p> <p>HTML</p> <pre><code>&lt;div class="arrow-up"&gt;&lt;/div&gt; </code></pre> <p>CSS</p> <pre><code>.arrow-up { width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-bottom: 5px solid blue; } </code></pre> <p><br/><br/> <strong>EDIT based on author's comment --------------</strong></p> <p>Ok, if you don't bother about IE this background value should do the trick:</p> <pre><code>background: -moz-linear-gradient(top, rgba(0,128,255,1) 0%, rgba(0,128,255,1) 49%, rgba(0,128,255,0.01) 50%, rgba(255,255,255,0) 100%); /* FF3.6+ */ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,128,255,1)), color-stop(49%,rgba(0,128,255,1)), color-stop(50%,rgba(0,128,255,0.01)), color-stop(100%,rgba(255,255,255,0))); /* Chrome,Safari4+ */ background: -webkit-linear-gradient(top, rgba(0,128,255,1) 0%,rgba(0,128,255,1) 49%,rgba(0,128,255,0.01) 50%,rgba(255,255,255,0) 100%); /* Chrome10+,Safari5.1+ */ background: -o-linear-gradient(top, rgba(0,128,255,1) 0%,rgba(0,128,255,1) 49%,rgba(0,128,255,0.01) 50%,rgba(255,255,255,0) 100%); /* Opera 11.10+ */ background: -ms-linear-gradient(top, rgba(0,128,255,1) 0%,rgba(0,128,255,1) 49%,rgba(0,128,255,0.01) 50%,rgba(255,255,255,0) 100%); /* IE10+ */ background: linear-gradient(to bottom, rgba(0,128,255,1) 0%,rgba(0,128,255,1) 49%,rgba(0,128,255,0.01) 50%,rgba(255,255,255,0) 100%); /* W3C */ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0080ff', endColorstr='#00ffffff',GradientType=0 ); /* IE6-9 */ </code></pre> <p>Simple demo - <a href="http://jsfiddle.net/LH69Q/" rel="nofollow">http://jsfiddle.net/LH69Q/</a></p> <p>p.s. You can modify the gradient just by generating it yourself from here - <a href="http://www.colorzilla.com/gradient-editor/" rel="nofollow">http://www.colorzilla.com/gradient-editor/</a></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload