Bootstrap04概述

一.输入框组

1.左侧添加文字

            <div class="input-group">
<span class="input-group-addon">$</span>
<input class="form-control" type="text" name="" id="" value="" />
</div>

2.右侧添加文字

            <div class="input-group">
<input class="form-control" type="text" name="" id="" value="" />
<span class="input-group-addon">@qq.com</span>
</div>

3.两侧添加文字

            <div class="input-group">
<span class="input-group-addon">$</span>
<input class="form-control" type="text" name="" id="" value="" />
<span class="input-group-addon">.</span>
</div>

3.左侧使用复选框+单选框(注意:实现单选框效果,需要添加name属性)

            <div class="input-group">
<span class="input-group-addon">
<input type="checkbox" name="" id="" value="" />
</span>
<input class="form-control" type="text" name="" id="" value="" />
</div>
<div class="input-group">
<span class="input-group-addon">
<input type="radio" name="sex" id="" value="" />
</span>
<input class="form-control" type="text" name="" id="" value="" />
</div>
<div class="input-group">
<span class="input-group-addon">
<input type="radio" name="sex" id="" value="" />
</span>
<input class="form-control" type="text" name="" id="" value="" />
</div>

4.右侧使用按钮

            <div class="input-group">
<input class="form-control" type="text" name="" id="" val..ue="" />
<div class="input-group-btn">
<button class="btn btn-primary">提交</button>
</div>
</div>

5.左侧使用下拉菜单

            <div class="input-group">
<div class="input-group-btn">
<button class="btn btn-warning" data-toggle="dropdown">搜索

Bootstrap04的更多相关文章

随机推荐

  1. Pig集群安装

    1.安装hadoop 这个之前已经写过 2.下载Pig,解压 3.保证Java和Hadoop已经在/etc/profile中配置 4.配置Pig安装目录 export PIG_INSTALL=/hom ...

  2. 初识WCF6

    参考:http://blog.csdn.net/songyefei/article/details/7397296 元数据交换 通过前两篇的学习,我们了解了WCF通信的一些基本原理,我们知道,WCF服 ...

  3. php 3des加密 兼容JAVA 多么痛的领悟呀

    最近和别人做接口用到SOCKET TCP/IP方式 其中需要对账号和密码进行3DES加密 对方提供了一个加密比对的软件和JAVA的实现代码 并且给了我们一个长度为32位的密钥 这边需要用PHP来实现! ...

  4. ssh key生成步骤

    1. 安装git,从程序目录打开 "Git Bash" ,或者直接用git shell,github自带的工具 2. 键入命令:ssh-keygen -t rsa -C " ...

  5. windows程序设置开机自动启动

    //调用方法:设置开机启动 SetAutoRun(Process.GetCurrentProcess().ProcessName, true, Application.StartupPath + @& ...

  6. CAShapeLayer的使用[2]

    CAShapeLayer的使用[2] CAShapeLayer支持的动画类型有如下这些. ------------------------------------------------------- ...

  7. Nginx学习---企业级nginx环境搭建

    1.1. nginx安装环境 1.系统要求 nginx是C语言开发,建议在linux上运行,本教程使用Centos6.5作为安装环境. 1-1 安装 GCC 源码安装nginx需要依赖gcc环境,需要 ...

  8. DRAM(动态)存储器

    一.DRAM的存储元电路 常见的DRAM存储元电路有四管式和单管式两种,它们的共同特点是靠电容存储电荷的原理来存储信息.电容上存有足够多的电荷表示“1”,电容上无电荷表示“0”. 由于电容存储的电荷会 ...

  9. 音乐mp4网站 汽车服务工程 张旭

  10. [Assignment] C++2

    作业要求:PAT1025 翻转链表 代码在这里