<html>
<head>
<style>
#myDIV {
background-color: lightblue;
border: 1px solid black;
animation: mymove 5s infinite;
}
@keyframes mymove {
50% {padding-inline: 20%;}
}
</style>
</head>
<body>
<h1>Animation of padding-inline</h1>
<p>Gradually change the padding-inline from 0% to 20%, and back to 0%:<p>
<div id="myDIV">
Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat...
</div>
</body>
<!-- Mirrored from www.w3schools.com/cssref/tryit.php?filename=trycss_anim_padding-inline by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 21 Dec 2022 16:50:31 GMT -->
</html>