Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
OrganizationAdvent CalendarQiitadon (β)
Qiita JobsQiita ZineQiita Blog
Help us understand the problem. What is going on with this article?

よく見る簡単な css animation tips[初心者向け]

More than 1 year has passed since last update.
  <meta charset="utf-8"/>
  <link rel="stylesheet" type="text/css" href="./assets/css/pc.css">
  <p class="label"><span>ラベルが入ります。</span></p>
span {
 position: relative;
 display: inline-block;

span:before {
 content: '';
 position: absolute;
 background-color: black;
 animation: revealLTR 1s ease;
 height: 100%;

@keyframes revealLTR {
  width: 0;
  left: 0;
  width: 100%;
  left: 0;
 100% {
  width: 0;
  left: 100%;



Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away