JSFiddle - React, Tailwind, and code Playground
by no2don
HTML
<!-- bootstrap -->
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<!-- Optional theme -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous">
<!-- Latest compiled and minified JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<!-- DONMA edited-->
<link rel="stylesheet" href="https://no2js.azurewebsites.net/bs_tags/bootstrap-tagsinput.css">
<script src="https://no2js.azurewebsites.net/bs_tags/bootstrap-tagsinput.js"></script>
<div style='width:100%'>
<input type="text" style='width:100%' value="當麻,測試,tag,中文" data-role="tagsinput" />
</div>
CSS
.bootstrap-tagsinput {
width: 100% !important;
}