grabenair Posted June 3, 2012 Report 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.
newseed Posted June 3, 2012 Report 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.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now