assignment a4

This commit is contained in:
Joey Eamigh
2024-11-11 23:03:20 -05:00
parent f455c13731
commit b3bc3f558e
24 changed files with 3647 additions and 1 deletions

View File

@@ -0,0 +1,35 @@
@import 'shared.css';
html,
body {
height: 100%;
width: 100%;
}
body {
position: relative;
}
div {
height: 128px;
width: 128px;
background-color: red;
position: absolute;
top: calc(50% - 64px);
left: calc(50% - 64px);
&:hover,
&:focus {
animation: move 10s ease-in-out both;
}
}
@keyframes move {
0% {
}
100% {
top: 0;
left: 0;
}
}