selector.sass 866 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. .selector
  2. width: 100vw
  3. min-height: 100vh
  4. margin: 0px
  5. padding: 0px
  6. display: flex
  7. flex-direction: row
  8. align-items: center
  9. justify-content: center
  10. gap: 50px
  11. background-color: $background-color
  12. div
  13. max-width: 300px
  14. border-radius: $padding
  15. padding: $padding
  16. box-sizing: border-box
  17. border: $border
  18. color: $primary-color
  19. transition: border-color 0.5s, transform 0.5s, color 0.5s
  20. display: flex
  21. flex-direction: column
  22. align-items: center
  23. justify-content: center
  24. p
  25. font-weight: 700
  26. font-size: 1.5em
  27. img
  28. width: 100%
  29. @media (max-width: 800px)
  30. flex-direction: column
  31. div:hover
  32. transform: scale(1.1)
  33. border-color: $content-color
  34. color: $content-color