Skip to content

Commit fea1063

Browse files
✨ [css] Add blinking animation snippet
1 parent ef24250 commit fea1063

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
title: Blink Animation
3+
description: Adds an infinite blinking animation to an element
4+
author: AlsoKnownAs-Ax
5+
tags: css,animation
6+
---
7+
8+
```css
9+
.parent {
10+
animation: blink 1s linear infinite;
11+
}
12+
13+
@keyframes blink{
14+
0%{
15+
opacity: 0;
16+
}
17+
50%{
18+
opacity: 1;
19+
}
20+
100%{
21+
opacity: 0;
22+
}
23+
}
24+
```

0 commit comments

Comments
 (0)