Skip to content

Commit

Permalink
Add more reset style
Browse files Browse the repository at this point in the history
  • Loading branch information
hjr265 committed Feb 17, 2024
1 parent 99b3e76 commit 91ff87c
Showing 1 changed file with 28 additions and 1 deletion.
29 changes: 28 additions & 1 deletion src/reset.styl
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,33 @@ table
th
text-align left

input, button, select, textarea
font-family inherit
font-size inherit
line-height inherit

input
&[disabled]
cursor default

&[type=number]::-webkit-inner-spin-button,
&[type=number]::-webkit-outer-spin-button
height auto

&[type=search]
-webkit-box-sizing border-box
-moz-box-sizing border-box
box-sizing border-box

&[type=file]
display block

select
text-transform none

&[multiple]
height auto

::placeholder
color lighten(#2f353b, 25%)
opacity 1
Expand All @@ -57,7 +84,7 @@ label
font-weight normal

.hidden
display none
display none !important

.dotted
border-bottom 1px dotted $dark
Expand Down

0 comments on commit 91ff87c

Please sign in to comment.