An Interest In:
Web News this Week
- April 1, 2024
- March 31, 2024
- March 30, 2024
- March 29, 2024
- March 28, 2024
- March 27, 2024
- March 26, 2024
April 20, 2012 02:00 am GMT
Original Link: http://css-tricks.com/triangle-with-shadow/
Triangle With Shadow
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 UnicodeThere 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.…
Triangle With Shadow is a post from CSS-Tricks
Original Link: http://css-tricks.com/triangle-with-shadow/
Share this article:
Tweet
View Full Article