![](/img/trans.png)
[英]Trouble in Chapter 8 of Michael Hartl's Rails Tutorial - CSS Expects
[英]CSS not updating in Chapter 10 of Michael Hartl's Rail's tutorial
在本教程的第10章中,我将更改微博的CSS,使其看起来有所不同。 但是它们不会在我的本地服务器上更新。 我尝试重新启动服务器,并重置并重新填充数据库,但还是没有运气。 为什么会这样呢?
自定义CSS文件
/* microposts */
.microposts {
list-style: none;
margin: 10px 0 0 0;
li {
padding: 10px 0;
border-top: 1px solid #e8e8e8;
}
}
.content {
display: block;
}
.timestamp {
color: $grayLight;
}
.gravatar {
float: left;
margin-right: 10px;
}
aside {
textarea {
height: 100px;
margin-bottom: 5px;
}
}
重新启动计算机以某种方式解决了该问题。 感谢大家的投入!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.