39 lines
757 B
CSS
39 lines
757 B
CSS
.diagonal-section-right {
|
|
position: absolute;
|
|
clip-path: polygon(40vw 0, 100% 0, 100% 100%, 15vw 100%);
|
|
background-color: rgb(104, 255, 0, 0.39);
|
|
transition: clip-path 0.5s ease;
|
|
}
|
|
|
|
.diagonal-section-right:has(.projectImage:hover) {
|
|
clip-path: polygon(42vw 0, 100% 0, 100% 100%, 13vw 100%);
|
|
transition: clip-path 0.5s ease;
|
|
}
|
|
|
|
.projectImageRight {
|
|
width: 33vw;
|
|
height: auto;
|
|
margin: 3vw;
|
|
float: right;
|
|
}
|
|
|
|
.projectTextLeft {
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.projectHeaderLeft {
|
|
margin: 0;
|
|
color: rgb(212, 212, 212);
|
|
font-size: 4vw;
|
|
margin-left: 10vw;
|
|
}
|
|
|
|
.projectDescriptionLeft {
|
|
margin: 0;
|
|
color: rgb(212, 212, 212);
|
|
font-size: 2vw;
|
|
width: 40vw;
|
|
margin-left: 10vw;
|
|
}
|