Try this, http://jsfiddle.net/HshfF/1/
CSS: (From a script in this comment )
.main { background: -moz-linear-gradient(top, #ffffff 0%, #e8e8e8 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#e8e8e8)); background: -webkit-linear-gradient(top, #ffffff 0%,#e8e8e8 100%); background: -o-linear-gradient(top, #ffffff 0%,#e8e8e8 100%); background: -ms-linear-gradient(top, #ffffff 0%,#e8e8e8 100%); background: linear-gradient(to bottom, #ffffff 0%,#e8e8e8 100%); position: relative; width: 150px; height: 100px; margin: 10px; border: 1px solid #d0d0d0; border-radius: 10px; padding: 20px; } .main:before { content: ''; display: block; top: -1px; right: -1px; width: 20px; height: 20px; background: -moz-linear-gradient(top, #ffffff 0%, #e8e8e8 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#e8e8e8)); background: -webkit-linear-gradient(top, #ffffff 0%,#e8e8e8 100%); background: -o-linear-gradient(top, #ffffff 0%,#e8e8e8 100%); background: -ms-linear-gradient(top, #ffffff 0%,#e8e8e8 100%); background: linear-gradient(to bottom, #ffffff 0%,#e8e8e8 100%); position: absolute; border-radius: 0 0 0 5px; border-left: 1px solid #d0d0d0; border-bottom: 1px solid #d0d0d0; } .main:after { content: ''; display: block; position: absolute; top: -1px; right: -1px; border-top: 20px solid #fff; border-left: 20px solid transparent; }
source share