Basically I have an animation that, no matter what I did, did not work in Firefox. So i decided to create an animation to work solely in, and tailored solely for, firefox.
@media (max-width: 768px).
{.fptext {-moz-
animation:moz
30s ease forwards
}}
@keyframes moz{
from {font-size: 0px;} to
{font-size: 1px;}}
<div class="fptext"></div>
The problem comes in positioning the element. Any positioning would effect other browsers. It's easy to do defining just the animation because I have selector -moz-animation
, but is there a way of defining width, height, margin etc just for Firefox?