Question
5.10 (Skew) Modify the skew example below to skew the element top to bottom 30 deg then left to right 30 deg, alternating infinitely. Martin
5.10 (Skew) Modify the skew example below to skew the element top to bottom 30 deg then left to right 30 deg, alternating infinitely.
.skew .textbox
{
margin-left: 75px;
background:lightgreen;
height: 100px;
width: 200px;
padding: 25px 0;
text-align: center;
font-size: 250%;
border: 3px solid DarkGreen;
border-radius: 15px;
-webkit-animation: skew 3s infinite linear;
-moz-animation: skew 3s infinite linear;
animation: skew 3s infinite linear;
}
@-webkit-keyframes skew
{
from { -webkit-transform: skewX(0deg); }
25% { -webkit-transform: skewX(45deg); }
50% { -webkit-transform: skewX(0); }
75% { -webkit-transform: skewX(-45deg); }
to { -webkit-transform: skewX(0); }
}
@-moz-keyframes skew
{
from { -webkit-transform: skewX(0deg); }
25% { -webkit-transform: skewX(45deg); }
50% { -webkit-transform: skewX(0); }
75% { -webkit-transform: skewX(-45deg); }
to { -webkit-transform: skewX(0); }
}
@-keyframes skew
{
from { -webkit-transform: skewX(0deg); }
25% { -webkit-transform: skewX(45deg); }
50% { -webkit-transform: skewX(0); }
75% { -webkit-transform: skewX(-45deg); }
to { -webkit-transform: skewX(0); }
}
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started