Bootstrap不渲染暗背景到文本

时间:2014-05-21 17:16:55

标签: twitter-bootstrap

我是使用Bootstrap的新手,并尝试了一些似乎没有渲染的基本功能。我试图创建具有深色和深色背景的文本并且文本呈现,但是它没有深色背景。才不是               

<title>Bootstrap Layouts</title>

<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css">

<!-- Optional theme -->
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap-    theme.min.css">



</head>
 <body>
<div class="container"> 
    <div class="row">
        <h1>Hello World</h1>
    <div class="darkBG clm-sm-6">Test</div>
    <div class="darkerBG clm-sm-6">Test</div>
</div>
</div>


<!-- Latest compiled and minified JavaScript -->
<script src="http://code.jquery.com/jquery-1.11.0.min.js">
</script>
<script src="js/bootstrap.js"></script>enter code here

        

1 个答案:

答案 0 :(得分:0)

<div class="darkBG clm-sm-6>应更改为<div class="darkBG col-sm-6>

相关问题