xxxxxxxxxx
<div class="alert alert-info" role="alert">
A simple info alert—check it out!
</div>
.alert-info {
opacity: 0.5;
}
$('.alert-info').on('click', () => {
$('.alert-info').css('opacity', '1');
});