首页 > jade使用bootstrap出现问题

jade使用bootstrap出现问题

出现的问题如图
页头部分发生的位移


.row 有margin:-15

涉及代码如下

//layout.jade
doctype
html
    head
        meta(charset="utf-8")
        title #{title}
        include ./includes/head
    body
        include ./includes/header
        block content
//head.jade
link(href="/bootstrap/dist/css/bootstrap.min.css",rel="stylesheet")
script(src="/jquery/dist/jquery.min.js")
script(src="/bootstrap/dist/js/bootstrap.min.js")
//header.jade
.contanter
    .row
        .page-header
            h1 #{title}
                small 爱电影

我不清楚是bootstrap的问题还是jade语法出了错。


http://stackoverflow.com/questions/23153497/bootstrap-row-class-contains-margin-left-and-margin-right-which-creates-problems


你的container拼错了,开始还以为是bootstrap与nodejs不兼容

【热门文章】
【热门文章】