尽管我的类是正确的,并且JQuery工作正常,但我仍然无法在fadeIN
元素上使用jumbotron
属性。有什么想法吗?
$(document).ready(function() {
$('div.not_displaying').fadeIn(1000).removeClass('not_displaying');
});

div.not_displaying {
display: none;
}

<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<div class="container">
<div style="background:transparent !important" class="jumbotron text-center not_displaying">
<img id="jumbotron_img" src="images/Enriceo.png">
<h3 class="container-fluid" id="presentation"> trial</h3>
</div>
</div>
&#13;