Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| web:bootstrap:bootstrap5 [2023-10-28 21:36] – [What's New] admin | web:bootstrap:bootstrap5 [2023-10-28 21:42] (current) – [Other useful things to know] admin |
|---|
| * Use ''.user-select-all'' to have a whole element (e.g. paragraph) selected when clicked | * Use ''.user-select-all'' to have a whole element (e.g. paragraph) selected when clicked |
| * ''.lh-*'' for line-height (''.lh-1'', ''.lh-sm'', ''.lh-base'', ''.lh-lg'') | * ''.lh-*'' for line-height (''.lh-1'', ''.lh-sm'', ''.lh-base'', ''.lh-lg'') |
| * Use ''%%<kbd>%%'' to show keystrokes | |
| * Use ''<abbr title="...">'' to show abbreviations | |
| * Use ''fixed-top'' or ''fixed-bottom'' to fix an element to the top or bottom | |
| == Other useful things to know == | == Other useful things to know == |
| * ''role="button"'' to change cursor into pointer for an element (not needed for ''<button>'') | * ''role="button"'' to change cursor into pointer for an element (not needed for ''<button>'') |
| * '' .rounded-circle'' and ''.rounded-pill'' to create a circle or pill border | * '' .rounded-circle'' and ''.rounded-pill'' to create a circle or pill border |
| * ''.text-reset'' to inherit color from parent (e.g. with links) | * ''.text-reset'' to inherit color from parent (e.g. with links) |
| | * Use ''%%<kbd>%%'' to show keystrokes |
| | * Use ''<abbr title="...">'' to show abbreviations |
| | * Use ''fixed-top'' or ''fixed-bottom'' to fix an element to the top or bottom |
| | * Use ''text-truncate'' to truncate long text |
| | * Use ''<div class="vr"></div>'' to create a vertical rule |
| | |