created 3 blocks
This commit is contained in:
@@ -0,0 +1,83 @@
|
||||
.service {
|
||||
&_title {
|
||||
width: 531px;
|
||||
|
||||
font: {
|
||||
size: 35px;
|
||||
weight: 600;
|
||||
}
|
||||
|
||||
text-transform: uppercase;
|
||||
color:var(--main-text-color);
|
||||
margin: 50px 50px;
|
||||
}
|
||||
|
||||
&-item {
|
||||
|
||||
/* position: relative;
|
||||
&::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: {
|
||||
size: cover;
|
||||
position: center;
|
||||
image: url('../assets/services/1.png');
|
||||
}
|
||||
filter: brightness(28%);
|
||||
z-index: 1;
|
||||
}
|
||||
*/
|
||||
&:hover {
|
||||
/*
|
||||
&::before {
|
||||
filter: brightness(66%);
|
||||
}
|
||||
*/
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
height: 800px;
|
||||
|
||||
&_content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: flex-end;
|
||||
backdrop-filter: brightness(28%);
|
||||
height: 100%;
|
||||
&:hover {
|
||||
backdrop-filter: brightness(66%);
|
||||
}
|
||||
|
||||
.left-border {
|
||||
border-left: 2px solid #fff;
|
||||
height: 242px;
|
||||
margin-left: 56px;
|
||||
}
|
||||
}
|
||||
|
||||
&_num {
|
||||
font: {
|
||||
size: 30px;
|
||||
weight: 800;
|
||||
}
|
||||
|
||||
color:#fff;
|
||||
}
|
||||
|
||||
&_title {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
p {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
&_link {
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user