* { list-style:none; padding:0; margin:0; text-decoration:none; } .menu { position:relative; background-color:#fafafa; overflow:hidden; } .menu li { position:relative; float:left; width:100px; height:50px; text-align:center; line-height:50px; /*background-color:transparent; */ } .bg { height:100%; background:rgba(236,108,0,1); position:absolute; top:0; left:0; overflow:hidden; height:50px; width:100px; }