Skip to content

Commit 5b4b4ce

Browse files
committed
add .black-border class and better input styling
1 parent 34ef44a commit 5b4b4ce

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

flexbox-reset.less

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,11 @@ body {
5050
line-height: 1.5;
5151
min-height: 100vh;
5252
min-width: 100vw;
53+
overflow-x: hidden;
5354
}
5455

56+
.black-border { border: 1px solid black; }
57+
5558
blockquote, q {
5659
quotes: none;
5760

@@ -74,19 +77,35 @@ input {
7477
&[type=month],
7578
&[type=time],
7679
&[type=week] {
80+
.black-border;
7781
flex-direction: row;
7882
}
7983

8084
&[type=radio] {
8185
min-height: 15px;
8286
min-width: 15px;
8387
}
88+
89+
&[type=email],
90+
&[type=number],
91+
&[type=password],
92+
&[type=search],
93+
&[type=tel],
94+
&[type=text],
95+
&[type=url] {
96+
.black-border;
97+
}
8498
}
8599

86100
ol, ul {
87101
list-style: none;
88102
}
89103

104+
select,
105+
textarea {
106+
.black-border;
107+
}
108+
90109
table {
91110
display: table;
92111
}

0 commit comments

Comments
 (0)