Im trying to implement such a header below.
Here is my solution,
ion-content { --background: #817afb; } div.main { height: 100%; background-color: white; border-radius: 20px 20px 0px 0px; overflow: auto; }
<ion-content fullscreen> <div class="main">.... </div> </ion-content>
It is not working well when I try to use ion-refresher and ion-infinite-scroll. Anyone who has a solution suggestion?
ion-content {
--background: #817afb;
}
.main {
enter code here
height: 100%;
width: 100%;
background-color: white;
border-radius: 20px 20px 0px 0px;
overflow: auto;
position: absolute;
top: 40px !important;
}
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.