Code optimization and fixes
This commit is contained in:
@@ -33,10 +33,11 @@
|
||||
|
||||
// Photo
|
||||
&--photo {
|
||||
position: absolute;
|
||||
background-color: $color-primary;
|
||||
overflow: hidden;
|
||||
box-shadow: 0 16px 56px rgba(#2E025C, 0.7);
|
||||
position: absolute;
|
||||
display: block;
|
||||
background-color: $color-primary;
|
||||
box-shadow: 0 15px 60px rgba(#000, 0.3);
|
||||
transition: transform 600ms $ease-quart;
|
||||
|
||||
@include breakpoint (sm) {
|
||||
@@ -47,7 +48,7 @@
|
||||
display: block;
|
||||
height: auto;
|
||||
width: 100%;
|
||||
opacity: 0.55;
|
||||
opacity: 0.6;
|
||||
transition: opacity 600ms $ease-quart;
|
||||
}
|
||||
|
||||
|
||||
@@ -143,8 +143,11 @@
|
||||
.photo {
|
||||
display: flex;
|
||||
flex-direction: column-reverse;
|
||||
margin-bottom: 72px;
|
||||
margin-bottom: 40px;
|
||||
|
||||
@include breakpoint (m) {
|
||||
margin-bottom: pxVW(176);
|
||||
}
|
||||
@include breakpoint (md) {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user