Background Image Transitions - Flat WebPage - Sass-Scss

in #utopian-io7 years ago

BackgroundImageTransitions_FlatWebPage.gif


Repository

https://github.com/sass/sass

What Will I Learn?

  • You will learn how to create a website in one page as Flat.
  • You will learn how to use multiple backgrounds and transitions between them .
  • You will learn how to use background-size: cover background-attachment: fixed codes for backgrounds.
  • You will learn how to define multiple info sections and link them on navigation bar.
  • You will learn how to use codes between*{} and apply them to whole page .

Requirements

  • Any text editor. (Brackets, Atom, Notepad++)
  • Basic HTML knowledge
  • Basic SCSS code knowledge
  • SASS installed.
  • Local server (Wampserver)
  • Any browser

Resources

Difficulty

  • Intermediate

Description

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...

BackgroundImageTransitions_FlatWebPage.gif


Video Tutorial


Curriculum


Proof of Work Done

https://github.com/omersurer/Sass-Scss-Tutorials/tree/master/BackgroundImageTransitions_FlatWebPage

Sort:  

Thank you for your contribution @omersurer

Your contribution has been evaluated according to Utopian policies and guidelines, as well as a predefined set of questions pertaining to the category.

To view those questions and the relevant answers related to your post, click here.


Need help? Write a ticket on https://support.utopian.io/.
Chat with us on Discord.
[utopian-moderator]

Hey @omersurer
Thanks for contributing on Utopian.
We’re already looking forward to your next contribution!

Contributing on Utopian
Learn how to contribute on our website or by watching this tutorial on Youtube.

Want to chat? Join us on Discord https://discord.gg/h52nFrV.

Vote for Utopian Witness!

Coin Marketplace

STEEM 0.22
TRX 0.27
JST 0.041
BTC 104664.06
ETH 3858.84
SBD 3.32