I have a logo which i think the designer left a white background at the bottom,so it takes up free white space for nothing.I want to cut it out the unwanted white space from that logo,could i do that with css?Thank you in advance
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes, you could set the image as a background image and simply make the element’s dimensions smaller, effectively cropping the image.
jsFiddle.
However, you really ought to remove the space yourself (why send more bytes around for no reason?) and ask the designer to send better images.