Bootstrap 5 Pointer Events

Bootstrap 5 provides pointer event utilities to control how elements respond to mouse clicks, taps, or hover interactions.

Class

Description

pe-none

Disables pointer events on the element (pointer-event: none)

pe-auto

Defines the root of an HTML document (pointer-event: auto)

Example
<button class="btn btn-primary pe-none">Disabled Button</button>
<a href="#" class="pe-none">This link is not clickable</a>
<div class="mt-1 pe-none">
<button class="btn btn-success pe-auto">Clickable Button</button>
</div>

Try it yourself


Whereisstuff is simple learing platform for beginer to advance level to improve there skills in technologies.we will provide all material free of cost.you can write a code in runkit workspace and we provide some extrac features also, you agree to have read and accepted our terms of use, cookie and privacy policy.
© Copyright 2024 www.whereisstuff.com. All rights reserved. Developed by whereisstuff Tech.