Answers for "sticky mat-toolbar"

CSS
1

sticky mat-toolbar

.app-toolbar {
    position: sticky;
    position: -webkit-sticky; /* For macOS/iOS Safari */
    top: 0; /* Sets the sticky toolbar to be on top */
    z-index: 1000; /* Ensure that your app's content doesn't overlap the toolbar */
}
Posted by: Guest on April-16-2020

Browse Popular Code Answers by Language