* fix: restructure certifications guide articles * fix: added 3 dashes line before prob expl * fix: added 3 dashes line before hints * fix: added 3 dashes line before solutions
543 B
543 B
title
title |
---|
Use the CSS Transform Property skewY to Skew an Element Along the Y-Axis |
Use the CSS Transform Property skewY to Skew an Element Along the Y-Axis
Solutions
Solution 1 (Click to Show/Hide)
<style>
div {
width: 70%;
height: 100px;
margin: 50px auto;
}
#top {
background-color: red;
transform: skewY(-10deg);
}
#bottom {
background-color: blue;
transform: skewX(24deg);
}
</style>
<div id="top"></div>
<div id="bottom"></div>