diff --git a/src/styles/components/_main.scss b/src/styles/components/_main.scss index c57fa66ce0..93d9a36384 100644 --- a/src/styles/components/_main.scss +++ b/src/styles/components/_main.scss @@ -13,11 +13,6 @@ align-items: center; padding: 50px 40px; - &:hover .cards__laptop-titel { - transform: scale(1.2); - color: #34568b; - } - &__laptop { width: 200px; background-color: var.$color__white; @@ -129,3 +124,8 @@ grid-template-columns: repeat(4, 200px); } } + +.cards__laptop:hover .cards__laptop-titel { + transform: scale(1.2); + color: #34568b; +}