1.其不起作用原因

1、父标签 position属性为relative;

2、问题标签无position属性(不包括static);

3、问题标签含有浮动(float)属性。

 

2.w3c一个挺有用的标签

<form>
<fieldset>
<legend>健康信息</legend>
身高:<input type="text" />
体重:<input type="text" />
</fieldset>
</form>

效果:

z-index坑

 

相关文章:

  • 2021-07-14
  • 2021-10-06
  • 2022-01-23
  • 2021-09-12
  • 2021-11-09
猜你喜欢
  • 2021-12-30
  • 2021-11-09
  • 2022-03-05
相关资源
相似解决方案