-
-
Notifications
You must be signed in to change notification settings - Fork 79k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: .input-group-between #25120
Comments
Combining both |
@Kramb - I had not considered simply applying both classes to the wrapper; that's a great solution within the existing CSS... but do you think it is a little confusing in terms of comprehension? Defining something as both an append and a prepend seems less coherent than offering the clarity of a distinct class. |
Moving to a single class for that is dependent on how complex the selectors get. We might end up with that dual-class situation, but hopefully not :). Will look into it more after v4.0 ships. |
Can we add a example that uses both |
@mdo Now that v4.0 have shipped, have you looked into it? |
Shipped with #31984 it seems! :) |
With Beta 3 bringing
.input-group-append
and.input-group-prepend
it seems like an opportune moment for one additional group structure:-between
. This pattern would ideally be for situations where multiple input fields need to be more visually connected. Such patterns might include:[width][x][height]
[hour][:][minutes] or [mm][/][yyyy]
Currently this pattern can be achieved with existing CSS; with the exception that you get either a double border on the left or right of the input field depending on whether you used
-prepend
or-append
. Adding this additional class would be as simple as:..input-group-append, .input-group-prepend { }
to include the new wrapper.border-radius
as well as the left and rightborder
of.input-group-between .input-group-text { }
I have created an example on CodePen to illustrate the current implementation (using both
.input-group-prepend
and.input-group-append
) which results in the aforementioned double-border, as well as the proposed.input-group-between
.https://codepen.io/rkieru/pen/Mrmagb
The text was updated successfully, but these errors were encountered: