Created
July 2, 2016 07:21
-
-
Save jackiewu/aead2e85f0b65d9460645d29987f81de to your computer and use it in GitHub Desktop.
Simple Label
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
a.single-product { | |
position: relative; | |
overflow: hidden; | |
display: block; | |
} | |
a.single-product::before { | |
content: '售出'; | |
display: block; | |
background-color: #de2424; | |
color: #fff; | |
font-size: 14px; | |
font-weight: bold; | |
letter-spacing: 1px; | |
transform: rotate(45deg) translate3d(20px,-10px,0); | |
width: 90px; | |
text-align: center; | |
position: absolute; | |
right: 0; | |
top: 0; | |
z-index: 2; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment