-
-
Save pujansrt/298a7f9d26154055fd178312149f1914 to your computer and use it in GitHub Desktop.
Flag
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
[data-ribbon]{ | |
position:relative; | |
display1:inline-block; | |
padding1:8px 10px; | |
background:#FF7700; | |
text-align:center; | |
color:#fff; | |
text-decoration: none; | |
} | |
[data-ribbon]:after{ | |
content: attr(data-ribbon); | |
position:absolute; | |
top: 4px; | |
left:-12px; | |
color: #000; | |
height:0; | |
border-bottom: 8px solid gold; | |
border-left: 8px solid transparent; | |
border-right: 8px solid transparent; | |
transform: rotate(-45deg); | |
font-size:7px | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment