Class name Type
modal Component Container element
modal-box Component The content of modal
modal-action Component Container for modal buttons
modal-toggle Component For checkbox that controls modal
modal-button Component For <label> that checks the checkbox to opens/closes modal
compact Utility Makes menu more compact
Examples
modal using URL hash
Preview
HTML
open modal
modal without URL hash (using a hidden checkbox)
Preview
HTML