| LinkedIn Network Updates, Apr 13 - Apr 20 | | | | | Updates from Your Extended Network Connect with them to see what they're up to | | | | Michael Omare AMD reports net loss of $590 million for Q1 2012, calls that ‘solid results’ http://bit.ly/HWueOA | | | Joe Wanjohi You probably already know you can make triangles with CSS. But what if you want to put a shadow behind it? Unfortunately the classic border trick doesn't change the shape of the element, it's just a visual trick. Let's look at a couple alternative solutions. Just use Unicode There are triangle characters in unicode. Like: ▲▼◀▶ And way more. If you use that as your triangle, you can select it and do all kinds of fancy to it. <span class="triangle">▲</span> .triangle { color: #BADA55; text-shadow: 0 0 20px black; } Color, shadows, sizing, whatever. You could even get more fancy. If the triangle isn't the exact shape you want or doesn't point the right way, you can use C... | | | | | |
No comments:
Post a Comment