开发者

Mask image thats too large for div css

I have a starburst image that needs to stay huge. I have it in a div box. The div box has constrained height and width. Yet the image still goes outside the div. How can I开发者_Python百科 get it to cut off where ever?

You can see full example of what I'm trying to do here

http://jsfiddle.net/Cax9b/


overflow:hidden;

http://jsfiddle.net/Cax9b/1/


Set your div style to overflow: hidden.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜