相关疑难解决方法(0)

无法在Bootstrap 4中进行验证工作

我正在尝试通过Bootstrap激活验证,我已经粘贴在我页面上的follownig示例中.

<div class="form-group has-success">
  <label class="form-control-label" for="inputSuccess1">Input with success</label>
  <input type="text" class="form-control form-control-success" id="inputSuccess1">
  <div class="form-control-feedback">Success! You've done it.</div>
  <small class="form-text text-muted">Example help text that remains unchanged.</small>
</div>
Run Code Online (Sandbox Code Playgroud)

我可以看到输入控件的外观已经改变(它现在有点圆润,更美观)它仍然没有显示绿色边框,如链接到的页面上所示.我正在链接的Bootstrap指出如下.

<link rel="stylesheet"
      href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/css/bootstrap.min.css" />
Run Code Online (Sandbox Code Playgroud)

试图解决这个问题,我只得到了一些链接到官方网站的例子,我从那里得到了我的样本,所以在那里帮助我很少.我有一个小提琴来说明这个问题.

我能做些什么呢?我错过了什么?

html css validation twitter-bootstrap bootstrap-4

18
推荐指数
2
解决办法
6万
查看次数

标签 统计

bootstrap-4 ×1

css ×1

html ×1

twitter-bootstrap ×1

validation ×1