Code Monkey home page Code Monkey logo

aqsakazi.github.io's Introduction

aqsakazi.github.io's People

Contributors

aadi1011 avatar aqsakazi avatar

Watchers

 avatar

Forkers

aadi1011

aqsakazi.github.io's Issues

Toggle for nav bar <help>

Nav Bar Opacity

I am trying to add opacity to the nav bar at top so body content is not visible behind it.

How to activate the CSS toggle for nav. There does not seem to be a nav.active

Temporary fix found:
This temporary fix is not relative to the toggle theme.
Adding a background: #eaeaea; to the nav to style.css
for light mode and background: #2b2b2b; for dark mode gives a temporary fix.

nav{
display: flex;
justify-content: space-around;
align-items: center;
box-shadow: 5px 10px 30px rgba(0,0,0,0.02);
position: fixed;
left: 0;
top: 0;
width:100%;
z-index: 1;
}

Please help me understand how to activate a nav.active for this fix.

I figured out the snippet from the index.html file that would lead to this

toggle.onclick = function() {
toggle.classList.toggle('active')
body.classList.toggle('active')
bio.classList.toggle('active')

But I am unable to figure how to lead on to modify this further.

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.