mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-14 18:42:30 +03:00
Add new interaction utilities and role attr to Reboot (#30562)
- Adds .user-select-* utils from v5 - Adds button role attribute util, one of the top requested features in our issues for adding pointer cursors - Adds new docs page to demonstrate both - Includes Sass list for customizing user select
This commit is contained in:
@@ -298,6 +298,15 @@ These changes, and more, are demonstrated below.
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
### Pointers on buttons
|
||||
|
||||
Reboot includes an enhancement for `role="button"` to change the default cursor to `pointer`. Add this attribute to elements to help indicate elements are interactive. This role isn't necessary for `<button>` elements, which gets it's own `cursor` change.
|
||||
|
||||
{% capture example %}
|
||||
<span role="button">Non-button element button</span>
|
||||
{% endcapture %}
|
||||
{% include example.html content=example %}
|
||||
|
||||
## Misc elements
|
||||
|
||||
### Address
|
||||
|
||||
Reference in New Issue
Block a user