Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Angular /Javascript- How can I shrink Sticky header on scroll functionality

 .sticky{
    position: fixed;
    top: -60px;  --------> Change top value to negative
    overflow: hidden;
    z-index: 10;
    transition: 0.90s; 
  }
 
PREVIOUS NEXT
Tagged: #Angular #How #I #shrink #Sticky #header #scroll #functionality
ADD COMMENT
Topic
Name
5+3 =