Difference between revisions of "MediaWiki:Common.css"

From PTI Security Systems
Jump to: navigation, search
Line 2: Line 2:
  
 
@-webkit-keyframes fadeIn {
 
@-webkit-keyframes fadeIn {
     from { opacity: 0; height: 0% }
+
     from { height: 0% }
       to { opacity: 1; height: 100% }
+
       to { height: 100% }
 
}
 
}
  
 
@keyframes fadeIn {
 
@keyframes fadeIn {
     from { opacity: 0; height: 0% }
+
     from { height: 0% }
       to { opacity: 1; height: 100% }
+
       to { height: 100% }
 
}
 
}
  
 
.answer {
 
.answer {
 
display: none;
 
display: none;
height: 0%;
 
 
width:750px;
 
width:750px;
 
border: 1px solid;
 
border: 1px solid;

Revision as of 10:45, 4 September 2014

/* CSS placed here will be applied to all skins */

@-webkit-keyframes fadeIn {
    from { height: 0% }
      to { height: 100% }
}

@keyframes fadeIn {
    from { height: 0% }
      to { height: 100% }
}

.answer {
display: none;
width:750px;
border: 1px solid;
border-radius: 10px;
padding: 0px 5px 0px 5px;
margin: 1px;
overflow: hidden;
}

.linkshow:target * .answer {
display: block;
-webkit-animation: fadeIn 2s;
animation: fadeIn 2s;
}

.linkhide:target * .answer {display: none;}