opinions section finished
This commit is contained in:
1 parent
cc230a89e4
commit
36af371d22
6 files changed
+128
-13
No files matched your search
@@ -323,7 +323,7 @@ body {
|
||||
width: 75%;
|
||||
margin: 0 auto;
|
||||
box-shadow: 0 3rem 6rem rgba(0, 0, 0, 0.1);
|
||||
background-color: #fff;
|
||||
background-color: rgba(255, 255, 255, 0.6);
|
||||
border-radius: 3px;
|
||||
padding: 6rem;
|
||||
padding-left: 9rem;
|
||||
@@ -339,11 +339,47 @@ body {
|
||||
shape-outside: circle(50% at 50% 50%);
|
||||
-webkit-clip-path: circle(50% at 50% 50%);
|
||||
clip-path: circle(50% at 50% 50%);
|
||||
transform: translateX(-3rem) skewX(12deg); }
|
||||
transform: translateX(-3rem) skewX(12deg);
|
||||
position: relative; }
|
||||
.story__img {
|
||||
height: 100%; }
|
||||
height: 100%;
|
||||
transform: translateX(-4rem) scale(1.4);
|
||||
backface-visibility: hidden;
|
||||
transition: all .5s; }
|
||||
.story__text {
|
||||
transform: skewX(12deg); }
|
||||
.story__caption {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, 20%);
|
||||
color: #fff;
|
||||
text-transform: uppercase;
|
||||
font-size: 1.7rem;
|
||||
text-align: center;
|
||||
opacity: 0;
|
||||
transition: all .5s;
|
||||
backface-visibility: hidden; }
|
||||
.story:hover .story__caption {
|
||||
opacity: 1;
|
||||
transform: translate(-50%, -50%); }
|
||||
.story:hover .story__img {
|
||||
transform: translateX(-4rem) scale(1);
|
||||
filter: blur(3px) brightness(80%); }
|
||||
|
||||
.bg-video {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
z-index: -1;
|
||||
opacity: .15;
|
||||
overflow: hidden; }
|
||||
.bg-video__content {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
object-fit: cover; }
|
||||
|
||||
.header {
|
||||
height: 95vh;
|
||||
@@ -421,5 +457,5 @@ body {
|
||||
margin-top: -10rem; }
|
||||
|
||||
.section-stories {
|
||||
padding: 15rem 0;
|
||||
background-color: #f7f7f7; }
|
||||
position: relative;
|
||||
padding: 15rem 0; }
|
||||
Reference in new issue
Block a user