Skip to content

Commit

Permalink
Update style.css
Browse files Browse the repository at this point in the history
  • Loading branch information
erhuodaosi authored Aug 8, 2024
1 parent 30e34df commit b8c9eaa
Showing 1 changed file with 15 additions and 14 deletions.
29 changes: 15 additions & 14 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -64,23 +64,9 @@ h2 {
transition: opacity 1s ease-in-out;
}

.memory-wrapper::before {
content: '';
position: absolute;
left: -50%;
top: -50%;
width: 200%;
height: 200%;
border-radius: 15px;
background-image: conic-gradient(transparent, #ff1493);
z-index: -2;
animation: rotation 4s linear infinite;
}

.memory-wrapper {
overflow: hidden;
position: relative;
border-radius: 15px;
}

.memory-wrapper::after{
Expand Down Expand Up @@ -294,6 +280,21 @@ h2 {
border: 2px solid #ff69b4;
border-radius: 15px;
padding-bottom: 20px;
position: relative;
overflow: hidden;
}

.typing::before {
content: '';
position: absolute;
left: -50%;
top: -50%;
width: 200%;
height: 200%;
border-radius: 15px;
background-image: conic-gradient(transparent, #ff1493);
z-index: -2;
animation: rotation 4s linear infinite;
}

/* 初始状态 */
Expand Down

0 comments on commit b8c9eaa

Please sign in to comment.