【发布时间】:2014-12-06 00:33:33
【问题描述】:
当我在生产模式下启动 Sails 时,我的 CSS 会出现什么问题?
PS:我使用 Sails v0.10.5、bootstrap v3.2.0 和自定义 css 文件用于自定义 css 内容。
【问题讨论】:
标签: css twitter-bootstrap deployment sails.js production-environment
当我在生产模式下启动 Sails 时,我的 CSS 会出现什么问题?
PS:我使用 Sails v0.10.5、bootstrap v3.2.0 和自定义 css 文件用于自定义 css 内容。
【问题讨论】:
标签: css twitter-bootstrap deployment sails.js production-environment
仅供参考:这可能是我写的一个糟糕的 css 标签。不知道为什么这只是生产模式下的问题。
这里是有问题的标签:
.form-signin {
width: 300px;
padding: : 19px 29px 29px;
margin: 0 auto 20px;
margin-top: 40px;
background-color: @lightGray;
border: 1px solid @green;
-webkit-border-radius: 15px;
-moz-border-radius: 15px;
border-radius: 15px;
h2 {
text-align: center;
margin-top: 0px;
}
}
没有 h2 定义,它就像在开发模式下一样工作。
【讨论】: