HTML
xxxxxxxxxx
1
2
<div class="card">
3
<div class="card-body">
4
<div class="alert alert-info mb-3">
5
If you tab through the input, or click it, then click off, the active class goes away.
6
</div>
7
<div class="form-outline">
8
<input type="text" class="form-control active" id="test" value="" />
9
<label for="test" class="form-label">Test</label>
10
</div>
11
</div>
12
</div>
CSS
1
1
JS
1
1
Console errors: 0