Utility classes which can be used to set the
visibility of elements.
The utility classes available for setting the
.visible (makes visible) and
.invisible (hides). The classes are shown in action in the example below. Invisible elements will still take up space in the DOM. If you want an element to not take up space, the
display: none property must be set instead.
<!-- Visible --> <div class="visible"> This is visible </div> <!-- Invisible --> <div class="invisible"> This is invisible </div>
AccessibilityPlease note, elements with the
.invisibleclass will be hidden both visually and for assistive technology/screen reader users.
Help us grow
Our main goal is to make Halfmoon the go-to framework for building websites, dashboards and tools. If you believe in our mission, consider becoming a sponsor and help us grow.
You can email us directly if you have any queries. We are always happy to answer.
Subscribe for updates
We will notify you when the framework gets a substantial update. No spam ever.
Follow us on Twitter so that you can stay updated that way.