Top Border Image in CSS3

后端 未结 5 1664
终归单人心
终归单人心 2021-01-01 19:34

I\'ve used border, border-top-image, border-image and none seem to do what I am after.

I have the following CSS:



        
5条回答
  •  醉话见心
    2021-01-01 20:24

    The border image is specified as a URI, for two different groups: The URI of upto three images may be specified for each of the four border edges. If one image URI is given, the first tile is centered on the border line. If two image URIs are given, they meet at the center of the border line with the first image placed on the top or left side of the center. If three image URIs are given, the second becomes the center and does not tile. The other two are placed on either side of the center image, with the first going on the top or left side of the center and the third going on the bottom or right.

    For more refer w3.org

提交回复
热议问题