I am interested in creating a full-width Mega menu. Here is the link for reference: http://codepen.io/tanmoy911/pen/KzjVdq
My CSS code follows a 12 column grid system.
.fui-navbar{list-style-type:none;margin:0;padding:0;overflow:hidden}
.fui-navbar li{float:left}.fui-navbar li a{display:block;padding:.5em 1em}.fui-navbar li a:hover{color:#000;background-color:#ccc}
.fui-navbar .fui-dropdown-hover,.fui-navbar .fui-dropdown-click{position:static}
.fui-navbar .fui-dropdown-hover:hover,.fui-navbar .fui-dropdown-hover:first-child,.fui-navbar .fui-dropdown-click:hover{background-color:#ccc;color:#000}
.fui-navbar a{text-decoration:none!important}
.fui-navbar .fui-right{float:right!important}
.fui-navbar a,fui-dropdown-content a
{-webkit-transition:background-color .3s,color .15s,box-shadow .3s,opacity 0.3s;transition:background-color .3s,color .15s,box-shadow .3s,opacity 0.3s}
.fui-dropdown-click,.fui-dropdown-hover{position:relative;display:inline-block;cursor:pointer}
.fui-dropdown-hover:hover .fui-dropdown-content{display:block;z-index:1}
.fui-dropdown-content{cursor:auto;color:#000;background-color:#fff;display:none;position:absolute;min-width:160px;margin:0;padding:0}
.fui-dropdown-content a{padding:6px 16px;display:block}
.fui-dropdown-content a:hover{background-color:#ccc}
.fui-container:after,.fui-row:after,.fui-row-padding:after,.fui-topnav:after,.fui-clear:after,.fui-btn-group:before,.fui-btn-group:after
{content:"";display:table;clear:both}
/*Grid System*/
.fui-col,.fui-half,.fui-third,.fui-twothird,.fui-threequarter,.fui-quarter{float:left;width:100%; padding: 0.375em;}
.fui-col,.fui-half,.fui-third,.fui-twothird,.fui-threequarter,.fui-quarter{float:left;width:100%}
.fui-col.l1{width:8.33333%}
.fui-col.l2{width:16.66666%}
.fui-col.l3,.fui-quarter{width:24.99999%}
.fui-col.l4,.fui-third{width:33.33333%}
.fui-col.l5{width:41.66666%}
.fui-col.l6,.fui-half{width:49.99999%}
.fui-col.l7{width:58.33333%}
.fui-col.l8,.fui-twothird{width:66.66666%}
.fui-col.l9,.fui-threequarter{width:74.99999%}
.fui-col.l10{width:83.33333%}
.fui-col.l11{width:91.66666%}
.fui-col.l12{width:99.99999%}
HTML Snippet:
.fui-navbar{list-style-type:none;margin:0;padding:0;overflow:hidden}
.fui-navbar li{float:left}.fui-navbar li a{display:block;padding:.5em 1em}.fui-navbar li a:hover{color:#000;background-color:#ccc}
.fui-navbar .fui-dropdown-hover,.fui-navbar .fui-dropdown-click{position:static}
.fui-navbar .fui-dropdown-hover:hover,.fui-navbar .fui-dropdown-hover:first-child,.fui-navbar .fui-dropdown-click:hover{background-color:#ccc;color:#000}
.fui-navbar a{text-decoration:none!important}
.fui-navbar .fui-right{float:right!important}
.fui-navbar a,fui-dropdown-content a
{-webkit-transition:background-color .3s,color .15s,box-shadow .3s,opacity 0.3s;transition:background-color .3s,color .15s,box-shadow .3s,opacity 0.3s}
.fui-dropdown-click,.fui-dropdown-hover{position:relative;display:inline-block;cursor:pointer}
.fui-dropdown-hover:hover .fui-dropdown-content{display:block;z-index:1}
.fui-dropdown-content{cursor:auto;color:#000;background-color:#fff;display:none;position:absolute;min-width:160px;margin:0;padding:0}
.fui-dropdown-content a{padding:6px 16px;display:block}
.fui-dropdown-content a:hover{background-color:#ccc}
.fui-container:after,.fui-row:after,.fui-row-padding:after,.fui-topnav:after,.fui-clear:after,.fui-btn-group:before,.fui-btn-group:after
{content:"";display:table;clear:both}
/*Grid System*/
.fui-col,.fui-half,.fui-third,.fui-twothird,.fui-threequarter,.fui-quarter{float:left;width:100%; padding: 0.375em;}
.fui-col,.fui-half,.fui-third,.fui-twothird,.fui-threequarter,.fui-quarter{float:left;width:100%}
.fui-col.l1{width:8.33333%}
.fui-col.l2{width:16.66666%}
.fui-col.l3,.fui-quarter{width:24.99999%}
.fui-col.l4,.fui-third{width:33.33333%}
.fui-col.l5{width:41.66666%}
.fui-col.l6,.fui-half{width:49.99999%}
.fui-col.l7{width:58.33333%}
.fui-col.l8,.fui-twothird{width:66.66666%}
.fui-col.l9,.fui-threequarter{width:74.99999%}
.fui-col.l10{width:83.33333%}
<!-- Menu Markup -->
<ul class="fui-navbar fui-card-2 fui-light-grey">
<li><a href="#">Home</a></li>
<li><a href="#">Link 1</a></li>
<li class="fui-dropdown-hover">
<a href="#">Dropdown</a>
<div class="fui-dropdown-content fui-white fui-card-4">
<a href="#">Link 1</a>
<a href="#">Link 2</a>
<a href="#">Link 3</a>
</div>
</li>
</ul>
I am struggling to make my menu full-width like the one on this site: .
Any suggestions on how to modify my existing code to achieve a full-width menu would be greatly appreciated. Thank you!