Code Monkey home page Code Monkey logo

awesomemenu's Introduction

Module/Library/function/icons used in this project:

Important information of this project:

  • Custom css file path -> /dist/css/menu-style.css
  • Custom js file path -> /dist/js/menu.js
  • Path of jquery -> /dist/js/jquery.min.js
  • Path of font-awesome -> /dist/font-awesome/ [We remove it for huge size.You can download it by below's instruction]
  • Path of icon and image -> /dist/img/

Dowload font-awesome:

  • Download font-awesome's latest librabry https://fontawesome.com/
  • Replace it into /dist as /dist/font-awesome
  • Remove the comment of font-awesome link from index.html
  • Also you can delete the cdnjs linkup from index.html

Why .collapse:

  • we used .collapse in -> /dist/css/menu-style.css if though it doesn't exist in -> /index.html
  • .collapse is exist in -> /dist/js/menu.js
  • We created this class by this script/selector -> $(".wrapper").toggleClass("collapse");

Change the Header Text:

  • Find out class="title" in /index.html
  • Then change the text of class="title-hide" && class="sec-span"

Change the Sidebar icon and username:

  • Find out class="profile" in /index.html
  • Then change

    BlackX-732

How to classify different background source before collapse and after collapse:

If you want to change background source of .main-container after collapse then ad below's code into .collapse .main-container

background: url(new-image.jpg) no-repeat center center;
background-size: cover;
height: 100vh;
  • no-repeat -> for miss-match size of image
  • center -> vertically center
  • center -> horizontally center
  • 100vh -> 100% vertical & 100% horizontal

For little more smoothness add this to previous class

transition: 0.3s;

That's all.Enjoy Our code by your own way.(^_^)

awesomemenu's People

Contributors

blackx-732 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

lazydevsop

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.