开发者

How to make borders with images

开发者 https://www.devze.com 2023-01-10 15:23 出处:网络
I have 6 images that makes a box. (for the borders, and corners), How would I put the imag开发者_运维知识库es together and make it dynamic and get biggerwhen I put more content in it?Either use a slid

I have 6 images that makes a box. (for the borders, and corners), How would I put the imag开发者_运维知识库es together and make it dynamic and get bigger when I put more content in it?


Either use a sliding doors approach (also see the follow up article) generalised to four way expansion, or put all your images back into one and investigate the border-image property.

If you want to support IE and older browsers then sliding doors is the way to go, if you're targeting smartphones then border-image will probably be OK.

0

精彩评论

暂无评论...
验证码 换一张
取 消