footer 样式 small 疑问
页脚代码并没有small元素,为什么会在样式优化中对small元素优化。
页脚代码如下:
<footer class="footer">
<img class="brand-icon" src="https://cdn.learnku.com/uploads/sites/KDiyAbV0hj1ytHpRTOlVpucbLebonxeX.png">
<a href="https://learnku.com/laravel/courses" target=_blank>
刻意练习,每日精进
</a>
<div class="float-right">
<a href="/about" >关于</a>
</div>
</footer>
样式:
footer {
margin-top: 45px;
padding-top: 5px;
border-top: 1px solid #eaeaea;
color: #777;
font-size: 13px;
font-weight: bold;
a {
color: #555;
}
a:hover {
color: #222;
}
small {
float: left;
}
img.brand-icon {
width: 17px;
height: 17px;
}
}
推荐文章: