I am showing a fixed horizontal progress line at the very top of may Web page that is as long as the viewport width. It is displayed when an HTTP request is pending. It is similar to the Indeterminate linear progress indicator of the Mater…