Day 228
Refining the menu...
#CodingPhase #TheCodingWay #365CodingPhaseChallenge
**********
header .navigation .menu {
position: absolute;
/* top: 0; */
top: 40px;
right: 0;
}
header .navigation .menu li {
float: left;
margin: 0.2rem;
}
header .navigation .menu li a {
display: block;
text-align: center;
width: 8rem;
padding: 0.4rem 0;
transition: all .3s ease-in-out;
border: 1px solid rgb(25, 25, 25);
border-radius: 5px;
background: #424242; /* Old browsers */
background: -moz-linear-gradient(top, #424242 0%, #000000 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top, #424242 0%,#000000 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom, #424242 0%,#000000 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
color: rgb(190, 181, 181);
}
header .navigation .menu li a .fas {
font-size: .75rem;
margin-left: .5rem;
}
header .navigation .menu li a:hover {
background: #777777; /* Old browsers */
background: -moz-radial-gradient(center, ellipse cover, #777777 0%, #000000 100%); /* FF3.6-15 */
background: -webkit-radial-gradient(center, ellipse cover, #777777 0%,#000000 100%); /* Chrome10-25,Safari5.1-6 */
background: radial-gradient(ellipse at center, #777777 0%,#000000 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}
header .navigation .menu #three .sub-menu {
display: none;
position: absolute;
top: 33px;
left: 134px;
}
header .navigation .menu #three:hover .sub-menu {
display: block;
z-index: 2;
}
header .navigation .menu #three .sub-menu li {
display: inline-block;
margin: 0.2rem;
}
header .navigation .menu #three .sub-menu li a {
display: block;
margin-top: 5px;
text-align: center;
width: 8rem;
padding: 0.4rem 0;
border: 1px solid rgb(25, 25, 25);
border-radius: 5px;
background: #424242; /* Old browsers */
background: -moz-linear-gradient(top, #424242 0%, #000000 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top, #424242 0%,#000000 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom, #424242 0%,#000000 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
color: rgb(190, 181, 181);
}
header .navigation .menu #three .sub-menu li a:hover {
background: #777777; /* Old browsers */
background: -moz-radial-gradient(center, ellipse cover, #777777 0%, #000000 100%); /* FF3.6-15 */
background: -webkit-radial-gradient(center, ellipse cover, #777777 0%,#000000 100%); /* Chrome10-25,Safari5.1-6 */
background: radial-gradient(ellipse at center, #777777 0%,#000000 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}
#CodingPhase #TheCodingWay #365CodingPhaseChallenge
**********
header .navigation .menu {
position: absolute;
/* top: 0; */
top: 40px;
right: 0;
}
header .navigation .menu li {
float: left;
margin: 0.2rem;
}
header .navigation .menu li a {
display: block;
text-align: center;
width: 8rem;
padding: 0.4rem 0;
transition: all .3s ease-in-out;
border: 1px solid rgb(25, 25, 25);
border-radius: 5px;
background: #424242; /* Old browsers */
background: -moz-linear-gradient(top, #424242 0%, #000000 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top, #424242 0%,#000000 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom, #424242 0%,#000000 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
color: rgb(190, 181, 181);
}
header .navigation .menu li a .fas {
font-size: .75rem;
margin-left: .5rem;
}
header .navigation .menu li a:hover {
background: #777777; /* Old browsers */
background: -moz-radial-gradient(center, ellipse cover, #777777 0%, #000000 100%); /* FF3.6-15 */
background: -webkit-radial-gradient(center, ellipse cover, #777777 0%,#000000 100%); /* Chrome10-25,Safari5.1-6 */
background: radial-gradient(ellipse at center, #777777 0%,#000000 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}
header .navigation .menu #three .sub-menu {
display: none;
position: absolute;
top: 33px;
left: 134px;
}
header .navigation .menu #three:hover .sub-menu {
display: block;
z-index: 2;
}
header .navigation .menu #three .sub-menu li {
display: inline-block;
margin: 0.2rem;
}
header .navigation .menu #three .sub-menu li a {
display: block;
margin-top: 5px;
text-align: center;
width: 8rem;
padding: 0.4rem 0;
border: 1px solid rgb(25, 25, 25);
border-radius: 5px;
background: #424242; /* Old browsers */
background: -moz-linear-gradient(top, #424242 0%, #000000 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top, #424242 0%,#000000 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom, #424242 0%,#000000 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
color: rgb(190, 181, 181);
}
header .navigation .menu #three .sub-menu li a:hover {
background: #777777; /* Old browsers */
background: -moz-radial-gradient(center, ellipse cover, #777777 0%, #000000 100%); /* FF3.6-15 */
background: -webkit-radial-gradient(center, ellipse cover, #777777 0%,#000000 100%); /* Chrome10-25,Safari5.1-6 */
background: radial-gradient(ellipse at center, #777777 0%,#000000 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}
Comments
Post a Comment