How do I use CSS to make a div element fade out and not clickable?

View QuestionsCategory: CodeHow do I use CSS to make a div element fade out and not clickable?
Info asked 6 years ago

I want to use css to make a div element fade out and not clickable.

This way I can use jquery to set the class when I am waiting for an ajax response.

1 Answers
Best Answer
admin Staff answered 6 years ago
.overlay {
    backgroud-color: white;
    opacity:0.3;
    filter:alpha(opacity=30);
    pointer-events: none;
}