Bootstrap design varies between cdn and local download
I created a login page using bootstrap with this url:
http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css
the design was good. late on i decide to download the same css file and integrated to my app.. the design all varies.
what would be the problem? what i missing to download?
My offline has the folders as : font,css,js
here is the comparison images:
!
my offline : link(rel='stylesheet', href='/stylesheet/bootstrap-theme.min.css') link(rel='stylesheet', href='/stylesheet/bootstrap.css') link(rel='stylesheet', href='/stylesheets/style.css')
but no luck!
尽管如果您下载了自定义版本的Bootstrap,但通过您的图像的外观,这很明显,您使用除Bootstrap之外的其他CSS文件,请确保也包含它,并在Bootstrap之后加载它,以覆盖任何所需的声明
我很抱歉,每一个..我的样式表路径中有一个错字:(不是样式表它是样式表)
link(rel='stylesheet', href='/stylesheet/bootstrap.css')
link(rel='stylesheet', href='/stylesheets/style.css')
链接地址: http://www.djcxy.com/p/75984.html
上一篇: 如何包含文件或链接?