Bootstrap输入框组件简单实现代码

前端之家收集整理的这篇文章主要介绍了Bootstrap输入框组件简单实现代码前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

Bootstrap输入框组件的学习代码,供大家参考,具体内容如下

<Meta charset="utf-8"> <Meta http-equiv="X-UA-Compatible" content="IE-edge"> <Meta name="viewport" content="width=device-width,initial-scale=1"> Bootstrap 101 Template nofollow" rel="stylesheet"> nofollow" rel="stylesheet">

<div class="input-group">

<span class="input-group-addon">@

<input type="text" class="form-control" placeholder="Username">


<div class="input-group">
<input type="text" class="form-control" placeholder="Username">
<span class="input-group-addon">@



<form action="" method="post" role="form">
<div class="form-group">
<label for="username">username:
<input class="form-control" id="username" name="username" type="text">

password:

<script src="http://cdn.bootcss.com/jquery/2.1.1/jquery.min.js"&gt;
<script src="http://cdn.bootcss.com/bootstrap/3.3.1/js/bootstrap.min.js"&gt;
<script src="http://cdn.bootcss.com/bootstrap/3.3.1/js/npm.js"&gt;

结果:

原文链接:https://www.f2er.com/bootstrap/41054.html

猜你在找的Bootstrap相关文章