Skip to content

Instantly share code, notes, and snippets.

@hirejohnsalcedo
Last active July 25, 2017 20:06
Show Gist options
  • Save hirejohnsalcedo/d16d8ec1365a2eef8bd41d3e0fc446b2 to your computer and use it in GitHub Desktop.
Save hirejohnsalcedo/d16d8ec1365a2eef8bd41d3e0fc446b2 to your computer and use it in GitHub Desktop.
.buttonMenu {
padding: 15px;
background-color: inherit;
border: none; }
.buttonMenu .buttonMenuIcon {
display: flex;
justify-content: space-around;
flex-direction: column;
position: relative;
border: 2px solid #FFF;
width: 30px;
height: 30px;
border-radius: 5px;
padding: 5px; }
.buttonMenu .buttonMenuIcon span {
width: 100%; }
.buttonMenu .buttonMenuIcon span::after {
content: '';
display: block;
position: absolute;
left: 50%;
transform: translate(-50%, 0);
width: 15px;
border-bottom: 2px solid #FFF; }
@media screen and (min-width: 480px) {
height: 60px;
.buttonMenu {
display: none; } }
.buttonMenu {
padding: $header-height-small/4;
background-color: inherit;
border: none;
.buttonMenuIcon {
display: flex;
justify-content: space-around;
flex-direction: column;
position: relative;
border: 2px solid $color;
width: $header-height-small/2;
height: $header-height-small/2;
border-radius: 5px;
padding: 5px;
span {
&::after {
content: '';
display: block;
position: absolute;
left: 50%;
transform: translate(-50%, 0);
width: $header-height-small/4;
border-bottom: 2px solid $color;
}
width: 100%;
}
}
}
@media screen and (min-width: 480px) {
height: 60px;
.buttonMenu {
display: none;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment