.square1 {
height: 20px;
width: 20px;
margin-top: 20px;
margin-right: 50px;
transition: 1s;
}
.firkant1 {
background-color: #AE56E8;
}
.firkant2 {
background-color: lightblue;
}
.firkant3 {
background-color: lightgreen;
}
.firkant4 {
background-color: yellow;
}
.firkant5 {
background-color: orange;
}
.firkant6 {
background-color: magenta;
}
.firkant7 {
background-color: #EB086D;
}.hovedBoks2 {
height: 70px;
width: 550px;
margin-left: 20%;
display: flex;
}.square2 {
height: 20px;
width: 20px;
margin-top: 20px;
margin-right: 50px;
transform: scale(200%,200%);
} .square3 {
height: 20px;
width: 20px;
margin-top: 20px;
margin-right: 50px;
border-radius: 2px;
transform: scale(325%,325%);
} .grow1 {
animation: big1 2s linear infinite;
animation-delay: 0.2s;
}
.grow2 {
animation: big1 2s linear infinite;
animation-delay: 0.4s;
}
.grow3 {
animation: big1 2s linear infinite;
animation-delay: 0.6s;
}
.grow4 {
animation: big1 2s linear infinite;
animation-delay: 0.8s;
}
.grow5 {
animation: big1 2s linear infinite;
animation-delay: 1s;
}
.grow6 {
animation: big1 2s linear infinite;
animation-delay: 1.2s;
}
.grow7 {
animation: big1 2s linear infinite;
animation-delay: 1.4s;
}
.grow8 {
animation: big1 2s linear infinite;
animation-delay: 1.6s;
}
.grow9 {
animation: big1 2s linear infinite;
animation-delay: 1.8s;
}
.grow10 { /*skal matche grow1 */
animation: big2 2s linear infinite;
animation-delay: 0.2s;
}
.grow11 { /*skal matche grow2 */
animation: big2 2s linear infinite;
animation-delay: 0.4s;
}
.grow12 { /*skal matche grow3 */
animation: big2 2s linear infinite;
animation-delay: 0.6s;
}
.grow13 { /*skal matche grow7 */
animation: big2 2s linear infinite;
animation-delay: 1.4s;
}@keyframes big1 {
0% {transform: scale(100%,100%);}
20% {transform: scale(350%,350%);border-radius: 2px;}
40% {transform: scale(100%,100%);}
100% {transform: scale(100%,100%);}
}
@keyframes big2 {
0% {transform: scale(200%,200%);}
20% {transform: scale(350%,350%);border-radius: 2px;}
80% {transform: scale(200%,200%);}
100% {transform: scale(200%,200%);}
}