grabenair Posted June 3, 2012 Report Share Posted June 3, 2012 Can someone please tell me what this css rule does? clip:rect(20px, auto, auto, 20px); I found it in a wordpress theme that I am modifying. Quote Link to comment Share on other sites More sharing options...
newseed Posted June 3, 2012 Report Share Posted June 3, 2012 See clip: rect It's rarely used but for this theme, its more than likely used for users that don't have a clue about sizing images to fit a particular area. Ideal for a fixed width/heigth div for images of different dimensions without skewing them. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.