G J*_*rez 24 html css background-color twitter-bootstrap
好吧,我一直在尝试改变bootstrap的颜色,但它不起作用,我已经尝试将图像设置为背景(井)并且它有效,但这不是我需要的.这是我的HTML代码:
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>
Default.aspx
</title>
<script src="Scripts/jquery-1.11.0.js" type="text/javascript"></script>
<link href="Styles/bootstrap.css" rel="stylesheet" type="text/css" />
<link href="Styles/bootstrap-theme.css" rel="stylesheet" type="text/css" />
<link href="Styles/Default.css" rel="stylesheet" type="text/css" />
<script src="Scripts/bootstrap.js" type="text/javascript"></script>
<script src="Scripts/Default.js" type="text/javascript"></script>
</head>
<body>
<div class="well well-lg"><h1 class="">TIDE File Generation</h1></div>
<div id="mainNavigator">
<ul class="nav nav-tabs">
<li><a href="/TideFileGeneration.aspx">Validate file</a></li>
<li><a href="/ImportCatalogs.aspx">Catalogs</a></li>
<li><a href="/InvoiceHistory.aspx">View History</a></li>
<li><a href="/Reports.aspx">Reports</a></li>
</ul>
</div>
</body>
</html>
Run Code Online (Sandbox Code Playgroud)
这是我的CSS代码:
.well{
background-color: rgb(22, 105, 173);
}
Run Code Online (Sandbox Code Playgroud)
在Default.css文件中
谢谢你,问候.
Rav*_*avi 45
Bootstrap 3:
设置背景属性而不是背景颜色.
.well {
background: rgb(22, 105, 173);
}
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
85186 次 |
最近记录: |