/* * From https://github.com/xoxco/jQuery-Tags-Input * MIT License */ div.tagsinput { padding: 5px; padding-top: 10px; padding-left: 10px; width: 300px; height: 100px; overflow-y: auto; font-size: 16px; } div.tagsinput span.tag { border: 1px solid #a5d24a; display: block; border-radius: 2px; float: left; padding: 5px; text-decoration: none; background-color: #4CAF50; color: #fff; margin-right: 8px; margin-bottom: 8px; box-shadow: 0 1px 4px rgba(0,0,0,0.4); line-height: 1.5; border-radius: 0.25rem; } div.tagsinput span.tag a { font-weight: bold; color: #fff; text-decoration: none; font-size: 12px; text-transform: uppercase; padding-right: 3px; } div.tagsinput input { width: 100%; margin: 0px; border: 1px solid transparent; padding: 5px; background: transparent; color: #000; outline: 0px; margin-right: 5px; margin-bottom: 5px; } div.tagsinput div { display: block; float: left; } .tags_clear { clear: both; width: 100%; height: 0px; }