Horje
how to make a div responsive in css Code Example
how to make a div responsive in css
Use %.
% takes the x% space of the parent element.
example:
This div will have the same width as the body, which is usually the whole page.
<style>
	div{
  	width:100%;
  	}
</style>
<body>
	<div></div>
</body>




Html

Related
react native text max rows Code Example react native text max rows Code Example
ps -aux | grep pid | kill Code Example ps -aux | grep pid | kill Code Example
dark mode favicon Code Example dark mode favicon Code Example
tailwind min height 100vh Code Example tailwind min height 100vh Code Example
html unordered list Code Example html unordered list Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
8