为什么不显示反馈图标呢

来源:3-5 表单样式(2)

酷酷的Nian

2019-01-10 10:27:54

<!DOCTYPE html>

<html>

<head>

<meta charset="UTF-8">

<title>Document</title>

<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">

<link rel="stylesheet" href="bootstrap.css"/>


</head>

<body>

<form class="form">

<div class="form-group has-error">

<label for="ep" class="control-label">邮箱</label>

<input type="text" class="class-control" id="txt"/>

<span class="glyphicon glyphicon-warning-sign"></span>

</div>

</form>

<div class="form-group has-success has-feedback">

       <label class="control-label" for="inputSuccess2">Input with success</label>

       <input type="text" class="form-control" id="inputSuccess2">

       <span class="glyphicon glyphicon-ok"></span>

    </div>

    <div class="form-group has-warning has-feedback">

       <label class="control-label" for="inputWarning2">Input with warning</label>

       <input type="text" class="form-control" id="inputWarning2">

       <span class="glyphicon glyphicon-warning-sign"></span>

    </div>

</body>

</html>


写回答

1回答

好帮手慕星星

2019-01-10

你好,经使用在线链接测试,小图标是显示出来的,如下:

http://img.mukewang.com/climg/5c36b1da00010e7b02940228.jpg

同学可以使用下面提供的链接测试一下:

    <link href="https://cdn.bootcss.com/twitter-bootstrap/3.3.7/css/bootstrap.css" rel="stylesheet">

祝学习愉快!

0

0 学习 · 5012 问题

查看课程