background-size: cover background-attachment: fixed codes for backgrounds.*{} and apply them to whole page .In this tutorial we will create a website with navigation bar and multiple backgrounds with transition on scroll. We will also define text areas like multiple pages and navigation-bar will be linked there. We will also create hover effects on buttons. If you follow this tutorial download all files from my github page and change the values. You can use comment mark(/*between these marks*/) to deactivate codes and test it. With this way it will be more useful for you and you can test and understand the codes better.
1- Before you start be sure that you run our sass code in the directory of site files. Our command is sass --watch sass:css. It will translate all codes that you write in scss file to css file. After that, write a basic html file on root directory and into body section define a navigation bar and some divisions with image and page classes for your multiple information sections.
2- We are starting with common rules for whole page and also defining a navigation bar for our web-page. Finally we are giving and effect with hover for buttons.
3- With .image and .page classes we are writing a common rule for all image and page sections. After that we are styling them separately.
4- Our header and text is styling in this part and we create a button from span with hover effect.
5- Our different page sections for our information needs to be styled so we are positioning and styling it here.
6- And finally our end work...
https://github.com/omersurer/Sass-Scss-Tutorials/tree/master/BackgroundImageTransitions_FlatWebPage