HTML & CSS
I have a <div> tag and the CSS properties are below,
So how to make this responsive?
Thank you very much in advanced.
I think I solved the problem.
No, the right answer is:
A div is display: block by default so will be 100% wide.
If you don't set a height then it will be the height of it's contents.
You need no styles at all to make a div responsive
This topic is now closed. New replies are no longer allowed.