Add border removal functionality for labels #3916
daangnkim
started this conversation in
Ideas / feature requests
Replies: 1 comment 1 reply
-
How about this? <label class="input">
<input type="text" placeholder="domain name" />
<span>.com</span>
</label> |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Reason for Improvement
In cases where Korean won (KRW) input is required, borders may be unnecessary. Below is an example of inputting Korean currency (won).
To remove these borders, we currently have to use
!border-none
as follow.Code Changes
The
!border-none
approach has the drawback of using!important
, which ignores CSS specificity hierarchy and forcibly applies styles.How about adding a
border-none
option as shown below?This provides a cleaner, more maintainable solution compared to using
!important
overrides.Beta Was this translation helpful? Give feedback.
All reactions