summaryrefslogtreecommitdiff
path: root/sass/components/_project-container.scss
blob: 41ef5504de083b301a7f34dbfb2213bba11822ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
@use "../abstracts/" as *;

.project-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;

  // mobile to smaller laptop screen sizes
  @include responsive(laptop) {
    @include flex-column-center;
    gap: 5rem;

    /* 
    important for second project, otherwise screenshot below text-container;
    could be done with separate class for 2nd project and flex-dir: col-reverse for media query too
    */
    & > img {
      order: -1;
    }
  }
}