Line 43: | Line 43: | ||
z-index:+1; | z-index:+1; | ||
} | } | ||
− | + | .ccsticky-nav ul:after { | |
+ | content: ""; clear: both; display: black; | ||
+ | } | ||
.ccsticky-nav ul li { | .ccsticky-nav ul li { | ||
display: inline-block; | display: inline-block; | ||
margin: 0 10px; | margin: 0 10px; | ||
z-index:+1; | z-index:+1; | ||
+ | float: left; | ||
+ | } | ||
+ | .ccsticky-nav ul li:hover { | ||
+ | background: #fff; | ||
+ | } | ||
+ | .ccsticky-nav ul li:hover a { | ||
+ | color: #fff; | ||
} | } | ||
− | |||
.ccsticky-nav ul li a { | .ccsticky-nav ul li a { | ||
padding: 10px 0; | padding: 10px 0; |
Revision as of 04:37, 2 August 2016
You can use the overflow property when you want to have better control of the layout. The overflow property specifies what happens if content overflows an element's box.fnjjskclmksjKcl;dsklcmkdms.,Cmmslakjcdisaidos'odkosp'opxsklkdgdyuisydisuyduosxuodsaud8ioaduiosiyudosudhcudosauyduosaydusocyoidsyaudiofudoshcudshchxjksyudocyiuds