.body-class {
.menu-wrapper {
ul { width: 600px; height:240px; background: red; }
}
}
.c-menu { width: 600px; height:240px; background: red; }
.c-menu__menu-element {
float: left; min-width: 50px; line-height: 240px;
}
.c-menu__menu-element--red { background: red; }
.c-menu { width: 600px; height:240px; background: red;
&__menu-element { float: left; min-width: 50px; line-height: 240px;
&--red { float: left; min-width: 50px; line-height: 240px; background: red; }
}
}
<body class='blue-page'>
.blue-page .menu { … blue stuff here }
.menu-blue { … and then copy all of the old styles here }
<div class="menu blue-menu"/>
.c-menu { width: 600px; height:240px; background: red;
&--blue { background: blue; }
&__menu-element { float: left; min-width: 50px; line-height: 240px;
&--red { background: red; }
}
}
.c-menu {
width: 600px;
height: 240px;
background: red;
}
.c-menu--blue {
background: blue;
}
.c-menu__menu-element {
float: left;
min-width: 50px;
line-height: 240px;
}
.c-menu__menu-element--red {
background: red;
}
.c-menu__menu-element--orange {
background: orange;
}
.c-menu {
width: 600px;
height: 240px;
background: red;
}
.c-menu--blue {
background: blue;
}
.c-menu__menu-element {
float: left;
min-width: 50px;
line-height: 240px;
}
.c-menu__menu-element--red {
background: red;
}
.c-menu__menu-element--orange {
background: orange;
}
.c-menu {
width: 600px;
height: 240px;
background: red;
}
.c-menu--blue {
background: blue;
}
.c-menu__menu-element {
float: left;
min-width: 50px;
line-height: 240px;
}
.c-menu__menu-element--red {
background: red;
}
.c-menu__menu-element--orange {
background: orange;
}