Skip to content

Commit

Permalink
change input color and scroll fix for iOS
Browse files Browse the repository at this point in the history
  • Loading branch information
mazgch authored Aug 21, 2023
1 parent 689439c commit 928926c
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,26 @@ input {

input[type="text"],
input[type="number"] {
border: none;
border: 2px solid black;;
outline: none;
width: 100%;
height: 100%;
box-sizing: border-box;
font-family: inherit;
font-weight: inherit;
font-size: inherit;
color: blue;
background: lightblue;
}

th,
tbody tr:nth-child(even) {
background: #f4f4f4;
}

@keyframes blink_input_opacity_to_prevent_scrolling_when_focus {
0% { opacity: 0; }
100% { opacity: 1; }
}

.input--focused {
animation: blink_input_opacity_to_prevent_scrolling_when_focus 0.01s;
}

0 comments on commit 928926c

Please sign in to comment.