Last active
March 8, 2022 20:49
-
-
Save Spirit-act/826bddd6a19126e4c2b924bf4cd15f5b to your computer and use it in GitHub Desktop.
Tag Input Script
This file contains hidden or 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
body { | |
background-color: #222; | |
color: white; | |
} | |
.input-wrapper{ | |
background: transparent; | |
padding: 10px; | |
border-radius: 4px; | |
border: 1px solid #ccc | |
} | |
.input-wrapper input{ | |
border: none; | |
background: transparent; | |
outline: none; | |
width: 140px; | |
margin-left: 8px; | |
color: white; | |
} | |
.input-wrapper .tag{ | |
display: inline-block; | |
background-color: limegreen; | |
color: white; | |
border-radius: 2px; | |
padding: 0px 3px 0px 7px; | |
margin-right: 5px; | |
} | |
.input-wrapper .tag a { | |
margin: 0 7px 3px; | |
display: inline-block; | |
cursor: pointer; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment