jQuery fadeIn不显示

时间:2018-06-10 05:15:55

标签: jquery html css html5

尽管我的类是正确的,并且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;
&#13;
&#13;

0 个答案:

没有答案