Maybe it's even better this way than with a densely featured layout.
Looks good to me
Yes you are correct and with my demo you couldn't use a gradient to full effect so is not a viable solution but is too contrived anyway.
I had a play around with it and just for fun and came up with something that looks exactly like you wanted (in Firefox not chrome) but is not usable as it removes elements to create the effect.
However it does show what I think you were basically after.
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Untitled Document</title>
<style type="text/css">
.outer {
width:70%;
margin:auto;
list-style:none;
position:relative;
border-spacing:5px;
}
.outer li {
width:25%;
margin:0;
position:relative;
background: #051b00;
background: -webkit-gradient(linear, 0 0, 0 100%, from(#093700), to(#000000));
background: -webkit-linear-gradient(top, #093700, #000000);
background: -moz-linear-gradient(top, #093700, #000000);
background: -ms-linear-gradient(top, #093700, #000000);
background: -o-linear-gradient(top, #093700, #000000);
background: linear-gradient(top, #093700, #000000);
border-radius: 10px;
box-shadow: 0 0 5px black;
display:table-cell;
border-spacing:5px;
color:#fff;
}
.outer li a, .outer li a:visited{color:#fff}
.outer li:nth-of-type(5n) {
display:block;
height:0;
width:0;
overflow:hidden
}
.box {
position:relative;
z-index:2;
padding:10px;
}
.outer li:hover:before { background:red }
@media only screen and (max-width: 920px) {
.outer li { width:33.33% }
.outer li:nth-of-type(5n) {
display:table-cell;
height:auto;
width:auto
}
.outer li:nth-of-type(4n) {
display:block;
height:0;
width:0;
overflow:hidden
}
}
@media only screen and (max-width: 620px) {
.outer li { width:50% }
.outer li:nth-of-type(5n) {
display:table-cell;
height:auto;
width:auto
}
.outer li:nth-of-type(4n) {
display:table-cell;
height:auto;
width:50%
}
.outer li:nth-of-type(3n) {
display:block;
height:0;
width:0;
overflow:hidden
}
}
</style>
</head>
<body>
<ul class="outer">
<li>
<div class="box">1 <a href="#test">test</a></div>
</li>
<li>
<div class="box">2 test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test </div>
</li>
<li>
<div class="box">3 test</div>
</li>
<li>
<div class="box">4 A test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test </div>
</li>
<li>
<div class="box">5 test</div>
</li>
<li>
<div class="box">6 test</div>
</li>
<li>
<div class="box">7 test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test </div>
</li>
<li>
<div id="test" class="box">8 test</div>
</li>
<li>
<div class="box">9 test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test </div>
</li>
<li>
<div class="box">10 test</div>
</li>
<li>
<div class="box">11 test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test </div>
</li>
<li>
<div class="box">12 test</div>
</li>
<li>
<div class="box">13 test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test </div>
</li>
<li>
<div class="box">14 test</div>
</li>
<li>
<div class="box">15 test</div>
</li>
<li>
<div class="box">16 test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test </div>
</li>
<li>
<div class="box">17 test</div>
</li>
<li>
<div class="box">18 test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test </div>
</li>
</ul>
</body>
</html>
The above demo is just for fun and not meant to be used
Bookmarks