html - Bootstrap material design input field doesn't animate -
i using material design bootstrap 3: http://fezvrasta.github.io/bootstrap-material-design/
so far, have navbar , looks "search" input field doesn't animate when click inside it.
nor give me splash effect when click on dropdown menu.
any idea i'm missing?
<!-- fonts --> <link rel="stylesheet" href="{{ asset('assets/css/font-awesome.min.css') }}"> <!-- styles --> <link rel="stylesheet" href="{{ asset('assets/css/bootstrap.min.css') }}"> <link rel="stylesheet" href="{{ asset('assets/css/bootstrap-material-design.min.css') }}"> <link rel="stylesheet" href="{{ asset('assets/css/ripples.min.css') }}"> <body id="app-layout"> <div class="bs-component"> <div class="navbar navbar-default"> <div class="container-fluid"> <div class="navbar-header"> <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-responsive-collapse"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <a class="navbar-brand" href="{{ route('home') }}">app</a> </div> <div class="navbar-collapse collapse navbar-responsive-collapse"> <ul class="nav navbar-nav"> <li><a href="{{ route('home') }}">home</a></li> <li class="dropdown"> <a href="javascript:void(0)" data-target="#" class="dropdown-toggle" data-toggle="dropdown">dropdown <b class="caret"></b></a> <ul class="dropdown-menu"> <li><a href="javascript:void(0)">action</a></li> <li><a href="javascript:void(0)">another action</a></li> <li><a href="javascript:void(0)">something else here</a></li> <li class="divider"></li> <li class="dropdown-header">dropdown header</li> <li><a href="javascript:void(0)">separated link</a></li> <li><a href="javascript:void(0)">one more separated link</a></li> </ul> </li> </ul> <form class="navbar-form navbar-left"> <div class="form-group"> <input type="text" class="form-control col-md-8" placeholder="search"> </div> </form> <ul class="nav navbar-nav navbar-right"> @if (auth::guest()) <li><a href="{{ url('/login') }}">login</a></li> <li><a href="{{ url('/register') }}">register</a></li> @else <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false"> {{ auth::user()->name }} <span class="caret"></span> </a> <ul class="dropdown-menu" role="menu"> <li><a href="{{ url('/profile/settings') }}"><i class="fa fa-btn fa-cog"></i>settings</a></li> <li><a href="{{ url('/profile/password') }}"><i class="fa fa-btn fa-cog"></i>change password</a></li> <li><a href="{{ url('/logout') }}"><i class="fa fa-btn fa-sign-out"></i>logout</a></li> </ul> </li> @endif </ul> </div> </div> </div> </div> @yield('content') <!-- javascripts --> <script src="{{ asset('assets/js/jquery-2.2.4.min.js') }}"></script> <script src="{{ asset('assets/js/bootstrap.min.js') }}"></script> <script src="{{ asset('assets/js/ripples.min.js') }}"></script> <script src="{{ asset('assets/js/material.min.js') }}"></script>
the ripples css , js missing, why aren't seeing "ripple" animation on click events.
docs: getting started
working example:
$.material.init()
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css" rel="stylesheet" /> <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet" /> <link href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-material-design/0.5.9/css/bootstrap-material-design.min.css" rel="stylesheet" /> <link href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-material-design/0.5.9/css/ripples.min.css" rel="stylesheet" /> <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-material-design/0.5.9/js/material.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-material-design/0.5.9/js/ripples.min.js"></script> <nav class="navbar navbar-default"> <div class="container-fluid"> <div class="navbar-header"> <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-responsive-collapse"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <a class="navbar-brand" href="#">app</a> </div> <div class="navbar-collapse collapse navbar-responsive-collapse"> <ul class="nav navbar-nav"> <li><a href="#">home</a> </li> <li class="dropdown"> <a href="javascript:void(0)" data-target="#" class="dropdown-toggle" data-toggle="dropdown">dropdown <b class="caret"></b></a> <ul class="dropdown-menu"> <li><a href="javascript:void(0)">action</a> </li> <li><a href="javascript:void(0)">another action</a> </li> <li><a href="javascript:void(0)">something else here</a> </li> <li class="divider"></li> <li class="dropdown-header">dropdown header</li> <li><a href="javascript:void(0)">separated link</a> </li> <li><a href="javascript:void(0)">one more separated link</a> </li> </ul> </li> </ul> <form class="navbar-form navbar-left"> <div class="form-group"> <input type="text" class="form-control col-md-8" placeholder="search"> </div> </form> <ul class="nav navbar-nav navbar-right"> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false"> name <span class="caret"></span> </a> <ul class="dropdown-menu" role="menu"> <li><a href="#"><i class="fa fa-btn fa-cog"></i> settings</a> </li> <li><a href="#"><i class="fa fa-btn fa-cog"></i> change password</a> </li> <li><a href="#"><i class="fa fa-btn fa-sign-out"></i> logout</a> </li> </ul> </li> </ul> </div> </div> </nav>