36 lines
703 B
CSS
36 lines
703 B
CSS
.diagonal-section-left {
|
|
position: absolute;
|
|
clip-path: polygon(0 0, 85vw 0, 60vw 100%, 0 100%);
|
|
background-color: rgb(104, 255, 0, 0.39);
|
|
transition: clip-path 0.5s ease;
|
|
}
|
|
|
|
.diagonal-section-left:has(.projectImage:hover) {
|
|
clip-path: polygon(0 0, 87vw 0, 58vw 100%, 0 100%);
|
|
transition: clip-path 0.5s ease;
|
|
}
|
|
|
|
.projectImageLeft {
|
|
width: 33vw;
|
|
height: auto;
|
|
margin: 3vw;
|
|
}
|
|
|
|
.projectTextRight {
|
|
position: relative;
|
|
z-index: 1;
|
|
margin-left: 50vw;
|
|
}
|
|
|
|
.projectHeaderRight {
|
|
margin: 0;
|
|
color: rgb(212, 212, 212);
|
|
font-size: 4vw;
|
|
}
|
|
|
|
.projectDescriptionRight {
|
|
margin: 0;
|
|
color: rgb(212, 212, 212);
|
|
font-size: 2vw;
|
|
width: 40vw;
|
|
} |