Skip to content

Instantly share code, notes, and snippets.

@ChristopherDosin
Created July 10, 2015 08:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ChristopherDosin/50fdf956d3f88523c5e1 to your computer and use it in GitHub Desktop.
Save ChristopherDosin/50fdf956d3f88523c5e1 to your computer and use it in GitHub Desktop.
.header-main {
// Logo
.logo-main {
.logo--link {
.unitize-height(45, 16); // Anpassen der Höhe, Angabe in px
}
// Smaller logo for mobile viewports
.logo--shop {
.unitize-height(45, 16); // Anpassen der Höhe, Angabe in px
}
}
@media screen and (min-width: @tabletViewportWidth) { // View für Tablets und Desktops
.header-main {
.logo-main {
.logo--link {
.unitize-height(50, 16); // 50 auf eure Höhe anpassen
}
.logo--shop {
.unitize-height(50, 16); // 50 auf eure Höhe anpassen
}
}
}}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment