css transition not working on dialog box -


I am trying to understand why this code is not being brought in in a dialog box and why the business is not in it.

What am I trying to do, fade in and out on the click. But I am just trying to / in these feeds with CSS as well. When I manually work the "active" class in the console with effect, but when I actually click on the link (to open the dialog box).

This is my code

This is my code

> CSS:

  Model. {Display: Block; Overflow: Auto; Overflow-y: scroll up; Status: fixed; Top: 0; Correct: 0; Bottom: 0; Left: 0; Z-index: 99; -Widk-overflow-scrolling: touch; Profile: 0; Background-image: url ('pixel.png'); Opacity: 1; } .model-dialog {max-width: 600px; Background color: white; Z-index: 99; Minimum height: 200px; Opacity: 0; Webkit-Infection: All 0.5S Easy; -Mozy-infected: all 0.5S easy; -O-Infection: All 0.5 S Easy; Transition: All 0.5s ease; }. Model-Dialog Active {Opacity: 1; Background color: #ffffff; Border: 1px solid # 999; -Vibit-background-clip: padding-box; -mose-background-clip: padding-box; Background-clip: padding-box; Webkit-Infection: All 0.5S Easy; -Mozy-infected: all 0.5S easy; -O-Infection: All 0.5 S Easy; Transition: All 0.5s ease; }  

My JS (just in case):

  $ ('body'). ('' Click ',' [data-mode] 'adexas (' model-open '); $ (' body '). Append ("
<($ (' Modal ') .andend ("

The numeric value is required to set the transition between the 2 rule statement. You should use: Opacity instead of display:

  
Click
$ ('a.click-me') (function () {$ ('#Open') .P> and CSS:

  Display: None ;  

  Opacity: 0;  

Comments

Popular posts from this blog

Pass DB Connection parameters to a Kettle a.k.a PDI table Input step dynamically from Excel -

multithreading - PhantomJS-Node in a for Loop -

c++ - MATLAB .m file to .mex file using Matlab Compiler -