Skip to content
Support Yumma CSS by starring us on GitHub!

Pointer Events

Controls how an item responds to pointer events.

Class Properties

pe-auto

pointer-events: auto;

pe-none

pointer-events: none;

Auto

This example sets the pointer events to auto. The element can receive pointer events as normal.

We are currently working on this example.

<p class="fw-600 ta-c">We are currently working on this example.</p>

None

This example sets the pointer events to none. The element will not receive any pointer events, making it unclickable.

We are currently working on this example.

<p class="fw-600 ta-c">We are currently working on this example.</p>

Utilizing utilities conditionally

Override existing utilities based on the user's screen size or other factors, such as hover states. Learn more about modifiers in our documentation.

Responsive breakpoints

You can combine responsive breakpoints like sm:pe-*,md:pe-*, lg:pe-*, and xxl:pe-* allows targeting specific utilities in different viewports.

<div class="pe-none md:pe-auto ..."></div>

Utilizing utilities conditionally

Override existing utilities based on the user's screen size or other factors, such as hover states. Learn more about modifiers in our documentation.

Hover states

Alternatively, you can apply :hover by using h:pe-* utility to override elements and change their values when hovering over them.

<div class="pe-none h:pe-auto ..."></div>