Welcome to the DFO World Wiki. With many major updates since the release of DFO, many items are missing. Visit Item Database Project to learn more.
Please remember to click "show preview" before saving the page.
Thanks for the updated logo snafuPop!

Difference between revisions of "User:No.5972/common.css"

From DFO World Wiki
Jump to: navigation, search
Line 64: Line 64:
  
 
.marquee div {
 
.marquee div {
  display: block;
 
 
   width: 200%;
 
   width: 200%;
 
   height: 30px;
 
   height: 30px;

Revision as of 10:52, 26 January 2016

.csstest1 {
    font-size:22px;
}

.mask
{
width:2000px;
height:2000px;
background:#ffffff;
position:absolute;
transform:translateX(2000px);
visibility:hidden;
animation:welcome 7s;
-moz-animation:welcome 7s; /* Firefox */
-webkit-animation:welcome 7s; /* Safari and Chrome */
-o-animation:welcome 7s; /* Opera */
}

@keyframes welcome
{
from {transform:translateX(0px);visibility:visible;}
to {transform:translateX(2000px);visibility:visible;}
}

@-webkit-keyframes welcome
{
from {transform:translateX(0px);visibility:visible;}
to {transform:translateX(2000px);visibility:visible;}
}

@-ms-keyframes welcome
{
from {transform:translateX(0px);visibility:visible;}
to {transform:translateX(2000px);visibility:visible;}
}

@-webkit-keyframes marquee {
  0%{left:100%}
  100%{left: -150%}
}
@-moz-keyframes marquee {
  0%{left:100%}
  100%{left: -150%}
}
@-ms-keyframes marquee {
  0%{left:100%}
  100%{left: -150%}
}
@-o-keyframes marquee {
  0%{left:100%}
  100%{left: -150%}
}
@keyframes marquee {
  0%{left:100%}
  100%{left: -150%}
}

.marquee {
  height: 60px;

  overflow: hidden;
  position: relative;
}

.marquee div {
  width: 200%;
  height: 30px;
  
  position: absolute;
  overflow: hidden;

  -webkit-animation: marquee 8s linear infinite;
  -moz-animation: marquee 8s linear infinite;
  -ms-animation: marquee 8s linear infinite;
  -o-animation: marquee 8s linear infinite;
  animation: marquee 8s linear infinite;
}