兼容解决方案: POSITION:FIXED


.fixed-top
{
bottom
: auto;
position
: fixed;
top
: 0;
}
.fixed-bottom
{
bottom
: 0;
position
: fixed;
top
: auto;
}
.fixed-left
{
left
: 0;
position
: fixed;
right
: auto;
}
.fixed-right
{
left
: auto;
position
: fixed;
right
: 0;
}

相关文章:

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