Parameters

Just add some keywords on DPiCSS attribute to fine-tune your experience

Olivier 3lanc

Table of content
  1. Play button
  2. Play button on hover
  3. Pause button
  4. Box shadow
  5. Button shadow parameter
  6. Invert parameter
data-dpicss attribute contains Description
play Displays "play" button on thumbnail
play_hover Displays a "Play" button on thumbnail only when user hovers the summary
pause Displays a "Pause" button on large sized image only when user hovers the summary
box_shadow Displays a box shadow of the entire details element
button_shadow Displays a shadow around play and pause buttons
invert Swaps foreground and background colors

Play button

Adding play on the data-dpicss attribute displays a "Play" button on thumbnail.

Play button on hover

Adding play_hover on the data-dpicss attribute displays a "Play" button on thumbnail only when user hovers the summary. For ergonomics reasons, this feature is only for desktop, play button always displays on touch devices.

Pause button

Adding pause on the data-dpicss attribute displays a "Pause" button on hover when playing large image. For ergonomics reasons, this feature is only for desktop, pause button is always hidden on touch devices.

Box shadow

Adding box_shadow on the data-dpicss attribute displays a box shadow of the entire details element.

Button shadow parameter

Adding button_shadow on the data-dpicss attribute displays a shadow around play and pause buttons. Note that at least one parameter like play, play_hover or pause must be set to make this feature visible.

Invert parameter

Adding invert on the data-dpicss attribute swaps/inverts foreground and background colors.