CSS:marker-offset的使用方法詳解

來源:互聯網
上載者:User
CSS屬性:marker-offset

  In:Web Design by Ailin marker-offset

  版本:CSS2 相容性:無 繼承性:有

  marker-offset後面可以是auto 或者 length

  其中

  auto :  瀏覽器自動化佈建間距

  length :  由浮點數字和單位標識符組成的長度值。可為負值。請參閱長度單位

  marker-offset說明:

  設定或檢索標記容器和主容器之間水平補白。即兩個容器靠近的一邊的間距。

  目前IE5.5尚不支援此屬性。

  對應的指令碼特性為markerOffset。請參閱我編寫的其他書目。

  marker-offset程式碼範例:

  li:before { display: marker; marker-offset: 5px; }

文法:

marker-offset : auto | length

參數:

auto :  瀏覽器自動化佈建間距
length :  由浮點數字和單位標識符組成的長度值。可為負值。請參閱長度單位

說明:

設定或檢索標記容器和主容器之間水平補白。即兩個容器靠近的一邊的間距。
目前IE5.5尚不支援此屬性。
對應的指令碼特性為markerOffset。請參閱我編寫的其他書目。

樣本:

li:before { display: marker; marker-offset: 5px; }
相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.