forked from Gitlink/forgeplus-react
169 lines
3.6 KiB
SCSS
169 lines
3.6 KiB
SCSS
.home-third-section {
|
|
color: #fff;
|
|
background: linear-gradient(
|
|
#0037AF 0%,
|
|
#2951DA 100%,
|
|
);
|
|
text-align: center;
|
|
// #041670 0%,
|
|
|
|
.ball-background{
|
|
background: url(../img/3-ballBg.png) no-repeat;
|
|
background-size: 100% 100%;
|
|
}
|
|
.third-tit {
|
|
padding-top: 1.75em;
|
|
color: #fff;
|
|
font-size: 2em;
|
|
}
|
|
|
|
.third-main {
|
|
display: flex;
|
|
justify-content: space-around;
|
|
max-width: 100%;
|
|
margin: 10vh auto;
|
|
}
|
|
|
|
.circle-item > h4 {
|
|
margin-top: 1.25em;
|
|
color: #fff;
|
|
font-weight: 600;
|
|
font-size: 1.15rem;
|
|
}
|
|
|
|
.circle-item-box {
|
|
position: relative;
|
|
width: 10.25em;
|
|
height: 10.25em;
|
|
box-sizing: border-box;
|
|
padding: .25em;
|
|
border-radius: 50%;
|
|
background-image: linear-gradient(
|
|
to bottom right,
|
|
rgba(255, 255, 255, 0.63) 0%,
|
|
rgba(55, 236, 255, 0.56) 33%,
|
|
rgba(255, 255, 255, 0.42) 67%,
|
|
rgba(255, 255, 255, 0.45) 100%
|
|
);
|
|
}
|
|
|
|
.circle-item-num {
|
|
position: relative;
|
|
display: inline-flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
width: 100%;
|
|
height: 100%;
|
|
border-radius: 50%;
|
|
background: #12277b;
|
|
font-size: 3em;
|
|
font-weight: 600;
|
|
span {
|
|
background-image: -webkit-linear-gradient(bottom, red, #fd8403, yellow);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
}
|
|
|
|
&::before {
|
|
position: absolute;
|
|
left: -5%;
|
|
top: -5%;
|
|
content: "";
|
|
background-image: url(../img/3-dashCircle.png);
|
|
width: 110%;
|
|
height: 110%;
|
|
background-position: center center;
|
|
background-size: cover;
|
|
background-repeat: no-repeat;
|
|
z-index: 9;
|
|
opacity: 1;
|
|
visibility: hidden;
|
|
}
|
|
|
|
&:hover::before{
|
|
visibility: visible;
|
|
animation: dashCircle infinite 4s linear;
|
|
}
|
|
}
|
|
|
|
.circle-item:nth-child(2) {
|
|
.circle-item-box {
|
|
background-image: linear-gradient(
|
|
to bottom left,
|
|
rgba(255, 255, 255, 0.88) 0%,
|
|
rgba(7, 188, 207, 0.56) 33%,
|
|
rgba(255, 255, 255, 0.16) 67%,
|
|
rgba(255, 255, 255, 1) 100%
|
|
);
|
|
}
|
|
span {
|
|
background-image: -webkit-linear-gradient(bottom, #f5f65b, #15ccf6);
|
|
}
|
|
}
|
|
|
|
.circle-item:nth-child(3) {
|
|
.circle-item-box {
|
|
background-image: linear-gradient(
|
|
to bottom left,
|
|
rgba(255, 255, 255, 1) 0%,
|
|
rgba(255, 255, 255, 0.16) 0%,
|
|
rgba(7, 188, 207, 0.56) 33%,
|
|
rgba(255, 255, 255, 0.88) 100%
|
|
);
|
|
}
|
|
span {
|
|
background-image: -webkit-linear-gradient(bottom, #bad3ff, #00a0dd);
|
|
}
|
|
}
|
|
|
|
.circle-item:nth-child(4) {
|
|
.circle-item-box {
|
|
background-image: linear-gradient(
|
|
to bottom left,
|
|
rgba(255, 255, 255, 0.88) 0%,
|
|
rgba(7, 188, 207, 0.56) 33%,
|
|
rgba(255, 255, 255, 0.16) 67%,
|
|
rgba(255, 255, 255, 1) 100%
|
|
);
|
|
}
|
|
span {
|
|
background-image: -webkit-linear-gradient(bottom, #f0a3ff, #b33dff);
|
|
}
|
|
}
|
|
|
|
.circle-item:nth-child(5) {
|
|
.circle-item-box {
|
|
background-image: linear-gradient(
|
|
to bottom left,
|
|
rgba(255, 255, 255, 0.45) 0%,
|
|
rgba(7, 188, 207, 0.56) 33%,
|
|
rgba(255, 255, 255, 0.16) 67%,
|
|
rgba(255, 255, 255, 1) 100%
|
|
);
|
|
}
|
|
span {
|
|
background-image: -webkit-linear-gradient(bottom, #08ece1, #ff7e3d);
|
|
}
|
|
}
|
|
|
|
.circle-item .circle-item-box {
|
|
&:hover{
|
|
background:rgba(255, 255, 255, 0);
|
|
}
|
|
}
|
|
|
|
.waves{
|
|
position: relative;
|
|
bottom: -1.5vh;
|
|
}
|
|
|
|
@keyframes dashCircle {
|
|
0% {
|
|
transform: rotate(0deg);
|
|
}
|
|
100% {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
}
|