Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

fixed image position while scrolling

.banner {
      position:fixed;
      width: 100px;
      height: 100px;
      background-color: mediumaquamarine;
      top: 40px;
    }
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #fixed #image #position #scrolling
ADD COMMENT
Topic
Name
2+9 =