GithubHelp home page GithubHelp logo

Comments (3)

sonicwong avatar sonicwong commented on July 4, 2024

(fixed)

.pane.view{
    background-color: #000;
}

body.menu-open .side-menu-open{
    transform: translate3d(280px, 0px, 0px) scale(.9)!important;
    transform-origin: center center;
    -webkit-box-shadow: 1px 2px 11px 4px rgba(0,0,0,0.5);
    box-shadow: 1px 2px 11px 4px rgba(0,0,0,0.5);
}

from ionic-side-menu-transform-3d.

Gokul299210 avatar Gokul299210 commented on July 4, 2024

body.menu-open ion-side-menus, body.menu-open ion-side-menu{
background: #000000;
}

This is working perfectly. But when i close the menu white background is appeared for a second.

from ionic-side-menu-transform-3d.

sonicwong avatar sonicwong commented on July 4, 2024

@Gokul299210 use this one (remove "body.menu-open")
.pane.view { background-color: #000; }

You can add this to slow down the animation to check if it work correctly:
.menu-animated { -webkit-transition-duration: 3000ms; -moz-transition-duration: 3000ms; transition-duration: 3000ms; }

from ionic-side-menu-transform-3d.

Related Issues (1)

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.