The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › Make image-based div responsive
Hey, i have this photo
http://i.imgur.com/uTo5BBA.png
and i’d like to make a div that adjust to screen size [width and height] with that background. I am new to css and don’t really know how to cut the image and make sprites, and make it work.
bump
Use a combination of max-width, min-width. Its going to be super tricky if you have text inside because of the wrapping nature.
max-width
min-width
Maybe try to recreate with CSS.