顺序是:top right bottom left; 是按顺时针方向的~~

  如果只写了三个,例如:margin:1px 2px 3px;,则left被缺省,其值等于right。

  另外还有一种:padding: 1px 2px; 只有两个值,表示top和bottom是1px,right和left为2px。

相关文章:

  • 2021-06-08
  • 2022-01-30
  • 2021-07-27
  • 2021-06-18
  • 2021-05-16
  • 2021-05-13
  • 2022-02-19
猜你喜欢
  • 2022-01-13
  • 2021-12-20
  • 2022-12-23
  • 2021-10-28
  • 2022-12-23
  • 2022-12-23
  • 2022-02-08
相关资源
相似解决方案