• Howdy! Welcome to our community of more than 130.000 members devoted to web hosting. This is a great place to get special offers from web hosts and post your own requests or ads. To start posting sign up here. Cheers! /Peo, FreeWebSpace.net
managed wordpress hosting

How to resize the image in order to fit the parent div

Brent Clark

New Member
Hi. I want to ask about resize image. I use image by before pseudo
h2::before {
content: url("image.png")
}
But the image is bigger than its parent div tag. And if i use the
overflow:auto;
then a scrollbar appears
I tried resize image by using width and height but nothing happens.
 
Back
Top