link change color on scrolling
问题 I am trying to find out how a link will change color when a user scroll a page. An example is on this page. On the right are links beneath in this rticle . In my example I would like the titlex to change colors, depending on what the user see/scroll. page.html : <!DOCTYPE html> <html> <head> <title>page</title> <style type="text/css"> <!-- body.container { width: 100%; } .maintext { min-height: 1080px; width: calc(100% - 210px); float: right; background: #FFFCB5; } iframe.side1, iframe.side2