単純に終了タグの付け方の問題らしい.
index.html
<!-- ダメな例 -->
<section id="empty"/>
<!-- 良い例 -->
<section id="empty"></section>
style.css
section#empty {
width: 100%;
height: 50px;
}
More than 5 years have passed since last update.
単純に終了タグの付け方の問題らしい.
<!-- ダメな例 -->
<section id="empty"/>
<!-- 良い例 -->
<section id="empty"></section>
section#empty {
width: 100%;
height: 50px;
}
Register as a new user and use Qiita more conveniently