Last active
December 16, 2015 00:49
-
-
Save keeganbrown/5350026 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.roundcorners { position: relative; top: 0; left: 0; } | |
.oldIE .roundcorners { overflow: visible; } | |
.roundcornersInnerWrap { position: relative; top: 0; left: 0; } | |
.roundcorners .insideW { background-image:url("../images/corners/cornerWhiteInside.png"); } | |
.roundcorners .outsideW { background-image:url("../images/corners/cornerWhiteOutside.png"); } | |
.roundcorners .outsideWNoBdr { background-image:url("../images/corners/cornerWhiteOutsideNoBdr.png"); } | |
.roundcorners .outsideB { background-image:url("../images/corners/cornerBlackOutside.png"); } | |
.roundcorners .roundcorner { position: absolute; z-index: 1000; display: block; height: 10px; width:10px; } | |
.roundcorners .rcLeft.rcTop { left: 0; right: auto; top: 0; bottom: auto; background-position: left top; } | |
.roundcorners .rcRight.rcTop { left: auto; right: 0; top: 0; bottom: auto; background-position: right top; } | |
.roundcorners .rcLeft.rcBottom { left: 0; right: auto; top: auto; bottom: 0; background-position: left bottom; } | |
.roundcorners .rcRight.rcBottom { left: auto; right: 0; top: auto; bottom: 0; background-position: right bottom; } | |
.rcHasBdr .rcLeft.rcTop { left: -1px; right: auto; top: -1px; bottom: auto; background-position: left top; } | |
.rcHasBdr .rcRight.rcTop { left: auto; right: -1px; top: -1px; bottom: auto; background-position: right top; } | |
.rcHasBdr .rcLeft.rcBottom { left: -1px; right: auto; top: auto; bottom: -1px; background-position: left bottom; } | |
.rcHasBdr .rcRight.rcBottom { left: auto; right: -1px; top: auto; bottom: -1px; background-position: right bottom; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="roundcorners"> | |
<div class="subContent">content here</div> | |
<span class="roundcorner rcLeft rcTop insideW"> </span> <span class="roundcorner rcLeft rcBottom outsideW"> </span> <span class="roundcorner rcRight rcTop insideW"> </span> <span class="roundcorner rcRight rcBottom outsideW"> </span> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment