কম্পিউটার টিউটোরিয়াল

CSS text-decoration-color প্রপার্টি অ্যানিমেট করুন


CSS-এ text-decoration-color প্রপার্টিতে অ্যানিমেশন প্রয়োগ করতে নিচের কোডটি চালান:

উদাহরণ

<!DOCTYPE html>
<html>
  <head>
    <style>
      #demo {
        position: absolute;
        right: 0;
        width: 300px;
        height: 200px;
        background-color: blue;
        text-decoration: underline;
        animation: myanim 3s infinite;
      }
      @keyframes myanim {
        30% {
          right: 350px;
          text-decoration-color: orange;
        }
      }
    </style>
  </head>
  <body>
    <h1>CSS text-decoration-color প্রপার্টি</h1>
    <div id="demo">
      <h1>This is demo text.</h1>
    </div>
  </body>
</html>

  1. CSS outline-offset প্রপার্টি অ্যানিমেট করুন

  2. CSS text-decoration-color প্রপার্টি অ্যানিমেট করুন

  3. CSS z-index প্রপার্টি অ্যানিমেট করুন

  4. CSS width প্রপার্টি অ্যানিমেট করুন