bootstrap
bootstrap copied to clipboard
Docs: Handle border-radii and border in an easier way
Description
Refactoring of the examples to have a more consistent UX. Fixes some small issues and particularly the border-radius issues.
Motivation & Context
Ease the CSS associated to .bd-code-snippet
and make the docs more consistent.
It's the first part of #38933 and #39274.
Type of changes
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [x] Refactoring (non-breaking change)
- [ ] Breaking change (fix or feature that would change existing functionality)
Checklist
- [x] I have read the contributing guidelines
- [x] My code follows the code style of the project (using
npm run lint
) - [x] My change introduces changes to the documentation
- [x] I have updated the documentation accordingly
- [x] I have added tests to cover my changes
- [x] All new and existing tests passed
Live previews
Related issues
Will help on #38933 and #39274.