前端一道笔试题目
<div style="width: 300px;height: 400px;"> <span style="float: left;width: auto;height: 100%;background-color: red" id="test"> <i style="position: absolute;float: left;width: 200px;height: 100px;"></i> </span> </div>
上面span的宽度和高度分别是多少?
有没有人可以讲解一下?
查看2道真题和解析
