提示:记得导入bootstrap的css、js包和jquery包---->>>地址
CODE
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title></title>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
<meta name="viewport" content="width=device-width,
initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<link rel="stylesheet" href="bootstrap/css/bootstrap.css">
<script src="js/jquery-3.1.1.js"></script>
<script src="bootstrap/js/bootstrap.js"></script>
</head>
<style>
*{
margin: 0;
padding:0;
box-sizing:border-box;
}
body,ul,li,p{margin:0;padding:0;}
ul{list-style-type: none;}
</style>
<body>
<!-- 输入框 -->
<div class="input-group">
<span class="input-group-addon">@</span>
<input type="text" class="form-control">
</div>
<div class="input-group">
<input type="text" class="form-control">
<span class="input-group-addon">@qq.com</span>
</div>
</body>
</html>
effect