Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions assets/slides.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,31 @@
@import "nord.css";

.glowing {
animation: glowing 5000ms infinite;
animation-timing-function: ease;
}

@keyframes glowing {
0% {
color: var(--nord1);
font-size: 55px;
text-shadow: 0 0 1px var(--nord3);
transform: rotate(0deg);
}
50% {
color: var(--nord8);
font-size: 250px;
text-shadow: 0 0 40px var(--nord3);
transform: rotate(360deg);
}
100% {
color: var(--nord1);
font-size: 55px;
text-shadow: 0 0 1px var(--nord3);
transform: rotate(720deg);
}
}

html {
font-size: 16px;
}
Expand Down
27 changes: 0 additions & 27 deletions week-04/css.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,35 +3,8 @@
<head>
<title>CSS Basics</title>
<meta charset="utf-8">

<link rel="stylesheet" href="../assets/slides.css" />

<style type="text/css">
.glowing {
animation: glowing 5000ms infinite;
animation-timing-function: ease;
}
@keyframes glowing {
0% {
color: var(--nord1);
font-size: 55px;
text-shadow: 0 0 1px var(--nord3);
transform: rotate(0deg);
}
50% {
color: var(--nord8);
font-size: 250px;
text-shadow: 0 0 40px var(--nord3);
transform: rotate(360deg);
}
100% {
color: var(--nord1);
font-size: 55px;
text-shadow: 0 0 1px var(--nord3);
transform: rotate(720deg);
}
}
</style>
</head>
<body>
<textarea id="source">
Expand Down