Last active
March 2, 2019 01:20
-
-
Save osben/7d3a964eaa223f4d0b01be0598bb1682 to your computer and use it in GitHub Desktop.
Ionic 4 support transparent header OR footer #ionic
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ion-header.transparent, ion-footer.transparent { | |
ion-toolbar { | |
--background: transparent; | |
--ion-color-base: transparent !important; | |
} | |
/* Remove bottom border on md */ | |
&.header-md::after { | |
background-image: none; | |
} | |
/* Remove bottom border on ios */ | |
&.header-ios ion-toolbar:last-child, &.footer-ios ion-toolbar:last-child { | |
--border-width: 0; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment