Popovers

Base

Lorem ipsum dolor sit consectetur adipiscing elit.

Position

An variant class can help set the position and the tip accordingly. The best option remains to set it with JS to match the center of the trigger elements, related to the popover position on the screen.

Lorem ipsum dolor sit consectetur adipiscing elit.

.c-popover .c-popover--position-top

Lorem ipsum dolor sit consectetur adipiscing elit.

.c-popover .c-popover--position-left

Lorem ipsum dolor sit consectetur adipiscing elit.

.c-popover .c-popover--position-right

Scripted tip positionning

You can use javascript to position the tip properly. In this case we rely on a child element c-popup__tip to draw the tip instead of the ::before pseudo element. The class c-popover--js-tip-positionning must be added to the popover component.

Lorem ipsum dolor sit consectetur adipiscing elit.

.c-popover c-popover--js-tip-positionning

No tip

Lorem ipsum dolor sit consectetur adipiscing elit.

.c-popover c-popover--no-tip

Custom content

You can remove the default padding and sizing to use utilities in order to create your own layout.

3.5 stars

.c-popover c-popover--custom

Popover examples

Defining an entrance name is part of the Busy Reception pack

A fantastic set of useful features to help you manage your lobby.

You can try this pack during your 14-day trial

New note

Firstname Lastname
EMR
Ellie-May Rollins
Visits
41
Denied visits
5

Last visit: 10/09/2020