# Documentation v8.0.38

Preview Downloads Purchase

# Overview

Metronic sets custom opacity classes in `src/sass/components/helpers/_opacity.scss`and through a SASS variable `$opacity-values`defined in `src/sass/components/_variables.scss`to provide additional opacity utility classes to cover its own design system.

# Opacity

Use the `.opacity-{ 0, 5, 10, 15 ,20, 25, 50, 75, 100 }`class to set an element's opacity style.
.opacity-0
.opacity-5
.opacity-10
.opacity-15
.opacity-20
.opacity-25
.opacity-50
.opacity-75
.opacity-100

    <div class="opacity-0"></div>
    <div class="opacity-5"></div>
    <div class="opacity-10"></div>
    <div class="opacity-15"></div>
    <div class="opacity-20"></div>
    <div class="opacity-25"></div>
    <div class="opacity-50"></div>
    <div class="opacity-75"></div>
    <div class="opacity-100"></div>

# Opacity Hover Effects

Use `.opacity-{ 0, 5, 10, 15 ,20, 25, 50, 75, 100 }-hover`to display an element's opacity on hover.
.opacity-0-hover
.opacity-5-hover
.opacity-10-hover
.opacity-15-hover
.opacity-20-hover
.opacity-25-hover
.opacity-50-hover
.opacity-75-hover
.opacity-100-hover

    <div class="opacity-0-hover"></div>
    <div class="opacity-5-hover"></div>
    <div class="opacity-10-hover"></div>
    <div class="opacity-15-hover"></div>
    <div class="opacity-20-hover"></div>
    <div class="opacity-25-hover"></div>
    <div class="opacity-50-hover"></div>
    <div class="opacity-75-hover"></div>
    <div class="opacity-100-hover"></div>

# Opacity Active State

Use `.opacity-active-{ 0, 5, 10, 15 ,20, 25, 50, 75, 100 }`to set an element's opacity on active states. Click on the demo below to trigger the active state.

    <div class="opacity-active-0"></div>
    <div class="opacity-active-5"></div>
    <div class="opacity-active-10"></div>
    <div class="opacity-active-15"></div>
    <div class="opacity-active-20"></div>
    <div class="opacity-active-25"></div>
    <div class="opacity-active-50"></div>
    <div class="opacity-active-75"></div>
    <div class="opacity-active-100"></div>

# Opacity Combined Active & Hover State

Use `.opacity-state-{ 0, 5, 10, 15 ,20, 25, 50, 75, 100 }`to set an element's opacity on both active and hover states. Click on the demo below to trigger the active state.

    <div class="opacity-state-0"></div>
    <div class="opacity-state-5"></div>
    <div class="opacity-state-10"></div>
    <div class="opacity-state-15"></div>
    <div class="opacity-state-20"></div>
    <div class="opacity-state-25"></div>
    <div class="opacity-state-50"></div>
    <div class="opacity-state-75"></div>
    <div class="opacity-state-100"></div>

### Explore

### Metronic Licenses

License FAQs
Regular License
For single end product used by you or one client
$ 39
Extended License
For single SaaS app with paying users
$ 969
Custom License
Reach us for custom license offers.
Contact Us
Buy Now

### Metronic Demos

Demo 1
Demo 2
Demo 3
Demo 4
Demo 5
Demo 6
Demo 7
Demo 8
Demo 9
Demo 10
Demo 11
Demo 12
Demo 13
Demo 14
Demo 15
Demo 16
Demo 17
Demo 18
Demo 19
Demo 20
Demo 21
Demo 22
Coming soon
Coming soon

##### Learn & Get Inspired

## Support at devs.keenthemes.com

Join our developers community to find answer to your question and help others. FAQs
Get Support
Documentation & Videos
From guides and video tutorials, to live demos and code examples to get started.
Plugins & Components
Check out our 300+ in-house components and customized 3rd-party plugins.
Layout Builder
Build your layout, preview it and export the HTML for server side integration.
Metronic Downloads
Download your prefered framework and demo with one click.
What's New
Latest features and improvements added with our users feedback in mind.
Buy now