Give a Background Color to a Div Element - zilongxuan001/LearnFreecode GitHub Wiki
在<style></style>
设置class
<style>
.silver-background{
background-color:silver;
}
</style>
在HTML里设置
<div class="background-color">
</div>
浏览器显示如下
Basic CSS: Give a Background Color to a div Element | Learn freeCodeCamp
2018-9-29 17:08:43