#invisFrame { position: absolute; z-index: -999; width: 0px; height: 0px; } .letters { position: relative; display: block; float: left; width: 12em; height: 6em; margin-top: 0.5em; margin-left: 2em; background: rgba(19, 21, 21, .6); color: rgba(0, 232, 255, .69); /*#00E8FF*/ } .letters:hover { background-color: #f78c00; } .letterImg { width: 6em; height: 6em; } ul { position: fixed; z-index: 999; top: .5em; left: 30%; color: #fff; text-align: left; display: inline; margin: 0; padding: 10px 5px 10px 0; list-style: none; -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.15); box-shadow: 0 0 5px rgba(0, 0, 0, 0.15); } ul li { color: #fff; font: bold 12px/18px sans-serif; display: inline-block; margin-right: -4px; position: relative; padding: 10px 15px; background: #f78c00; cursor: pointer; -webkit-transition: all 0.2s; -moz-transition: all 0.2s; -ms-transition: all 0.2s; -o-transition: all 0.2s; transition: all 0.2s; } ul li:hover { background: #555; color: #f78c00; } ul li ul { padding: 0; position: absolute; top: 38px; left: 0; width: 150px; -webkit-box-shadow: none; display: none; opacity: 0; visibility: hidden; -webkit-transiton: opacity 0.2s; -moz-transition: opacity 0.2s; -ms-transition: opacity 0.2s; -o-transition: opacity 0.2s; -transition: opacity 0.2s; } ul li ul li { background: #555; display: block; color: #fff; text-shadow: 0 -1px 0 #000; } ul li ul li:hover { background-color: #666; } ul li:hover ul { display: block; opacity: 1; visibility: visible; }