Google Material设计无法在asp.net中使用

时间:2016-01-05 13:10:50

标签: c# angularjs twitter-bootstrap-3 material-design

Google Material设计无法在asp.net中运行。     我添加了所有文件和脚本。但仍然没有工作。     我应该添加什么额外的东西,请帮助我。

 css: 
    <link href="css/bootstrap-material-design.min.css" rel="stylesheet" />
        <link href="css/roboto.min.css" rel="stylesheet" />
        <link href="css/roboto.css" rel="stylesheet" />
        <link href="css/ripples.min.css" rel="stylesheet" />
        <link href="css/ripples.css" rel="stylesheet" />
        <link href="css/material.min.css" rel="stylesheet" />
        <link href="css/material.css" rel="stylesheet" />
        <link href="css/material-fullpalette.min.css" rel="stylesheet" />
        <link href="css/material-fullpalette.css" rel="stylesheet" />
        <link href="css/jquery-ui.min.css" rel="stylesheet" />
        <link href="css/bootstrap.min.css" rel="stylesheet"/>
    <div class="navbar navbar-warning">
      <div class="container-fluid">
        <div class="navbar-header">
          <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-warning-collapse">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          <a class="navbar-brand" href="javascript:void(0)">Brand</a>
        </div>
        <div class="navbar-collapse collapse navbar-warning-collapse">
          <ul class="nav navbar-nav">
            <li class="active"><a href="javascript:void(0)">Active</a></li>
            <li><a href="javascript:void(0)">Link</a></li>
            <li class="dropdown">
              <a href="bootstrap-elements.html" 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><a href="javascript:void(0)">Link</a></li>
            <li class="dropdown">
              <a href="bootstrap-elements.html" 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><a href="javascript:void(0)">Separated link</a></li>
              </ul>
            </li>
          </ul>
        </div>
      </div>
    </div>
    script:
      <script src="js/ripples.min.js"></script>
            <script src="js/ripples.js"></script>
            <script src="js/npm.js"></script>
            <script src="js/material.min.js"></script>
            <script src="js/material.js"></script>
            <script src="js/jquery.min.js"></script>
            <script src="js/jquery-ui.min.js"></script>
            <script src="js/bootstrap.min.js"></script>

1 个答案:

答案 0 :(得分:1)

请按照以下顺序:

<script src="js/jquery.min.js"></script>
<script src="js/jquery-ui.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/material.min.js"></script>
<script src="js/ripples.min.js"></script>
<script src="js/npm.js"></script>