Skip to content

Commit a94a367

Browse files
BackendExpertJehanKandyVinuraPathirana
committed
Update
Co-Authored-By: JehanKandy <jehankandy@gmail.com> Co-Authored-By: Vinura Pathirana <154809219+VinuraPathirana@users.noreply.github.com>
1 parent 955cb90 commit a94a367

File tree

6 files changed

+18
-11
lines changed

6 files changed

+18
-11
lines changed

jkcss/forms/forms.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.control-jkforms {
1+
.control-jkforms, input[type=password] {
22
width: 100%;
33
border: 1px solid rgb(187, 187, 187);
44
height: 35px;
@@ -12,7 +12,7 @@
1212
margin: 10px 0;
1313
}
1414

15-
.control-jkforms:focus {
15+
.control-jkforms:focus, input[type=password]:focus {
1616
background-color: rgb(245, 245, 245);
1717
border: 1px solid rgb(184, 183, 183);
1818
}

jkcss/forms/forms.html

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,19 @@ <h1 class="jk-display-6"> HTML Basic Forms</h1><br>
2727

2828
<div class="example-content">
2929
<label>Username : </label>
30-
<input type="text" name="" id="" class="control-jkforms"><br>
31-
<label>Username : </label>
32-
<input type="password" name="" id="" class="control-jkforms"><br>
33-
<label>Username : </label>
34-
<input type="text" name="" id="" class="control-jkforms"><br>
30+
<input type="text" class="control-jkforms"><br>
3531

32+
<label>Password : </label>
33+
<input type="password" class="control-jkforms"><br>
3634
</div>
3735

3836

37+
38+
39+
40+
41+
42+
3943
</section>
4044

4145
</div>

jkcss/forms/forms.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

jkcss/forms/forms.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,7 @@
1616
border: 1px solid rgb(184, 183, 183);
1717
}
1818

19+
input[type=password]{
20+
@extend .control-jkforms;
21+
}
1922

jkcss/jkcss.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ hr {
369369
border: 1px solid rgba(185, 185, 185, 0.616);
370370
}
371371

372-
.control-jkforms {
372+
.control-jkforms, input[type=paswsword] {
373373
width: 100%;
374374
border: 1px solid rgb(187, 187, 187);
375375
height: 35px;
@@ -383,7 +383,7 @@ hr {
383383
margin: 10px 0;
384384
}
385385

386-
.control-jkforms:focus {
386+
.control-jkforms:focus, input[type=paswsword]:focus {
387387
background-color: rgb(245, 245, 245);
388388
border: 1px solid rgb(184, 183, 183);
389389
}

jkcss/jkcss.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)