HTML CSS examples for CSS Layout:Responsive Layout
Setting a LI to 100% height in a responsive framework
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> html, body { height:100%; margin:0; padding:0; } ul {<!--from www. j av a 2 s. co m--> height:100%; } li { height:100%; background-color:Chartreuse; } </style> </head> <body> <ul> <li>L</li> <li>L</li> <li>L</li> <li>L</li> </ul>Lorem ipsum dolor s </body> </html>