Animated Left Menu Design with Sass-Scss

in #utopian-io6 years ago

AnimatedLeftMenuDesign.gif


Repository

https://github.com/sass/sass

What Will I Learn?

  • You will learn how to disappear elements with negative margin.
  • You will learn how to create vertical navigation bar .
  • You will learn how to use id function on styles.
  • You will learn how to use font-awesome icons.
  • You will learn how to appear elements on hover.

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 vertical menu on lifet side with hover effects. When the box is selected it will slide to right and appear. We will also create shadow effects on icons. 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.


2- We are starting with our background and fixing image to the page. After that we style out header text and define some shadow and border line to bottom.


3- Here we are defining a size and positioning it to center of the page on the left side. And also with minus left spacing it is going to take a position out side of the page. We define also a general style to all ul tags.


4- Our list is here a block and each of them will have some height and padding. With transform we define a delay if we write our hover. Our hover effect will bring these all with 165px to the right.


5- Here we are giving a background color to each tab of our menu.


**6- As last step we define more styles for our icons and menu texts also positioning them.


7- And finally our end work...

AnimatedLeftMenuDesign.gif


Video Tutorial


Curriculum


Proof of Work Done

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

Sort:  

The content of your post is very interesting, I really admire it ..
And I always support your success

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.28
TRX 0.12
JST 0.032
BTC 61195.86
ETH 3009.46
USDT 1.00
SBD 3.80