.header__image img {
max-width: 100%;
height: auto;
transition: all 0.5s ease;
}
.scrolling .header__image img {
max-width: 30%;
height: auto;
}CSS2 responses to “Shrinking logo for sticky header”
-
Not working.
Instead of using this class: .header__image img i used this .brxe-logo img
This works for me.Kind regards René
-
Thanks. This depends on what styles you have assigned, but the concept is the same. Glad you were able to make it work.
-
Leave a Reply