We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When I use the border width class, the effect go to all the children elements having a border as well.
Here is an exemple :
<div class="container border border-5 border-primary"> <div class="border">Test</div> </div>
The solution I found is to override the border width class directly in each children element's class :
<div class="container border border-5 border-primary"> <div class="border border-1">Test</div> </div>
I expected that the border of the children would not be affected as well. Is that normal ?
None
Windows
Chrome, Firefox
5.3.0-alpha1
The text was updated successfully, but these errors were encountered:
looks to me (5.2.3) that the .border-5 classes are setting --bs-border-width when perhaps they should be setting border-width
.border-5
--bs-border-width
border-width
Sorry, something went wrong.
Yeah this was changed in v5.2.0 with the massive introduction of CSS variables. I can see how this is a problem, so going to open a PR to fix. Thanks!
Successfully merging a pull request may close this issue.
Prerequisites
Describe the issue
When I use the border width class, the effect go to all the children elements having a border as well.
Here is an exemple :
The solution I found is to override the border width class directly in each children element's class :
I expected that the border of the children would not be affected as well. Is that normal ?
Reduced test cases
None
What operating system(s) are you seeing the problem on?
Windows
What browser(s) are you seeing the problem on?
Chrome, Firefox
What version of Bootstrap are you using?
5.3.0-alpha1
The text was updated successfully, but these errors were encountered: