问题相关代码,请勿粘贴截图
.move{
margin-top:25px; width:500px; height:auto; position:absolute;
top:220px;
left:425px;
float: left;
position: fixed;
}
img{
position:absolute;
left:400px;
top:100px;
}
<div class="helmet1">
<img src="../static/images/helmet1.png" width="120" height="120" />
</div>
<div class="move">
<a href = "javascript:void(0)" onclick = "document.getElementById('light').style.display='block';document.getElementById('fade').style.display='block'">
<button class="btn btn-default" type="submit">设备ID</button>
</a>
</div>
我想要达到的结果