/ Published in: CSS
URL: http://www.seniorwebdesigner.com
Cross Browser CSS Arrows / Triangles
Tags: css, css Arrow, CSS Triangles, Cross Browser CSS Arrow, Cross Browser CSS Triangle
Copyrights: All Copyrights reserved to Mohamed Alaa - Front End Developer
Expand |
Embed | Plain Text
/* Common Style */ .arrow-top, .arrow-right, .arrow-bottom, .arrow-left {width: 0; height: 0; line-height: 0} /* ▴ */ .arrow-top {border-left: 10px solid transparent; border-right: 10px solid transparent; border-bottom: 10px solid black} /* ▸ */ .arrow-right {border-top: 10px solid transparent; border-bottom: 10px solid transparent; border-right:10px solid blue} /* ▾ */ .arrow-bottom {border-left: 10px solid transparent; border-right: 10px solid transparent; border-top: 10px solid #f00} /* ◂ */ .arrow-left {border-top: 10px solid transparent; border-bottom: 10px solid transparent; border-left: 10px solid green} /* IE6 Fix */ .ie6 .arrow-top, .ie6 .arrow-right, .ie6 .arrow-bottom, .ie6 .arrow-left {font-size: 0} /* IE6 Transparency Fix */ .arrow-top, .arrow-bottom { _border-right-color: pink; _border-left-color: pink; _filter: chroma(color=pink) } .arrow-right, .arrow-left { _border-top-color: pink; _border-bottom-color: pink; _filter: chroma(color=pink) }
You need to login to post a comment.
