CSS 揭秘 摘抄

透明边框

需要配合使用 background-clip ,描述如下:

value description
border-box The background extends to the outside edge of the border (but underneath the border in z-ordering).
padding-box No background is drawn below the border (background extends to the outside edge of the padding).
content-box The background is painted within (clipped to) the content box.
text The background is painted within (clipped to) the foreground text.
继续阅读
  • page 1 of 1

凤鸣 (NikSun)

一名还在历练中的全栈工程师


程序员


北京